summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-03-17 17:03:51 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-03-17 17:03:51 +0000
commiteb7876083dcfb3a69264d14c130177ecf4fc4930 (patch)
tree39a0b31cbe859f1d25dfa72597e51413cb5eae1a /test
parent27b614fcd30c8fe80bc8f11f00d89c260a88fd74 (diff)
downloadllvm-eb7876083dcfb3a69264d14c130177ecf4fc4930.tar.gz
llvm-eb7876083dcfb3a69264d14c130177ecf4fc4930.tar.bz2
llvm-eb7876083dcfb3a69264d14c130177ecf4fc4930.tar.xz
R600/SI: Use correct dest register class for V_READFIRSTLANE_B32
This instructions writes to an 32-bit SGPR. This change required adding the 32-bit VCC_LO and VCC_HI registers, because the full VCC register is 64 bits. This fixes verifier errors on several of the indirect addressing piglit tests. Tested-by: Michel Dänzer <michel.daenzer@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/R600/private-memory.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/R600/private-memory.ll b/test/CodeGen/R600/private-memory.ll
index e22c718f31..4920320a53 100644
--- a/test/CodeGen/R600/private-memory.ll
+++ b/test/CodeGen/R600/private-memory.ll
@@ -13,10 +13,10 @@
; R600-CHECK-NOT: ALU clause
; R600-CHECK: 0 + AR.x
-; SI-CHECK: V_READFIRSTLANE
+; SI-CHECK: V_READFIRSTLANE_B32 vcc_lo
; SI-CHECK: V_MOVRELD
; SI-CHECK: S_CBRANCH
-; SI-CHECK: V_READFIRSTLANE
+; SI-CHECK: V_READFIRSTLANE_B32 vcc_lo
; SI-CHECK: V_MOVRELD
; SI-CHECK: S_CBRANCH
define void @mova_same_clause(i32 addrspace(1)* nocapture %out, i32 addrspace(1)* nocapture %in) {