aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-08-01 10:37:42 +0200
committerNikita Popov <npopov@redhat.com>2023-08-01 11:53:47 +0200
commitd01aec4c769d50fb92e86decd41d077c94105841 (patch)
treeb1860a50c4f6e20406f607edacf0806eea2d907e /llvm/lib/CodeGen/MachineScheduler.cpp
parentc0a36a157d978bbb80a57f1ea349fdbfe4f9b870 (diff)
downloadllvm-d01aec4c769d50fb92e86decd41d077c94105841.zip
llvm-d01aec4c769d50fb92e86decd41d077c94105841.tar.gz
llvm-d01aec4c769d50fb92e86decd41d077c94105841.tar.bz2
[InstCombine] Set dead phi inputs to poison in more cases
Set phi inputs to poison whenever we find a dead edge (either during initial worklist population or the main InstCombine run), instead of only doing this for successors of dead blocks. This means that the phi operand is set to poison even if for critical edges without an intermediate block. There are quite a few test changes, because the pattern is fairly common in vectorizer output, for cases where we know the vectorized loop will be entered.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions