[all-commits] [llvm/llvm-project] 7fa41d: [DFAJumpThreading] Only unfold select coming from ...
XChy via All-commits
all-commits at lists.llvm.org
Thu Nov 2 06:26:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7fa41d8a8f897219a6b22ab7a288f445e9d6119b
https://github.com/llvm/llvm-project/commit/7fa41d8a8f897219a6b22ab7a288f445e9d6119b
Author: XChy <xxs_chy at outlook.com>
Date: 2023-11-02 (Thu, 02 Nov 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
Log Message:
-----------
[DFAJumpThreading] Only unfold select coming from directly where it is defined (#70966)
Fixes #64860.
When a select instruction comes in by PHINode, the phi's incoming block
for it can flow indirectly past other BasicBlock into it. In this case,
we cannot unfold select to the phi's BB.
More information about the All-commits
mailing list