From cab9a0ababb84b3a0292ffe86f2ca0ae1578b8f3 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Mon, 3 Jan 2011 00:25:16 +0000 Subject: Add a new loop-instsimplify pass, with the intention of replacing the instance of instcombine that is currently in the middle of the loop pass pipeline. This commit only checks in the pass; it will hopefully be enabled by default later. llvm-svn: 122719 --- llvm/lib/Transforms/Scalar/Scalar.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Transforms/Scalar/Scalar.cpp') diff --git a/llvm/lib/Transforms/Scalar/Scalar.cpp b/llvm/lib/Transforms/Scalar/Scalar.cpp index 27c11186d6a..2b13bcacc19 100644 --- a/llvm/lib/Transforms/Scalar/Scalar.cpp +++ b/llvm/lib/Transforms/Scalar/Scalar.cpp @@ -41,6 +41,7 @@ void llvm::initializeScalarOpts(PassRegistry &Registry) { initializeJumpThreadingPass(Registry); initializeLICMPass(Registry); initializeLoopDeletionPass(Registry); + initializeLoopInstSimplifyPass(Registry); initializeLoopRotatePass(Registry); initializeLoopStrengthReducePass(Registry); initializeLoopUnrollPass(Registry); -- cgit v1.2.3