From 6b577e26f0c41331fea19ea3e7e5f34524f1b663 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 13 Jan 2015 19:43:45 +0000 Subject: 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 --- llvm/test/CodeGen/PowerPC/asm-constraints.ll | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'llvm/test/CodeGen/PowerPC/asm-constraints.ll') 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 } -- cgit v1.2.3