1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Cover non-byte-width BATs situation.

llvm-svn: 33356
This commit is contained in:
Zhou Sheng 2007-01-19 14:30:59 +00:00
parent 0b7ea20f4a
commit bb82bc11ae
2 changed files with 21 additions and 6 deletions

View File

@ -16,3 +16,18 @@ define double %test4() {
ret double bitcast (i64 42 to double)
}
define i30 %test5() {
ret i30 fptoui(float 3.7 to i30)
}
define float %test6() {
ret float uitofp(i30 17 to float)
}
define i6 %test7() {
ret i6 bitcast (double 3.1415926 to i6)
}
define double %test8() {
ret double bitcast (i9 42 to double)
}

View File

@ -3,17 +3,17 @@
; RUN: diff %t1.ll %t2.ll
%X = global i32 undef
%X = global i31 undef
implementation
declare i32 "atoi"(i8 *)
define i32 %test() {
ret i32 undef
define i63 %test() {
ret i63 undef
}
define i32 %test2() {
%X = add i32 undef, 1
ret i32 %X
define i31 %test2() {
%X = add i31 undef, 1
ret i31 %X
}