summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/literals.ll
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-07-31 19:31:56 +0000
committerVincent Lejeune <vljn@ovi.com>2013-07-31 19:31:56 +0000
commit98ce62780ea7185ba710868bf83c8077e8d7f6d6 (patch)
tree639ca4cbedb749ce5b4969fa112df1dbe35f6cd9 /test/CodeGen/R600/literals.ll
parenta92f8ee2f3ee12d26f6ed0720c763021cfa22ca8 (diff)
downloadllvm-98ce62780ea7185ba710868bf83c8077e8d7f6d6.tar.gz
llvm-98ce62780ea7185ba710868bf83c8077e8d7f6d6.tar.bz2
llvm-98ce62780ea7185ba710868bf83c8077e8d7f6d6.tar.xz
R600: Non vector only instruction can be scheduled on trans unit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/literals.ll')
-rw-r--r--test/CodeGen/R600/literals.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/R600/literals.ll b/test/CodeGen/R600/literals.ll
index 77b168ebde..9f4660ab8d 100644
--- a/test/CodeGen/R600/literals.ll
+++ b/test/CodeGen/R600/literals.ll
@@ -7,7 +7,8 @@
; ADD_INT literal.x KC0[2].Z, 5
; CHECK: @i32_literal
-; CHECK: ADD_INT * T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.x
+; CHECK: ADD_INT T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.x
+; CHECK-NEXT: LSHR
; CHECK-NEXT: 5
define void @i32_literal(i32 addrspace(1)* %out, i32 %in) {
entry:
@@ -23,7 +24,8 @@ entry:
; ADD literal.x KC0[2].Z, 5.0
; CHECK: @float_literal
-; CHECK: ADD * T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.x
+; CHECK: ADD T{{[0-9]\.[XYZW]}}, KC0[2].Z, literal.x
+; CHECK-NEXT: LSHR
; CHECK-NEXT: 1084227584(5.0
define void @float_literal(float addrspace(1)* %out, float %in) {
entry: