[all-commits] [llvm/llvm-project] f1d648: [GVN] Use m_LogicalAnd/Or to propagate equality fr...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Sun Dec 27 12:33:03 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f1d648b973d32ab0e70ef20efb0f146240e50f58
https://github.com/llvm/llvm-project/commit/f1d648b973d32ab0e70ef20efb0f146240e50f58
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2020-12-28 (Mon, 28 Dec 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/GVN.cpp
M llvm/test/Transforms/GVN/condprop.ll
Log Message:
-----------
[GVN] Use m_LogicalAnd/Or to propagate equality from branch conditions
This patch makes GVN recognize `select c1, c2, false` as well as `select c1, true, c2`
branch condition and propagate equality from these.
See llvm.org/pr48353, D93065
Differential Revision: https://reviews.llvm.org/D93841
More information about the All-commits
mailing list