diff options
author | Eric Christopher <echristo@apple.com> | 2012-05-07 03:13:42 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-05-07 03:13:42 +0000 |
commit | 7201e1b4b990b241c0954eec6c4454ca63d99ef6 (patch) | |
tree | 859a4b269223616dc4ac28e1b33eddbe0b09b76e /llvm/test/CodeGen/Mips/inlineasm_constraint.ll | |
parent | 1d6c89eea168e689d504e65c7fb3ad4c0bd4dc8c (diff) | |
download | bcm5719-llvm-7201e1b4b990b241c0954eec6c4454ca63d99ef6.tar.gz bcm5719-llvm-7201e1b4b990b241c0954eec6c4454ca63d99ef6.zip |
Support the 'J' constraint.
Patch by Jack Carter.
llvm-svn: 156280
Diffstat (limited to 'llvm/test/CodeGen/Mips/inlineasm_constraint.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/inlineasm_constraint.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/inlineasm_constraint.ll b/llvm/test/CodeGen/Mips/inlineasm_constraint.ll index e2fbaa772ef..f053e0e2766 100644 --- a/llvm/test/CodeGen/Mips/inlineasm_constraint.ll +++ b/llvm/test/CodeGen/Mips/inlineasm_constraint.ll @@ -15,6 +15,12 @@ entry: ; CHECK: #NO_APP tail call i32 asm sideeffect "addi $0,$1,$2", "=r,r,I"(i32 7, i32 -3) nounwind +; Now J with 0 +; CHECK: #APP +; CHECK: addi ${{[0-9]+}},${{[0-9]+}},0 +; CHECK: #NO_APP + tail call i32 asm sideeffect "addi $0,$1,$2\0A\09 ", "=r,r,J"(i32 7, i16 0) nounwind + ret i32 0 } |