OSDN Git Service

LPM: Drop require<loops> from these tests, it's redundant. NFC
authorJustin Bogner <mail@justinbogner.com>
Tue, 10 May 2016 18:28:10 +0000 (18:28 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 10 May 2016 18:28:10 +0000 (18:28 +0000)
The LoopPassManager needs to calculate the loops analysis in order to
iterate over the loops at all. Requiring it is redundant and just adds
noise to the RUN lines here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269097 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopRotate/basic.ll
test/Transforms/LoopSimplifyCFG/merge-header.ll

index 3d8ef7b..299c18c 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -S -loop-rotate < %s | FileCheck %s
-; RUN: opt -S -passes='require<loops>,require<targetir>,require<assumptions>,loop(rotate)' < %s | FileCheck %s
+; RUN: opt -S -passes='require<targetir>,require<assumptions>,loop(rotate)' < %s | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-apple-darwin10.0.0"
index cf56d91..e72c821 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -S -loop-simplifycfg < %s | FileCheck %s
-; RUN: opt -S -passes='require<loops>,require<domtree>,loop(simplify-cfg)' < %s | FileCheck %s
+; RUN: opt -S -passes='require<domtree>,loop(simplify-cfg)' < %s | FileCheck %s
 
 ; CHECK-LABEL: foo
 ; CHECK:      entry: