[PATCH] D146685: [LoopPredication] Fix the LoopPredication by feezing the result.
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 22 20:59:46 PDT 2023
skatkov created this revision.
skatkov added reviewers: apilipenko, mkazantsev, reames, nikic.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
skatkov requested review of this revision.
Herald added a project: LLVM.
LoopPredication introduces the use of possibly posion value in branch (guard)
instruction, so to avoid introducing undefined behavior it should be freezed.
https://reviews.llvm.org/D146685
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146685.507586.patch
Type: text/x-patch
Size: 82987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230323/bf72ec15/attachment.bin>
More information about the llvm-commits
mailing list