Add an assert for hasLoopInvariantOperands
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Scalar/LoopSink.cpp | ||
---|---|---|
288 ↗ | (On Diff #83741) | I'd say something about the preheader in the assertion message: "Instructions in a loop's preheader should have loop invariant operands!" or something like that. |