diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-25 20:20:32 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-25 20:20:32 +0000 |
commit | 6d0c25ec3a7ca822e68f73a4481eee43eb5c9485 (patch) | |
tree | edb7eea69dd0aa4821bdd7df28cf982b6eea9c24 /test/CodeGen/X86/fast-isel.ll | |
parent | 8bb2ef4760560196a5731b43b2d99dc4d53ba662 (diff) | |
download | external_llvm-6d0c25ec3a7ca822e68f73a4481eee43eb5c9485.zip external_llvm-6d0c25ec3a7ca822e68f73a4481eee43eb5c9485.tar.gz external_llvm-6d0c25ec3a7ca822e68f73a4481eee43eb5c9485.tar.bz2 |
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.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll index 601e385..9c10a7b 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 +} |