summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/fast-isel.ll')
-rw-r--r--test/CodeGen/X86/fast-isel.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll
index 601e38578c..9c10a7b828 100644
--- a/test/CodeGen/X86/fast-isel.ll
+++ b/test/CodeGen/X86/fast-isel.ll
@@ -41,3 +41,8 @@ exit:
ret double %t2
}
+define i32 @cast(){
+entry:
+ %tmp2 = bitcast i32 0 to i32
+ ret i32 %tmp2
+}