This function checks that:
- It is safe to expand a SCEV;
- It is OK to materialize it at the specified location.
For example, attempt to expand a loop's AddRec to the same loop's preheader should fail.
Differential D39236
[SCEV][NFC] Introduce isSafeToExpandAt function to SCEVExpander mkazantsev on Oct 24 2017, 5:15 AM. Authored by
Details This function checks that:
For example, attempt to expand a loop's AddRec to the same loop's preheader should fail.
Diff Detail
Event TimelineComment Actions relatively minor code comments.
|