diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-10-19 18:58:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-10-19 18:58:51 +0000 |
commit | 2312842de0c641107dd04d7e056d02491cc781ca (patch) | |
tree | 95cb951c694a628d7bc9bac370b2fd929dd343d5 /test/CodeGen/Thumb2 | |
parent | 9cb4c7f87876ec8212bd4fae059553fcaa83f484 (diff) | |
download | external_llvm-2312842de0c641107dd04d7e056d02491cc781ca.zip external_llvm-2312842de0c641107dd04d7e056d02491cc781ca.tar.gz external_llvm-2312842de0c641107dd04d7e056d02491cc781ca.tar.bz2 |
Re-enable register pressure aware machine licm with fixes. Hoist() may have
erased the instruction during LICM so UpdateRegPressureAfter() should not
reference it afterwards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r-- | test/CodeGen/Thumb2/machine-licm-vdup.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/machine-licm-vdup.ll b/test/CodeGen/Thumb2/machine-licm-vdup.ll index f7494ec..2f17e27 100644 --- a/test/CodeGen/Thumb2/machine-licm-vdup.ll +++ b/test/CodeGen/Thumb2/machine-licm-vdup.ll @@ -2,17 +2,16 @@ ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mcpu=cortex-a8 -relocation-model=pic -disable-fp-elim -arm-vdup-splat | FileCheck %s ; Modified version of machine-licm.ll with -arm-vdup-splat turned on, 8003375. ; Eventually this should become the default and be moved into machine-licm.ll. -; FIXME: the vdup should be hoisted out of the loop, 8248029. define void @t2(i8* %ptr1, i8* %ptr2) nounwind { entry: ; CHECK: t2: ; CHECK: mov.w r3, #1065353216 +; CHECK: vdup.32 q{{.*}}, r3 br i1 undef, label %bb1, label %bb2 bb1: ; CHECK-NEXT: %bb1 -; CHECK: vdup.32 q{{.*}}, r3 %indvar = phi i32 [ %indvar.next, %bb1 ], [ 0, %entry ] %tmp1 = shl i32 %indvar, 2 %gep1 = getelementptr i8* %ptr1, i32 %tmp1 |