Block dispositions of values defined inside the loop may change during peeling, so clear them. We already do this for other kind of unrolling.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I've verified this fixes the problem I saw. Great!
llvm/test/Transforms/LoopUnroll/loop-block-disposition-after-loop-peeling.ll | ||
---|---|---|
3 | Perhaps add -verify-scev since that's what caught the error? As far as I can see the actual ll output is identical with/without the fix so without -verify-scev I guess it only tests the fix in EXPENSIVE_CHECKS builds? |
Comment Actions
Add -verify-scev.
llvm/test/Transforms/LoopUnroll/loop-block-disposition-after-loop-peeling.ll | ||
---|---|---|
3 | Ooops, that was just an oversight on my part. |
Perhaps add -verify-scev since that's what caught the error? As far as I can see the actual ll output is identical with/without the fix so without -verify-scev I guess it only tests the fix in EXPENSIVE_CHECKS builds?