[all-commits] [llvm/llvm-project] 370880: [InstCombine] Fold icmp into phi beyond the same BB.
bipmis via All-commits
all-commits at lists.llvm.org
Thu Sep 7 08:55:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 370880cdcc487298fd30628cad1a3671ba1c5f5c
https://github.com/llvm/llvm-project/commit/370880cdcc487298fd30628cad1a3671ba1c5f5c
Author: bipmis <biplob.mishra at arm.com>
Date: 2023-09-07 (Thu, 07 Sep 2023)
Changed paths:
M compiler-rt/test/dfsan/conditional_callbacks.c
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-constant-phi.ll
M llvm/test/Transforms/InstCombine/phi.ll
Log Message:
-----------
[InstCombine] Fold icmp into phi beyond the same BB.
The icmp is being folded in phi only if they belong in the same BB.
This patch extends the same beyond the BB.
Have seen scenarios where this seems to be beneficial.
Differential Revision: https://reviews.llvm.org/D157740
More information about the All-commits
mailing list