File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,8 @@ void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) {
247
247
if (!CurLoop->contains (BB))
248
248
continue ;
249
249
// Conservatively treat live-in's as an external def.
250
+ // FIXME: That means a reload that's reused into a fallthrough block
251
+ // will not be LICM'ed.
250
252
for (MachineBasicBlock::const_livein_iterator I = BB->livein_begin (),
251
253
E = BB->livein_end (); I != E; ++I) {
252
254
unsigned Reg = *I;
@@ -282,7 +284,8 @@ void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) {
282
284
}
283
285
}
284
286
285
- // FIXME: Only consider reloads for now.
287
+ // FIXME: Only consider reloads for now. We should be able to handle
288
+ // remat which does not have register operands.
286
289
bool SkipCheck = false ;
287
290
int FI;
288
291
if (SeenDef && !RuledOut) {
You can’t perform that action at this time.
0 commit comments