diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-28 21:04:35 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-28 21:04:35 +0000 |
commit | f1f7c09390b0c6e1d77ecc28a152d20b8a4bcea9 (patch) | |
tree | 5f65d35dc1414433dcd767f6ed532e19cb3332f3 /test | |
parent | bbdd903c52897df78750aa0caf2fc34d55b5ead0 (diff) | |
download | external_llvm-f1f7c09390b0c6e1d77ecc28a152d20b8a4bcea9.zip external_llvm-f1f7c09390b0c6e1d77ecc28a152d20b8a4bcea9.tar.gz external_llvm-f1f7c09390b0c6e1d77ecc28a152d20b8a4bcea9.tar.bz2 |
Add explicit test for PR4280.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/2009-05-28-LegalizeBRCC.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2009-05-28-LegalizeBRCC.ll b/test/CodeGen/PowerPC/2009-05-28-LegalizeBRCC.ll new file mode 100644 index 0000000..4ea43ec --- /dev/null +++ b/test/CodeGen/PowerPC/2009-05-28-LegalizeBRCC.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin10 +; PR4280 + +define i32 @__fixunssfsi(float %a) nounwind readnone { +entry: + %0 = fcmp ult float %a, 0x41E0000000000000 ; <i1> [#uses=1] + br i1 %0, label %bb1, label %bb + +bb: ; preds = %entry + ret i32 1 + +bb1: ; preds = %entry + ret i32 0 +} + |