diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2019-07-17 08:11:57 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2019-07-17 08:11:57 +0000 |
commit | 6d4b1c046b821179f0cdf126234a12704a2fbed7 (patch) | |
tree | d407f7a40eb24f1d28ce3ae5d1de5654f8afd0f7 /llvm/test/CodeGen/Mips/inlineasm_constraint.ll | |
parent | 4c1e4408927e0c260beb30114ccaf48b017a5ecb (diff) | |
download | bcm5719-llvm-6d4b1c046b821179f0cdf126234a12704a2fbed7.tar.gz bcm5719-llvm-6d4b1c046b821179f0cdf126234a12704a2fbed7.zip |
[mips] Name inline asm constraint test cases in a uniform manner. NFC
llvm-svn: 366302
Diffstat (limited to 'llvm/test/CodeGen/Mips/inlineasm_constraint.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/inlineasm_constraint.ll | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/llvm/test/CodeGen/Mips/inlineasm_constraint.ll b/llvm/test/CodeGen/Mips/inlineasm_constraint.ll deleted file mode 100644 index 164d28f733e..00000000000 --- a/llvm/test/CodeGen/Mips/inlineasm_constraint.ll +++ /dev/null @@ -1,75 +0,0 @@ -; RUN: llc -no-integrated-as -march=mipsel < %s | \ -; RUN: FileCheck %s -check-prefixes=ALL,GAS -; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefixes=ALL,IAS - -define void @constraint_I() nounwind { -; First I with short -; ALL-LABEL: constraint_I: -; ALL: #APP -; ALL: addiu ${{[0-9]+}}, ${{[0-9]+}}, 4096 -; ALL: #NO_APP - tail call i16 asm sideeffect "addiu $0, $1, $2", "=r,r,I"(i16 7, i16 4096) nounwind - -; Then I with int -; ALL: #APP -; ALL: addiu ${{[0-9]+}}, ${{[0-9]+}}, -3 -; ALL: #NO_APP - tail call i32 asm sideeffect "addiu $0, $1, $2", "=r,r,I"(i32 7, i32 -3) nounwind - ret void -} - -define void @constraint_J() nounwind { -; Now J with 0 -; ALL-LABEL: constraint_J: -; ALL: #APP -; ALL: addiu ${{[0-9]+}}, ${{[0-9]+}}, 0 -; ALL: #NO_APP - tail call i32 asm sideeffect "addiu $0, $1, $2\0A\09 ", "=r,r,J"(i32 7, i16 0) nounwind - ret void -} - -define void @constraint_K() nounwind { -; Now K with 64 -; ALL: #APP -; GAS: addu ${{[0-9]+}}, ${{[0-9]+}}, 64 -; IAS: addiu ${{[0-9]+}}, ${{[0-9]+}}, 64 -; ALL: #NO_APP - tail call i16 asm sideeffect "addu $0, $1, $2\0A\09 ", "=r,r,K"(i16 7, i16 64) nounwind - ret void -} - -define void @constraint_L() nounwind { -; Now L with 0x00100000 -; ALL: #APP -; ALL: add ${{[0-9]+}}, ${{[0-9]+}}, ${{[0-9]+}} -; ALL: #NO_APP - tail call i32 asm sideeffect "add $0, $1, $3\0A\09", "=r,r,L,r"(i32 7, i32 1048576, i32 0) nounwind - ret void -} - -define void @constraint_N() nounwind { -; Now N with -3 -; ALL: #APP -; ALL: addiu ${{[0-9]+}}, ${{[0-9]+}}, -3 -; ALL: #NO_APP - tail call i32 asm sideeffect "addiu $0, $1, $2", "=r,r,N"(i32 7, i32 -3) nounwind - ret void -} - -define void @constraint_O() nounwind { -; Now O with -3 -; ALL: #APP -; ALL: addiu ${{[0-9]+}}, ${{[0-9]+}}, -3 -; ALL: #NO_APP - tail call i32 asm sideeffect "addiu $0, $1, $2", "=r,r,O"(i32 7, i16 -3) nounwind - ret void -} - -define void @constraint_P() nounwind { -; Now P with 65535 -; ALL: #APP -; GAS: addiu ${{[0-9]+}}, ${{[0-9]+}}, 65535 -; ALL: #NO_APP - tail call i32 asm sideeffect "addiu $0, $1, $2", "=r,r,P"(i32 7, i32 65535) nounwind - ret void -} |