Fix a bug in r123034 (trying to sext/zext non-integers) and clean up a little.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Frits van Bommel
2011-01-08 10:51:36 +00:00
parent d9ec3572f3
commit b686eb9186
2 changed files with 14 additions and 5 deletions
+6
View File
@@ -335,3 +335,9 @@ ret void
declare i32 @func_14()
define double @test16(i32 %a) nounwind {
%cmp = icmp slt i32 %a, 2
%select = select i1 %cmp, double 2.000000e+00, double 3.141592e+00
ret double %select
}