diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-05-22 00:23:12 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-05-22 00:23:12 +0000 |
commit | be751cfe9cbcc760e24599a59e5b9699d4d4f9e0 (patch) | |
tree | 14c300ae47f4ee239f4174dd488de5e8e33ba24d /test/CodeGen/ARM/spill-q.ll | |
parent | 8116ca5134b355b897450f9a537c9c77e1f08723 (diff) | |
download | llvm-be751cfe9cbcc760e24599a59e5b9699d4d4f9e0.tar.gz llvm-be751cfe9cbcc760e24599a59e5b9699d4d4f9e0.tar.bz2 llvm-be751cfe9cbcc760e24599a59e5b9699d4d4f9e0.tar.xz |
Recognize more BUILD_VECTORs and VECTOR_SHUFFLEs that can be implemented by
copying VFP subregs. This exposed a bunch of dead code in the *spill-q.ll
tests, so I tweaked those tests to keep that code from being optimized away.
Radar 7872877.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/spill-q.ll')
-rw-r--r-- | test/CodeGen/ARM/spill-q.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/spill-q.ll b/test/CodeGen/ARM/spill-q.ll index 5ad7ecc730..03de0c8454 100644 --- a/test/CodeGen/ARM/spill-q.ll +++ b/test/CodeGen/ARM/spill-q.ll @@ -46,7 +46,8 @@ bb4: ; preds = %bb193, %entry %20 = shufflevector <2 x float> %19, <2 x float> undef, <4 x i32> zeroinitializer ; <<4 x float>> [#uses=1] %21 = fadd <4 x float> zeroinitializer, %20 ; <<4 x float>> [#uses=2] %22 = fcmp ogt <4 x float> %besterror.0.2264, %21 ; <<4 x i1>> [#uses=0] - br i1 undef, label %bb193, label %bb186 + %tmp = extractelement <4 x i1> %22, i32 0 + br i1 %tmp, label %bb193, label %bb186 bb186: ; preds = %bb4 br label %bb193 |