[PATCH] D136558: llvm-reduce: Fix opcode reduction leaving behind dead instructions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 23 11:02:45 PDT 2022


arsenm created this revision.
arsenm added reviewers: aeubanks, regehr.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

ce3c3cb2912425bb4367bfbe9a4c68a6d6f0a04a <https://reviews.llvm.org/rGce3c3cb2912425bb4367bfbe9a4c68a6d6f0a04a> broke this by
speculatively making transforms before checking shouldKeep.
Originally I tried to roll back changes to the IR, but it's probably
best to not touch it before querying.


https://reviews.llvm.org/D136558

Files:
  llvm/test/tools/llvm-reduce/reduce-opcodes.ll
  llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136558.469994.patch
Type: text/x-patch
Size: 10781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221023/beacb4f2/attachment-0001.bin>


More information about the llvm-commits mailing list