diff options
| author | Geoff Berry <gberry@codeaurora.org> | 2016-03-16 19:21:47 +0000 |
|---|---|---|
| committer | Geoff Berry <gberry@codeaurora.org> | 2016-03-16 19:21:47 +0000 |
| commit | 56fabf9b55aba34691f6002f27aed28f1d72c3a5 (patch) | |
| tree | 1cb24537f4e32ff6154627b4d3512333ad3c8c9f /llvm/test/Transforms/LoopStrengthReduce/AArch64 | |
| parent | a03acfa3597b5df9e9358953868650c15b211c61 (diff) | |
| download | bcm5719-llvm-56fabf9b55aba34691f6002f27aed28f1d72c3a5.tar.gz bcm5719-llvm-56fabf9b55aba34691f6002f27aed28f1d72c3a5.zip | |
Revert "[LSR] Create fewer redundant instructions."
This reverts commit r263644. Investigating bootstrap failures.
llvm-svn: 263655
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce/AArch64')
| -rw-r--r-- | llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-reuse.ll | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-reuse.ll b/llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-reuse.ll deleted file mode 100644 index a2dfe81b108..00000000000 --- a/llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-reuse.ll +++ /dev/null @@ -1,34 +0,0 @@ -; RUN: llc -mtriple=arm64-unknown-unknown -print-lsr-output < %s 2>&1 | FileCheck %s - -declare void @foo(i64) - -; Verify that redundant adds aren't inserted by LSR. -; CHECK-LABEL: @bar( -define void @bar(double* %A) { -entry: - br label %while.cond - -while.cond: -; CHECK-LABEL: while.cond: -; CHECK: add i64 %lsr.iv, 1 -; CHECK-NOT: add i64 %lsr.iv, 1 -; CHECK-LABEL: land.rhs: - %indvars.iv28 = phi i64 [ %indvars.iv.next29, %land.rhs ], [ 50, %entry ] - %cmp = icmp sgt i64 %indvars.iv28, 0 - br i1 %cmp, label %land.rhs, label %while.end - -land.rhs: - %indvars.iv.next29 = add nsw i64 %indvars.iv28, -1 - %arrayidx = getelementptr inbounds double, double* %A, i64 %indvars.iv.next29 - %Aload = load double, double* %arrayidx, align 8 - %cmp1 = fcmp oeq double %Aload, 0.000000e+00 - br i1 %cmp1, label %while.cond, label %if.end - -while.end: - %indvars.iv28.lcssa = phi i64 [ %indvars.iv28, %while.cond ] - tail call void @foo(i64 %indvars.iv28.lcssa) - br label %if.end - -if.end: - ret void -} |

