diff options
author | Reed Kotler <rkotler@mips.com> | 2012-10-30 00:54:49 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2012-10-30 00:54:49 +0000 |
commit | c09856b5357af621fcb84a7b2b6bfbf630c244ef (patch) | |
tree | 1672492a2ab7e2e173500a178141c1b19233e0b9 /test | |
parent | 803ea1c40aa059adf5b1baef0bf4510483565d07 (diff) | |
download | llvm-c09856b5357af621fcb84a7b2b6bfbf630c244ef.tar.gz llvm-c09856b5357af621fcb84a7b2b6bfbf630c244ef.tar.bz2 llvm-c09856b5357af621fcb84a7b2b6bfbf630c244ef.tar.xz |
Change mips16 delay slot jumps to non delay slot forms by default.
We will make them delay slot forms if there is something that can be
placed in the delay slot during a separate pass. Mips16 extended instructions
cannot be placed in delay slots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Mips/helloworld.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/Mips/null.ll | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/Mips/helloworld.ll b/test/CodeGen/Mips/helloworld.ll index bee93accd4..aee58b650e 100644 --- a/test/CodeGen/Mips/helloworld.ll +++ b/test/CodeGen/Mips/helloworld.ll @@ -24,10 +24,10 @@ entry: ; C1: addiu ${{[0-9]+}}, %lo($.str) ; C2: move $25, ${{[0-9]+}} ; C1: move $gp, ${{[0-9]+}} -; C1: jalr ${{[0-9]+}} +; C1: jalrc ${{[0-9]+}} ; SR: restore $ra, [[FS]] ; PE: li $2, 0 -; PE: jr $ra +; PE: jrc $ra } diff --git a/test/CodeGen/Mips/null.ll b/test/CodeGen/Mips/null.ll index 7beae99c45..00c66a9928 100644 --- a/test/CodeGen/Mips/null.ll +++ b/test/CodeGen/Mips/null.ll @@ -8,6 +8,6 @@ entry: ; 16: .set mips16 # @main -; 16: jr $ra +; 16: jrc $ra } |