summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/asm-constraints.ll
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-01-13 19:43:45 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-01-13 19:43:45 +0000
commit6b577e26f0c41331fea19ea3e7e5f34524f1b663 (patch)
tree970317dce70d7212d61d030083ac81bf81a89898 /llvm/test/CodeGen/PowerPC/asm-constraints.ll
parentc642e954023b38265d2c3df4ec3d9ba169b69048 (diff)
downloadbcm5719-llvm-6b577e26f0c41331fea19ea3e7e5f34524f1b663.tar.gz
bcm5719-llvm-6b577e26f0c41331fea19ea3e7e5f34524f1b663.zip
Use the integrated assembler as default on PowerPC
This was already done in clang, this commit now uses the integrated assembler as default when using LLVM tools directly. A number of test cases using inline asm had to be adapted, either by updating the expected output, or by using -no-integrated-as (for such tests that deliberately use an invalid instruction in inline asm). llvm-svn: 225819
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/asm-constraints.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/asm-constraints.ll9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/asm-constraints.ll b/llvm/test/CodeGen/PowerPC/asm-constraints.ll
index f354a8aa611..9bf8b75e0ac 100644
--- a/llvm/test/CodeGen/PowerPC/asm-constraints.ll
+++ b/llvm/test/CodeGen/PowerPC/asm-constraints.ll
@@ -30,10 +30,11 @@ entry:
}
; CHECK-LABEL: @foo
-; CHECK: ld [[REG:[0-9]+]],0(4)
-; CHECK-NEXT: cmpw [[REG]],[[REG]]
-; CHECK-NEXT: bne- 1f
-; CHECK-NEXT: 1: isync
+; CHECK: ld [[REG:[0-9]+]], 0(4)
+; CHECK: cmpw 0, [[REG]], [[REG]]
+; CHECK: bne- 0, .Ltmp[[TMP:[0-9]+]]
+; CHECK: .Ltmp[[TMP]]:
+; CHECK: isync
attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { nounwind }
OpenPOWER on IntegriCloud