[PATCH] D158843: [ConstraintElim] Move just before loop simplification pipeline.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 06:17:24 PDT 2023


fhahn created this revision.
fhahn added reviewers: nikic, zjaffal, mkazantsev, rapidsna, antoniofrighetto.
Herald added subscribers: ormris, StephenFan, wenlei, steven_wu, javed.absar, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

Adjust the pipeline slightly to move ConstraintElim just before the loop
simplification pipeline. This increases the number of cases where SCEV
should can preserved in the future. It also allows additional
simplification after SimplifyCFG converts switches to regular compares.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158843

Files:
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/test/Other/new-pm-defaults.ll
  llvm/test/Other/new-pm-thinlto-postlink-defaults.ll
  llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
  llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
  llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
  llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
  llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158843.553449.patch
Type: text/x-patch
Size: 8083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230825/5a71711a/attachment.bin>


More information about the llvm-commits mailing list