llvm-project
80e7cab7 - [LV] Add tests for reusing IR values with poison-generating flags (NFC) (#244948)

Commit
1 day ago
[LV] Add tests for reusing IR values with poison-generating flags (NFC) (#244948) Add a test where computing an exit value via SCEV while building VPlans reuses an 'add nsw' in the preheader, which drops its nsw flag, even though vectorization is not profitable and the plans are discarded. Also add a test where only the epilogue vector loop uses a strided access, whose start reuses a 'getelementptr inbounds' that requires dropping its inbounds flag.
Author
Parents
Loading