Do some simple copy propagation through integer loads and stores when promoting

vector types. This helps a lot with inlined functions when using the ARM soft
float ABI. Fixes <rdar://problem/9184212>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Cameron Zwarich
2011-03-29 05:19:52 +00:00
parent ad7d8a598b
commit 9827b78b51
3 changed files with 68 additions and 10 deletions

View File

@ -94,7 +94,7 @@ define i64 @test6(<2 x float> %X) {
%tmp = load i64* %P
ret i64 %tmp
; CHECK: @test6
; CHECK: bitcast <2 x float> %X to <1 x i64>
; CHECK: bitcast <2 x float> %X to i64
; CHECK: ret i64
}