| 1 |
; RUN: not llc --global-isel %s -filetype=null 2>&1 | FileCheck %s |
| 2 |
target triple = "spirv64" |
| 3 |
|
| 4 |
define void @do_store(ptr addrspace(9) %a) { |
| 5 |
; CHECK: unable to legalize instruction: G_STORE %{{.*}}:iid(s32), %{{.*}}:pid(p9) |
| 6 |
store i32 5, ptr addrspace(9) %a |
| 7 |
ret void |
| 8 |
} |