This currently has no impact on code, but prevents sizeable code size
regressions after D52010. This prevents spilling and reloading all
values inside blocks that loop back. Add a baseline test which would
regress without this patch.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with one caveat, do we need the new getOneDefInstr?
| llvm/lib/CodeGen/RegAllocFast.cpp | ||
|---|---|---|
| 275 | How does this differ from MachineRegisterInfo::getUniqueVRegDef? | |
How does this differ from MachineRegisterInfo::getUniqueVRegDef?