diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-07-17 05:16:04 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-07-17 05:16:04 +0000 |
commit | a64eb92fe305424ebde2e3de2b12160b8bf76047 (patch) | |
tree | 7cfdc9a78d4edb6819c49e34cbe8c8a5eb882095 /test | |
parent | 0b79a7727d68a507837e827803859424cf3d997b (diff) | |
download | external_llvm-a64eb92fe305424ebde2e3de2b12160b8bf76047.zip external_llvm-a64eb92fe305424ebde2e3de2b12160b8bf76047.tar.gz external_llvm-a64eb92fe305424ebde2e3de2b12160b8bf76047.tar.bz2 |
Make promotion in operation legalization for SETCC work correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll b/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll new file mode 100644 index 0000000..3b11880 --- /dev/null +++ b/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=alpha + +define i1 @a(float %x) { + %r = fcmp ult float %x, 1.0 + ret i1 %r +} |