LoopPredication introduces the use of possibly posion value in branch (guard)
instruction, so to avoid introducing undefined behavior it should be freezed.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D146685
[LoopPredication] Fix the LoopPredication by feezing the result. ClosedPublic Authored by skatkov on Mar 22 2023, 8:59 PM.
Details Summary LoopPredication introduces the use of possibly posion value in branch (guard)
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 28 2023, 9:45 PM Closed by commit rG99da317331e3: [LoopPredication] Fix the LoopPredication by feezing the result of predication. (authored by skatkov). · Explain WhyMar 29 2023, 1:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 507586 llvm/lib/Transforms/Scalar/LoopPredication.cpp
llvm/test/Transforms/LoopPredication/assumes.ll
llvm/test/Transforms/LoopPredication/basic.ll
llvm/test/Transforms/LoopPredication/basic_widenable_branch_guards.ll
llvm/test/Transforms/LoopPredication/invariant_load.ll
llvm/test/Transforms/LoopPredication/nested.ll
llvm/test/Transforms/LoopPredication/poison.ll
llvm/test/Transforms/LoopPredication/pr61022.ll
llvm/test/Transforms/LoopPredication/profitability.ll
llvm/test/Transforms/LoopPredication/reverse.ll
llvm/test/Transforms/LoopPredication/visited.ll
llvm/test/Transforms/LoopPredication/widened.ll
|