llvm-project
d1fbdde9 - [NaryReassociate] Check to avoid introducing poison when reusing SCEVs (#98156)

Commit
1 year ago
[NaryReassociate] Check to avoid introducing poison when reusing SCEVs (#98156) Drop the poison flags if possible or skip the candidate if it's not. Otherwise we'd introduce poison in places where it previously wasn't, leading to miscompiles.
Author
d0k d0k
Parents
Loading