mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Cover non-byte-width BATs situation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4da6420a07
commit
9160a841ac
@ -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)
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user