diff options
Diffstat (limited to 'test/CodeGen/R600/trunc-store-i1.ll')
-rw-r--r-- | test/CodeGen/R600/trunc-store-i1.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/R600/trunc-store-i1.ll b/test/CodeGen/R600/trunc-store-i1.ll index 0e6f49daf6f..3c1b19fb021 100644 --- a/test/CodeGen/R600/trunc-store-i1.ll +++ b/test/CodeGen/R600/trunc-store-i1.ll @@ -2,10 +2,10 @@ ; SI-LABEL: {{^}}global_truncstore_i32_to_i1: -; SI: S_LOAD_DWORD [[LOAD:s[0-9]+]], -; SI: S_AND_B32 [[SREG:s[0-9]+]], [[LOAD]], 1 -; SI: V_MOV_B32_e32 [[VREG:v[0-9]+]], [[SREG]] -; SI: BUFFER_STORE_BYTE [[VREG]], +; SI: s_load_dword [[LOAD:s[0-9]+]], +; SI: s_and_b32 [[SREG:s[0-9]+]], [[LOAD]], 1 +; SI: v_mov_b32_e32 [[VREG:v[0-9]+]], [[SREG]] +; SI: buffer_store_byte [[VREG]], define void @global_truncstore_i32_to_i1(i1 addrspace(1)* %out, i32 %val) nounwind { %trunc = trunc i32 %val to i1 store i1 %trunc, i1 addrspace(1)* %out, align 1 @@ -13,7 +13,7 @@ define void @global_truncstore_i32_to_i1(i1 addrspace(1)* %out, i32 %val) nounwi } ; SI-LABEL: {{^}}global_truncstore_i64_to_i1: -; SI: BUFFER_STORE_BYTE +; SI: buffer_store_byte define void @global_truncstore_i64_to_i1(i1 addrspace(1)* %out, i64 %val) nounwind { %trunc = trunc i64 %val to i1 store i1 %trunc, i1 addrspace(1)* %out, align 1 @@ -21,10 +21,10 @@ define void @global_truncstore_i64_to_i1(i1 addrspace(1)* %out, i64 %val) nounwi } ; SI-LABEL: {{^}}global_truncstore_i16_to_i1: -; SI: S_LOAD_DWORD [[LOAD:s[0-9]+]], -; SI: S_AND_B32 [[SREG:s[0-9]+]], [[LOAD]], 1 -; SI: V_MOV_B32_e32 [[VREG:v[0-9]+]], [[SREG]] -; SI: BUFFER_STORE_BYTE [[VREG]], +; SI: s_load_dword [[LOAD:s[0-9]+]], +; SI: s_and_b32 [[SREG:s[0-9]+]], [[LOAD]], 1 +; SI: v_mov_b32_e32 [[VREG:v[0-9]+]], [[SREG]] +; SI: buffer_store_byte [[VREG]], define void @global_truncstore_i16_to_i1(i1 addrspace(1)* %out, i16 %val) nounwind { %trunc = trunc i16 %val to i1 store i1 %trunc, i1 addrspace(1)* %out, align 1 |