commit | 4333727d1bd840bbd80eda307c94a2c4aa57d42b | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Mon Aug 25 20:20:32 2008 +0000 |
committer | Owen Anderson <resistor@mac.com> | Mon Aug 25 20:20:32 2008 +0000 |
tree | edb7eea69dd0aa4821bdd7df28cf982b6eea9c24 | |
parent | 63ac20b04905306b2cf59085077aa0be5b2ad499 [diff] [blame] |
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
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 @@ ret double %t2 } +define i32 @cast(){ +entry: + %tmp2 = bitcast i32 0 to i32 + ret i32 %tmp2 +}