summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/trunc.ll
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-11-17 16:41:49 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-11-17 16:41:49 +0000
commit0a1a7b6b23a415629c2a478bb7abdaf7aa4cc173 (patch)
tree532a16b5cea9155255d9b0cf0e266aa4e0350a5c /llvm/test/CodeGen/AMDGPU/trunc.ll
parent4c3322cc843c6233e78a123259808eeb37198aa9 (diff)
downloadbcm5719-llvm-0a1a7b6b23a415629c2a478bb7abdaf7aa4cc173.tar.gz
bcm5719-llvm-0a1a7b6b23a415629c2a478bb7abdaf7aa4cc173.zip
Revert "AMDGPU: Enable ConstrainCopy DAG mutation"
This reverts commit r287146. This breaks few conformance tests. llvm-svn: 287233
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/trunc.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/trunc.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/trunc.ll b/llvm/test/CodeGen/AMDGPU/trunc.ll
index 0f243493d89..63bb447df2f 100644
--- a/llvm/test/CodeGen/AMDGPU/trunc.ll
+++ b/llvm/test/CodeGen/AMDGPU/trunc.ll
@@ -35,12 +35,11 @@ define void @trunc_load_shl_i64(i32 addrspace(1)* %out, i64 %a) {
; SI: s_load_dwordx2 s{{\[}}[[LO_SREG:[0-9]+]]:{{[0-9]+\]}}, s{{\[[0-9]+:[0-9]+\]}}, 0xd
; SI: s_lshl_b64 s{{\[}}[[LO_SHL:[0-9]+]]:{{[0-9]+\]}}, s{{\[}}[[LO_SREG]]:{{[0-9]+\]}}, 2
; SI: s_add_u32 s[[LO_SREG2:[0-9]+]], s[[LO_SHL]],
+; SI: v_mov_b32_e32 v[[LO_VREG:[0-9]+]], s[[LO_SREG2]]
; SI: s_addc_u32
-; SI: v_mov_b32_e32 v[[LO_VREG0:[0-9]+]], s[[LO_SREG2]]
-; SI: v_mov_b32_e32 v[[LO_VREG1:[0-9]+]], s[[LO_SREG2]]
+; SI: buffer_store_dword v[[LO_VREG]],
+; SI: v_mov_b32_e32
; SI: v_mov_b32_e32
-; SI: buffer_store_dword v[[LO_VREG1]],
-; SI: buffer_store_dwordx2 v{{\[}}[[LO_VREG0]]:
define void @trunc_shl_i64(i64 addrspace(1)* %out2, i32 addrspace(1)* %out, i64 %a) {
%aa = add i64 %a, 234 ; Prevent shrinking store.
%b = shl i64 %aa, 2
OpenPOWER on IntegriCloud