[PATCH] D65354: [X86] Let MachineCombiner reassociate adds for ILP
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 03:03:44 PDT 2019
fhahn added subscribers: Gerolf, MatzeB, stoklund, fhahn.
fhahn added a comment.
There's RegPressureTracker (https://llvm.org/docs/doxygen/classllvm_1_1RegPressureTracker.html) which can be used to track register pressure through a region of MBBs. The MachineCombiner use MachineTraceMetrics to guide which combines to apply and MTM does so by choosing a preferred trace. I think we could track pressure through that trace and compare the pressure difference of the removed/added instructions per combine. At least from a high-level perspective, adding register pressure info to MTM makes sense to me.
Gerolf, do you think that would be good extension to MachineCombiner?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65354/new/
https://reviews.llvm.org/D65354
More information about the llvm-commits
mailing list