llvm
c467d380 - [LV] Fix offset handling for epilogue resume values. (NFCI) (#189259)

Commit
2 days ago
[LV] Fix offset handling for epilogue resume values. (NFCI) (#189259) Instead of replacing all uses of the canonical IV with an add of the resume value and then relying on the fold to simplify, directly create offset versions of both the canonical IV and its increment. The original offset computation were incorrect, but not resulted in mis-compiles due to the corresponding fold. Split off from approved https://github.com/llvm/llvm-project/pull/156262.
Author
Parents
Loading