This patch uses the API provided by LiveRangeEdit to handle rematerialization. It will make future maintenance and improvement more easier.
No functional change.
Paths
| Differential D133610
[RegisterCoalescer] Use LiveRangeEdit to handle rematerialization ClosedPublic Authored by Carrot on Sep 9 2022, 1:07 PM.
Details Summary This patch uses the API provided by LiveRangeEdit to handle rematerialization. It will make future maintenance and improvement more easier. No functional change.
Diff Detail Event Timeline
Carrot marked an inline comment as done.
Carrot marked an inline comment as done. This revision is now accepted and ready to land.Sep 13 2022, 8:46 AM This revision was landed with ongoing or failed builds.Sep 21 2022, 10:55 AM Closed by commit rGc39311eb4002: [RegisterCoalescer] Use LiveRangeEdit to handle rematerialization (authored by Carrot). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 459549 llvm/include/llvm/CodeGen/LiveRangeEdit.h
llvm/lib/CodeGen/LiveRangeEdit.cpp
llvm/lib/CodeGen/RegisterCoalescer.cpp
|
Shouldn't this return getRegSlot like the fallthrough case?