summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel.ll
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-08-25 20:20:32 +0000
committerOwen Anderson <resistor@mac.com>2008-08-25 20:20:32 +0000
commit6d0c25ec3a7ca822e68f73a4481eee43eb5c9485 (patch)
treeedb7eea69dd0aa4821bdd7df28cf982b6eea9c24 /test/CodeGen/X86/fast-isel.ll
parent8bb2ef4760560196a5731b43b2d99dc4d53ba662 (diff)
downloadllvm-6d0c25ec3a7ca822e68f73a4481eee43eb5c9485.tar.gz
llvm-6d0c25ec3a7ca822e68f73a4481eee43eb5c9485.tar.bz2
llvm-6d0c25ec3a7ca822e68f73a4481eee43eb5c9485.tar.xz
Add support for fast isel of (integer) immediate materialization pattens, and use them to support
bitcast of constants in fast isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55325 91177308-0d34-0410-b5e6-96231b3b80d8
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
+}