[PATCH] D128384: llvm-reduce: Add reduction for custom register masks

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 14:56:51 PDT 2022


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

I have a register allocator failure that only reproduces with IPRA
enabled, and requires the specific regmask if I want to only run the
one relevant pass. The printed custom regmask is enormous and I would
like to reduce it.

      

This reduces each individual bit in the mask, but it would probably be
better to start at register units and clear all aliasing fields at a
time. This would require stricter verification that all aliasing bits
are set in regmasks (although I would prefer to switch regmasks to use
register units in the first place).


https://reviews.llvm.org/D128384

Files:
  llvm/test/tools/llvm-reduce/mir/reduce-register-masks.mir
  llvm/tools/llvm-reduce/CMakeLists.txt
  llvm/tools/llvm-reduce/DeltaManager.cpp
  llvm/tools/llvm-reduce/ReducerWorkItem.cpp
  llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.cpp
  llvm/tools/llvm-reduce/deltas/ReduceRegisterMasks.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128384.439169.patch
Type: text/x-patch
Size: 7792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220622/1b87c317/attachment.bin>


More information about the llvm-commits mailing list