diff options
| author | Florian Hahn <florian.hahn@arm.com> | 2018-02-14 13:13:15 +0000 |
|---|---|---|
| committer | Florian Hahn <florian.hahn@arm.com> | 2018-02-14 13:13:15 +0000 |
| commit | c6296fea3fee105a3ba6041ae42cfba0ba9f5da8 (patch) | |
| tree | 57ae6a2037771b7679423dc07b84b9812fe3e884 /llvm/test/Transforms/LoopInterchange | |
| parent | af6312a47992ac85c3d942fdeb0d30c4ab9a78d4 (diff) | |
| download | bcm5719-llvm-c6296fea3fee105a3ba6041ae42cfba0ba9f5da8.tar.gz bcm5719-llvm-c6296fea3fee105a3ba6041ae42cfba0ba9f5da8.zip | |
[LoopInterchange] Incrementally update the dominator tree.
We can use incremental dominator tree updates to avoid re-calculating
the dominator tree after interchanging 2 loops.
Reviewers: dmgreen, kuhar
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D43176
llvm-svn: 325122
Diffstat (limited to 'llvm/test/Transforms/LoopInterchange')
11 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/Transforms/LoopInterchange/call-instructions.ll b/llvm/test/Transforms/LoopInterchange/call-instructions.ll index e2428ac53fc..c33abde99cb 100644 --- a/llvm/test/Transforms/LoopInterchange/call-instructions.ll +++ b/llvm/test/Transforms/LoopInterchange/call-instructions.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/currentLimitation.ll b/llvm/test/Transforms/LoopInterchange/currentLimitation.ll index 8045dd87a75..a0acf7e6275 100644 --- a/llvm/test/Transforms/LoopInterchange/currentLimitation.ll +++ b/llvm/test/Transforms/LoopInterchange/currentLimitation.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; These are test that fail to interchange due to current limitation. This will go off once we extend the loop interchange pass. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll b/llvm/test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll index b0b82401748..284d73eabde 100644 --- a/llvm/test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll +++ b/llvm/test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/interchange-insts-between-indvar.ll b/llvm/test/Transforms/LoopInterchange/interchange-insts-between-indvar.ll index b6094904822..51c0a160ec6 100644 --- a/llvm/test/Transforms/LoopInterchange/interchange-insts-between-indvar.ll +++ b/llvm/test/Transforms/LoopInterchange/interchange-insts-between-indvar.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s @A10 = local_unnamed_addr global [3 x [3 x i32]] zeroinitializer, align 16 diff --git a/llvm/test/Transforms/LoopInterchange/interchange-output-dependencies.ll b/llvm/test/Transforms/LoopInterchange/interchange-output-dependencies.ll index 98deba96f8c..bf9b80ceceb 100644 --- a/llvm/test/Transforms/LoopInterchange/interchange-output-dependencies.ll +++ b/llvm/test/Transforms/LoopInterchange/interchange-output-dependencies.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/interchange-simple-count-down.ll b/llvm/test/Transforms/LoopInterchange/interchange-simple-count-down.ll index 70ba5940257..5aee1f1d353 100644 --- a/llvm/test/Transforms/LoopInterchange/interchange-simple-count-down.ll +++ b/llvm/test/Transforms/LoopInterchange/interchange-simple-count-down.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/interchange-simple-count-up.ll b/llvm/test/Transforms/LoopInterchange/interchange-simple-count-up.ll index 4febe026981..b4c1421e555 100644 --- a/llvm/test/Transforms/LoopInterchange/interchange-simple-count-up.ll +++ b/llvm/test/Transforms/LoopInterchange/interchange-simple-count-up.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/not-interchanged-dependencies-1.ll b/llvm/test/Transforms/LoopInterchange/not-interchanged-dependencies-1.ll index cf4f83baea8..eaff1779aa6 100644 --- a/llvm/test/Transforms/LoopInterchange/not-interchanged-dependencies-1.ll +++ b/llvm/test/Transforms/LoopInterchange/not-interchanged-dependencies-1.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test the complete .ll for adjustment in outer loop header/latch and inner loop header/latch. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/phi-ordering.ll b/llvm/test/Transforms/LoopInterchange/phi-ordering.ll index d2d29476534..c24e6ebbb7e 100644 --- a/llvm/test/Transforms/LoopInterchange/phi-ordering.ll +++ b/llvm/test/Transforms/LoopInterchange/phi-ordering.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -loop-interchange -S | FileCheck %s +; RUN: opt < %s -loop-interchange -verify-dom-info -S | FileCheck %s ;; Checks the order of the inner phi nodes does not cause havoc. ;; The inner loop has a reduction into c. The IV is not the first phi. diff --git a/llvm/test/Transforms/LoopInterchange/profitability.ll b/llvm/test/Transforms/LoopInterchange/profitability.ll index ae1f7931448..548e49124ab 100644 --- a/llvm/test/Transforms/LoopInterchange/profitability.ll +++ b/llvm/test/Transforms/LoopInterchange/profitability.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s ;; We test profitability model in these test cases. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/LoopInterchange/reductions.ll b/llvm/test/Transforms/LoopInterchange/reductions.ll index 86a44da7cf2..ccd4feff1b9 100644 --- a/llvm/test/Transforms/LoopInterchange/reductions.ll +++ b/llvm/test/Transforms/LoopInterchange/reductions.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -loop-interchange -S | FileCheck %s +; RUN: opt < %s -basicaa -loop-interchange -verify-dom-info -S | FileCheck %s @A = common global [500 x [500 x i32]] zeroinitializer @X = common global i32 0 |

