diff options
author | Hongyu Chen <xxs_chy@outlook.com> | 2025-10-01 22:06:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 14:06:08 +0000 |
commit | a05e004b285af92f9bcef12d5ab5537c36002c13 (patch) | |
tree | 47fe255be48c01a694b920c91ffd1aa91051493b /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 73d9974c91413f5a6dbe6f76f4b73ad226b6276b (diff) | |
download | llvm-a05e004b285af92f9bcef12d5ab5537c36002c13.zip llvm-a05e004b285af92f9bcef12d5ab5537c36002c13.tar.gz llvm-a05e004b285af92f9bcef12d5ab5537c36002c13.tar.bz2 |
[DFAJumpThreading] Unfold select to the incoming block of phi user (#160987)
Fixes #160250
We previously assumed the select to unfold is defined in the incoming
block of phi user, as `isValidSelectInst` filters other cases at the
initial stage. However, the selects not defined in the incoming block
may occur after unfolding the arms of the unfolded select.
This patch sinks the select into the incoming block of the phi user and
unfolds it at the incoming block.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions