summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-12-27 06:18:48 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-12-27 06:18:48 +0000
commit0b3661b7cef287831171b51ec22081f8aa91981f (patch)
tree49d014c92edea20cbec7e8ddf0e4d2eca51238df /llvm/test/CodeGen/X86
parentc86e9b79b8951a5c93f7b1f4da961d20bb4c81fd (diff)
downloadbcm5719-llvm-0b3661b7cef287831171b51ec22081f8aa91981f.tar.gz
bcm5719-llvm-0b3661b7cef287831171b51ec22081f8aa91981f.zip
Try to passify buildbot
llvm-svn: 256458
Diffstat (limited to 'llvm/test/CodeGen/X86')
-rw-r--r--llvm/test/CodeGen/X86/inline-asm-2addr.ll11
1 files changed, 10 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/inline-asm-2addr.ll b/llvm/test/CodeGen/X86/inline-asm-2addr.ll
index 4a2c7fc5eba..c5d96415616 100644
--- a/llvm/test/CodeGen/X86/inline-asm-2addr.ll
+++ b/llvm/test/CodeGen/X86/inline-asm-2addr.ll
@@ -1,9 +1,18 @@
-; RUN: llc < %s -march=x86-64 | not grep movq
+; RUN: llc < %s -march=x86-64 | FileCheck %s
define i64 @t(i64 %a, i64 %b) nounwind ssp {
entry:
+; CHECK-LABEL: t:
%asmtmp = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %a) nounwind ; <i64> [#uses=1]
+; CHECK: #APP
+; CHECK-NEXT: rorq %[[REG1:.*]]
+; CHECK-NEXT: #NO_APP
%asmtmp1 = tail call i64 asm "rorq $1,$0", "=r,J,0,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 1, i64 %b) nounwind ; <i64> [#uses=1]
+; CHECK-NEXT: #APP
+; CHECK-NEXT: rorq %[[REG2:.*]]
+; CHECK-NEXT: #NO_APP
%0 = add i64 %asmtmp1, %asmtmp ; <i64> [#uses=1]
+; CHECK-NEXT: leaq (%[[REG2]],%[[REG1]]), %rax
ret i64 %0
+; CHECK-NEXT: retq
}
OpenPOWER on IntegriCloud