diff options
| author | Reed Kotler <rkotler@mips.com> | 2013-11-26 20:38:40 +0000 |
|---|---|---|
| committer | Reed Kotler <rkotler@mips.com> | 2013-11-26 20:38:40 +0000 |
| commit | 3aeb1d08579c11a5fbf09dfbb2ff19a91e32a5ef (patch) | |
| tree | 911a212683923a8112d48969a613a9cd506d4c65 /llvm/test/CodeGen/Mips/fpnotneeded.ll | |
| parent | c0dd1037c8db32e726a7764cf8ac064b50114387 (diff) | |
| download | bcm5719-llvm-3aeb1d08579c11a5fbf09dfbb2ff19a91e32a5ef.tar.gz bcm5719-llvm-3aeb1d08579c11a5fbf09dfbb2ff19a91e32a5ef.zip | |
Fix a bug related to constant islands for Mips16 and mips16/32 dual mode.
The determination of when we are doing constant pools was being made too
early in the asm printer.
llvm-svn: 195781
Diffstat (limited to 'llvm/test/CodeGen/Mips/fpnotneeded.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/fpnotneeded.ll | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/fpnotneeded.ll b/llvm/test/CodeGen/Mips/fpnotneeded.ll index b4fab641422..6a4363c5813 100644 --- a/llvm/test/CodeGen/Mips/fpnotneeded.ll +++ b/llvm/test/CodeGen/Mips/fpnotneeded.ll @@ -1,4 +1,6 @@ -; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-os16 | FileCheck %s -check-prefix=32 +; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-os16 | FileCheck %s -check-prefix=32 + +; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -relocation-model=static -O3 -mips16-constant-islands < %s -mips-os16 | FileCheck %s -check-prefix=cisle @i = global i32 1, align 4 @f = global float 1.000000e+00, align 4 @@ -57,6 +59,8 @@ entry: ; 32: restore {{.+}} ; 32: .end foo +; cisle: .end foo + attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } |

