summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-10-19 17:14:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-10-19 17:14:24 +0000
commit418204e5239a69ca252a233976ef12d52ff45029 (patch)
tree658ff814139b2d603c4515bf66d514ab0f98e60a /llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll
parent14fe8cf238623b85f4115dcf9944eec3466af5a0 (diff)
downloadbcm5719-llvm-418204e5239a69ca252a233976ef12d52ff45029.tar.gz
bcm5719-llvm-418204e5239a69ca252a233976ef12d52ff45029.zip
Revert r116781 "- Add a hook for target to determine whether an instruction def
is", which breaks some nightly tests. llvm-svn: 116816
Diffstat (limited to 'llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll')
-rw-r--r--llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll b/llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll
index 2f17e27ab4e..f7494ec7d25 100644
--- a/llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll
+++ b/llvm/test/CodeGen/Thumb2/machine-licm-vdup.ll
@@ -2,16 +2,17 @@
; 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
OpenPOWER on IntegriCloud