[all-commits] [llvm/llvm-project] 2b6683: Expand loop peeling phi computation to handle bina...
Jamie Schmeiser via All-commits
all-commits at lists.llvm.org
Mon Dec 5 09:11:37 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b6683fd5f7481d57a29ca6c5cd68822e1cfe5b0
https://github.com/llvm/llvm-project/commit/2b6683fd5f7481d57a29ca6c5cd68822e1cfe5b0
Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/test/Transforms/LoopUnroll/peel-loop-phi-analysis.ll
Log Message:
-----------
Expand loop peeling phi computation to handle binary ops and casts
Summary:
Expand the capabilities of the code for computing how many peels are
needed to make phis determined. A cast gets the peel count for the
value being casted while a binary op gets the maximum of the operands.
Respond to review comments: remove redundant asserts.
Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Reviewed By:mkazantsev (Max Kazantsev),syzaara (Zaara Syeda)
Differential Revision: https://reviews.llvm.org/D138719
More information about the All-commits
mailing list