[PATCH] D135643: llvm-reduce: Add opcode reduction pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 21:48:33 PDT 2022


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

Try some dumb strength reductions to "simpler" opcodes.
Make some opcode substitutions I typically try to get smaller
MIR out of codegen. This is a bit target specific and I have a
lot of increasingly target specific modifications I try
during manual reduction.


https://reviews.llvm.org/D135643

Files:
  llvm/test/tools/llvm-reduce/reduce-opcodes.ll
  llvm/tools/llvm-reduce/CMakeLists.txt
  llvm/tools/llvm-reduce/DeltaManager.cpp
  llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
  llvm/tools/llvm-reduce/deltas/ReduceOpcodes.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135643.466696.patch
Type: text/x-patch
Size: 10725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221011/d3b8b806/attachment.bin>


More information about the llvm-commits mailing list