[PATCH] D29004: New OptimizationRemarkEmitter pass for MIR
Adam Nemet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 22 21:51:38 PST 2017
anemet created this revision.
Herald added subscribers: fhahn, mgorny, qcolombet.
Herald added a reviewer: javed.absar.
This allows MIR passes to emit optimization remarks with the same level
of functionality that is available to IR passes.
It also hooks up the greedy register allocator to report spills. This
allows for things like interesting use cases like increasing
interleaving on a loop until spilling of registers is observed.
I still need to experiment whether reporting every spill scales but this
demonstrates for now that the functionality works from llc
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 28068 bytes
Desc: not available
More information about the llvm-commits