summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2017-09-29 16:07:05 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2017-09-29 16:07:05 +0000
commitc2e79c2dfc07e1aba27946f22ea370cd5c130b04 (patch)
tree4612c8a172c6910db7751852ae6cde215d509574 /llvm
parent7805ce34b658f6c520a1be21079312650cef2e46 (diff)
downloadbcm5719-llvm-c2e79c2dfc07e1aba27946f22ea370cd5c130b04.tar.gz
bcm5719-llvm-c2e79c2dfc07e1aba27946f22ea370cd5c130b04.zip
AMDGPU: fix bad test exposed by r314522
The test attempts to use -1 as carry-in for v_addc_*. Before writing r314522, I did actually test this on real hardware, and found that it doesn't work. So r314522 is correct in restricting the carry-in operand: just remove those tests to make things pass again. llvm-svn: 314530
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/MC/AMDGPU/vop2.s8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/test/MC/AMDGPU/vop2.s b/llvm/test/MC/AMDGPU/vop2.s
index 5c2bd1c2e19..5b790dbf562 100644
--- a/llvm/test/MC/AMDGPU/vop2.s
+++ b/llvm/test/MC/AMDGPU/vop2.s
@@ -347,14 +347,6 @@ v_addc_u32 v1, s[0:1], v2, v3, s[2:3]
// VI: v_addc_u32_e64 v1, s[0:1], v2, v3, s[2:3] ; encoding: [0x01,0x00,0x1c,0xd1,0x02,0x07,0x0a,0x00]
v_addc_u32_e64 v1, s[0:1], v2, v3, s[2:3]
-// SI: v_addc_u32_e64 v1, s[0:1], v2, v3, -1 ; encoding: [0x01,0x00,0x50,0xd2,0x02,0x07,0x06,0x03]
-// VI: v_addc_u32_e64 v1, s[0:1], v2, v3, -1 ; encoding: [0x01,0x00,0x1c,0xd1,0x02,0x07,0x06,0x03]
-v_addc_u32_e64 v1, s[0:1], v2, v3, -1
-
-// SI: v_addc_u32_e64 v1, vcc, v2, v3, -1 ; encoding: [0x01,0x6a,0x50,0xd2,0x02,0x07,0x06,0x03]
-// VI: v_addc_u32_e64 v1, vcc, v2, v3, -1 ; encoding: [0x01,0x6a,0x1c,0xd1,0x02,0x07,0x06,0x03]
-v_addc_u32_e64 v1, vcc, v2, v3, -1
-
// SI: v_addc_u32_e64 v1, vcc, v2, v3, vcc ; encoding: [0x01,0x6a,0x50,0xd2,0x02,0x07,0xaa,0x01]
// VI: v_addc_u32_e64 v1, vcc, v2, v3, vcc ; encoding: [0x01,0x6a,0x1c,0xd1,0x02,0x07,0xaa,0x01]
v_addc_u32_e64 v1, vcc, v2, v3, vcc
OpenPOWER on IntegriCloud