[PATCH] D124097: llvm-reduce: Add reduction pass to remove regalloc hints

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 08:55:33 PDT 2022


arsenm created this revision.
arsenm added reviewers: markus, reames, qcolombet, MatzeB, 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'm a bit confused by what's actually stored for the allocation
hints. The MIR parser only handles the "simple" case where there's a
single hint. I don't really understand the assertion in
clearSimpleHint, or under what circumstances there are multiple hint
registers.


https://reviews.llvm.org/D124097

Files:
  llvm/test/tools/llvm-reduce/mir/preserve-reg-hints.mir
  llvm/test/tools/llvm-reduce/mir/reduce-register-hints.mir
  llvm/tools/llvm-reduce/CMakeLists.txt
  llvm/tools/llvm-reduce/DeltaManager.cpp
  llvm/tools/llvm-reduce/ReducerWorkItem.cpp
  llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.cpp
  llvm/tools/llvm-reduce/deltas/ReduceVirtualRegisters.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124097.423926.patch
Type: text/x-patch
Size: 7728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220420/52db7d2b/attachment.bin>


More information about the llvm-commits mailing list