diff options
| author | Reed Kotler <rkotler@mips.com> | 2013-02-07 03:49:51 +0000 |
|---|---|---|
| committer | Reed Kotler <rkotler@mips.com> | 2013-02-07 03:49:51 +0000 |
| commit | ec60f7d335c9e18011383036533dbd606bec324e (patch) | |
| tree | c758f6d003459c7abf8686a6d9b1e07fd5f23204 /llvm/test/CodeGen | |
| parent | 5c9737a5dd039b97a12b4c8607364db20cabeca1 (diff) | |
| download | bcm5719-llvm-ec60f7d335c9e18011383036533dbd606bec324e.tar.gz bcm5719-llvm-ec60f7d335c9e18011383036533dbd606bec324e.zip | |
Enable jumps when in -static mode.
llvm-svn: 174580
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/Mips/br-jmp.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/br-jmp.ll b/llvm/test/CodeGen/Mips/br-jmp.ll index 1b5513ab394..9c48e9162a6 100644 --- a/llvm/test/CodeGen/Mips/br-jmp.ll +++ b/llvm/test/CodeGen/Mips/br-jmp.ll @@ -1,5 +1,7 @@ ; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC ; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC +; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=CHECK-PIC16 +; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16 define void @count(i32 %x, i32 %y, i32 %z) noreturn nounwind readnone { entry: @@ -11,3 +13,5 @@ bosco: ; preds = %bosco, %entry ; CHECK-PIC: b $BB0_1 ; CHECK-STATIC: j $BB0_1 +; CHECK-PIC16: b $BB0_1 +; CHECK-STATIC16: b $BB0_1
\ No newline at end of file |

