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
This commit is contained in:
Eli Friedman
2009-07-17 05:16:04 +00:00
parent 0b79a7727d
commit a64eb92fe3
2 changed files with 11 additions and 23 deletions

View File

@@ -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
}