mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
Add comments for missed opportunities.
llvm-svn: 100610
This commit is contained in:
parent
eb32efa3b6
commit
0f71b51991
@ -247,6 +247,8 @@ void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) {
|
||||
if (!CurLoop->contains(BB))
|
||||
continue;
|
||||
// Conservatively treat live-in's as an external def.
|
||||
// FIXME: That means a reload that's reused into a fallthrough block
|
||||
// will not be LICM'ed.
|
||||
for (MachineBasicBlock::const_livein_iterator I = BB->livein_begin(),
|
||||
E = BB->livein_end(); I != E; ++I) {
|
||||
unsigned Reg = *I;
|
||||
@ -282,7 +284,8 @@ void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) {
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: Only consider reloads for now.
|
||||
// FIXME: Only consider reloads for now. We should be able to handle
|
||||
// remat which does not have register operands.
|
||||
bool SkipCheck = false;
|
||||
int FI;
|
||||
if (SeenDef && !RuledOut) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user