diff options
author | Eric Christopher <echristo@apple.com> | 2012-05-07 05:46:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-05-07 05:46:29 +0000 |
commit | 3ff88a05b7eb2bb3902ab4f36d44c121d7f7c6f7 (patch) | |
tree | 5217fad548618ca6e86c83061be5a626448e427f /llvm/test/CodeGen/Mips/inlineasm_constraint.ll | |
parent | d4e1894ec1d90ee41419ba8cce138d8da8d83db3 (diff) | |
download | bcm5719-llvm-3ff88a05b7eb2bb3902ab4f36d44c121d7f7c6f7.tar.gz bcm5719-llvm-3ff88a05b7eb2bb3902ab4f36d44c121d7f7c6f7.zip |
Add support for the inline asm constraint 'K'.
llvm-svn: 156282
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 f053e0e2766..04bd513a682 100644 --- a/llvm/test/CodeGen/Mips/inlineasm_constraint.ll +++ b/llvm/test/CodeGen/Mips/inlineasm_constraint.ll @@ -21,6 +21,12 @@ entry: ; CHECK: #NO_APP tail call i32 asm sideeffect "addi $0,$1,$2\0A\09 ", "=r,r,J"(i32 7, i16 0) nounwind +; Now K with 64 +; CHECK: #APP +; CHECK: addu ${{[0-9]+}},${{[0-9]+}},64 +; CHECK: #NO_APP + tail call i16 asm sideeffect "addu $0,$1,$2\0A\09 ", "=r,r,K"(i16 7, i16 64) nounwind + ret i32 0 } |