[PATCH] D47353: Restore the LoopInstSimplify pass, reverting r327329 that removed it.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 17:58:31 PDT 2018


chandlerc created this revision.
chandlerc added a reviewer: sanjoy.
Herald added subscribers: hiraditya, mgorny, mcrosier.

The plan had always been to move towards using this rather than so much
in-pass simplification within the loop pipeline, but we never got around
to it.... until only a couple months after it was removed due to disuse.

/
=

This commit is just a pure revert of the removal. I will add tests and
do some basic cleanup in follow-up commits (with post-commit review if
thats OK).

Then I'll wire it into the loop pass pipeline.

Any concerns?


Repository:
  rL LLVM

https://reviews.llvm.org/D47353

Files:
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/Transforms/Scalar.h
  llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/CMakeLists.txt
  llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
  llvm/lib/Transforms/Scalar/Scalar.cpp
  llvm/test/Feature/optnone-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47353.148533.patch
Type: text/x-patch
Size: 14874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180525/d32b3881/attachment-0001.bin>


More information about the llvm-commits mailing list