mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
Add testcase for the casts that are missing in PR249
llvm-svn: 11727
This commit is contained in:
parent
795ca35cde
commit
2ec31046bc
11
test/Regression/CodeGen/X86/2004-02-22-Casts.llx
Normal file
11
test/Regression/CodeGen/X86/2004-02-22-Casts.llx
Normal file
@ -0,0 +1,11 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86
|
||||
|
||||
bool %test1(double %X) {
|
||||
%V = cast double %X to bool
|
||||
ret bool %V
|
||||
}
|
||||
|
||||
double %test2(ulong %X) {
|
||||
%V = cast ulong %X to double
|
||||
ret double %V
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user