diff options
author | Eric Christopher <echristo@apple.com> | 2012-05-18 17:39:35 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-05-18 17:39:35 +0000 |
commit | 9ca26cfb5fb5b334d886a0ca211220a48f34b00d (patch) | |
tree | 451fc6667061fbe828562a159be821d3d33e962d /llvm/test | |
parent | d78d7b05ae3c42e228f41132090161e753bc103a (diff) | |
download | bcm5719-llvm-9ca26cfb5fb5b334d886a0ca211220a48f34b00d.tar.gz bcm5719-llvm-9ca26cfb5fb5b334d886a0ca211220a48f34b00d.zip |
Add support for the mips 'x' inline asm modifier.
Patch by Jack Carter.
llvm-svn: 157057
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/Mips/inlineasm-operand-code.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/inlineasm-operand-code.ll b/llvm/test/CodeGen/Mips/inlineasm-operand-code.ll index 4568a846585..63190fa5c42 100644 --- a/llvm/test/CodeGen/Mips/inlineasm-operand-code.ll +++ b/llvm/test/CodeGen/Mips/inlineasm-operand-code.ll @@ -11,5 +11,11 @@ entry: ;CHECK: #NO_APP tail call i32 asm sideeffect "addi $0,$1,${2:X}", "=r,r,I"(i32 7, i32 -3) nounwind +; x with -3 +;CHECK: #APP +;CHECK: addi ${{[0-9]+}},${{[0-9]+}},0xfffd +;CHECK: #NO_APP + tail call i32 asm sideeffect "addi $0,$1,${2:x}", "=r,r,I"(i32 7, i32 -3) nounwind + ret i32 0 } |