summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-11-13 11:44:00 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-11-13 11:44:00 +0000
commit05d81d828690e0d64e7a57c704bf1c3092caf675 (patch)
tree2833d4ac445c86afa93ec128cfb6de40e0d20979 /llvm/test
parent4eb369fd4389b6ddb32b5badd480eabc9cea3dc0 (diff)
downloadbcm5719-llvm-05d81d828690e0d64e7a57c704bf1c3092caf675.tar.gz
bcm5719-llvm-05d81d828690e0d64e7a57c704bf1c3092caf675.zip
[mips][ias] Replace invalid assembly insn in test since IAS parses inline assembly.
This is NFC at the moment but will prevent this test from failing when IAS is the default. llvm-svn: 253033
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/Mips/inlineasm-assembler-directives.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/inlineasm-assembler-directives.ll b/llvm/test/CodeGen/Mips/inlineasm-assembler-directives.ll
index 88ceed4114c..9f6f1ebb285 100644
--- a/llvm/test/CodeGen/Mips/inlineasm-assembler-directives.ll
+++ b/llvm/test/CodeGen/Mips/inlineasm-assembler-directives.ll
@@ -10,14 +10,14 @@ entry:
; CHECK-NEXT: .set macro
; CHECK-NEXT: .set reorder
; CHECK: addi $9, ${{[2-9][0-9]?}}, 8
-; CHECK: subi ${{[2-9][0-9]?}}, $9, 6
+; CHECK: ori ${{[2-9][0-9]?}}, $9, 6
; CHECK: .set pop
; CHECK-NEXT: #NO_APP
%a = alloca i32, align 4
%b = alloca i32, align 4
store i32 20, i32* %a, align 4
%0 = load i32, i32* %a, align 4
- %1 = call i32 asm sideeffect "addi $$9, $1, 8\0A\09subi $0, $$9, 6", "=r,r,~{$1}"(i32 %0)
+ %1 = call i32 asm sideeffect "addi $$9, $1, 8\0A\09ori $0, $$9, 6", "=r,r,~{$1}"(i32 %0)
store i32 %1, i32* %b, align 4
ret void
}
OpenPOWER on IntegriCloud