[DivRemPairs] Strip division's poison generating flag
Given this transformation: X % Y -> X - (X / Y) * Y This patch strips off the poison-generating flag of X / Y such as exact, because it may make the optimized form result poison whereas X % Y does not. The issue was reported here: https://github.com/llvm/llvm-project/issues/60748 Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D144333
Loading
Please sign in to comment