[PATCH] D105374: [SimplifyCFG] simplifyUnreachable(): erase instructions iff they are guaranteed to transfer execution to unreachable

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 2 23:30:34 PDT 2021


lebedev.ri updated this revision to Diff 356326.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

Fix test instead of showing how it changes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105374

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll
  llvm/test/Transforms/SimplifyCFG/simplifyUnreachable-degenerate-conditional-branch-with-matching-destinations.ll
  llvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105374.356326.patch
Type: text/x-patch
Size: 7308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210703/5128fa7e/attachment.bin>


More information about the llvm-commits mailing list