forked from OSchip/llvm-project
parent
c8d94e7889
commit
e2291f5af9
|
@ -1312,7 +1312,7 @@ WidenIV::WidenedRecTy WidenIV::getWideRecurrence(NarrowIVDefUse DU) {
|
|||
return {AddRec, ExtKind};
|
||||
}
|
||||
|
||||
/// This IV user cannot be widen. Replace this use of the original narrow IV
|
||||
/// This IV user cannot be widened. Replace this use of the original narrow IV
|
||||
/// with a truncation of the new wide IV to isolate and eliminate the narrow IV.
|
||||
static void truncateIVUse(NarrowIVDefUse DU, DominatorTree *DT, LoopInfo *LI) {
|
||||
auto *InsertPt = getInsertPointForUses(DU.NarrowUse, DU.NarrowDef, DT, LI);
|
||||
|
|
Loading…
Reference in New Issue