[PATCH] D81089: Mark InstCombine as not preserving CFG

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 01:14:59 PDT 2020


yrouban updated this revision to Diff 270048.
yrouban retitled this revision from "Mark InstCombine as not preserving PostDomTree" to "Mark InstCombine as not preserving CFG".
yrouban edited the summary of this revision.
yrouban added a comment.

- Made legacy InstCombine pass to unconditionally report changing CFG
- New Pass Manager's InstCombine is changed to report changing CFG only if branches were swapped at least once
- Updated tests accordingly


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81089/new/

https://reviews.llvm.org/D81089

Files:
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Other/opt-O2-pipeline.ll
  llvm/test/Other/opt-O3-pipeline.ll
  llvm/test/Other/opt-Os-pipeline.ll
  llvm/test/Other/optimization-remarks-invalidation.ll
  llvm/test/Transforms/InstCombine/infinite-loop-postdom.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81089.270048.patch
Type: text/x-patch
Size: 16451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200611/385f4908/attachment-0001.bin>


More information about the llvm-commits mailing list