[all-commits] [llvm/llvm-project] 898825: [SimplifyCFG] Make FoldCondBranchOnPHI more amenab...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Apr 21 01:50:06 PDT 2022
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
[SimplifyCFG] Make FoldCondBranchOnPHI more amenable to extension
This general threading transform can be performed whenever we know
a constant value for the condition in a predecessor, which would
currently just be the case of a phi node with constant arguments.
More information about the All-commits