aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-03-07 01:05:53 +0800
committerGitHub <noreply@github.com>2025-03-07 01:05:53 +0800
commit6d89c042e3f28c1c5b8fd1ac5512df7020c9739b (patch)
tree42e32900c9caa6fe4f9af1c60398095bd3b7d050 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentcc98b35d0d7eaedbf003163bb401d6ffbd51d5da (diff)
downloadllvm-6d89c042e3f28c1c5b8fd1ac5512df7020c9739b.zip
llvm-6d89c042e3f28c1c5b8fd1ac5512df7020c9739b.tar.gz
llvm-6d89c042e3f28c1c5b8fd1ac5512df7020c9739b.tar.bz2
[VPlan] Remove dead AnyOf reduction case in VPReductionRecipe. NFCI (#130048)
From what I understand, we only create VPReductionRecipes for in-loop reductions, and we don't currently support in-loop AnyOf reductions. We only create VPReductionRecipes in the !PhiR->isInLoop() section of adjustRecipesForReductions, and this comment from the initial patch seems to confirm this https://reviews.llvm.org/D108136#anchor-inline-1038338, so I think we can remove this check in the condition logic. I checked compiling SPEC 2017 with -prefer-inloop-predicates and the added assertion doesn't trigger.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions