[all-commits] [llvm/llvm-project] d1fbdd: [NaryReassociate] Check to avoid introducing poiso...
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Tue Jul 9 07:14:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1fbdde9d400222b6db0e5509392007208ad1018
https://github.com/llvm/llvm-project/commit/d1fbdde9d400222b6db0e5509392007208ad1018
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
M llvm/test/Transforms/NaryReassociate/nary-gep.ll
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list