[all-commits] [llvm/llvm-project] 079c52: [SCEV] Try simplifying phi before createNodeFromSe...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Apr 27 06:07:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 079c525f206228c3343048bb5a74a8e9a428de1a
https://github.com/llvm/llvm-project/commit/079c525f206228c3343048bb5a74a8e9a428de1a
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/test/Analysis/ScalarEvolution/trivial-phis.ll
M llvm/test/Transforms/IndVarSimplify/lftr-pr20680.ll
Log Message:
-----------
[SCEV] Try simplifying phi before createNodeFromSelectLikePHI()
Sometimes a phi can both be trivial and match the
createNodeFromSelectLikePHI() fold. In that case it is generally
more profitable to look through the phi node.
More information about the All-commits
mailing list