diff options
author | Elvis Wang <elvis.wang@sifive.com> | 2024-11-28 15:07:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-28 15:07:36 +0800 |
commit | 9ea5be639d31560faec993b4aebb3e10c7d4c8e2 (patch) | |
tree | fc74f8f71a1eefb8e5ad6c5fad05374e09f019d5 /llvm/lib/Bitcode | |
parent | d36a4c07156de01b05ea41d5876c671de64e99c6 (diff) | |
download | llvm-9ea5be639d31560faec993b4aebb3e10c7d4c8e2.zip llvm-9ea5be639d31560faec993b4aebb3e10c7d4c8e2.tar.gz llvm-9ea5be639d31560faec993b4aebb3e10c7d4c8e2.tar.bz2 |
Recommit "[LV][VPlan] Remove any-of reduction from precomputeCost. NFC (#117109)" (#117289)
Update the test cases contains `any-of` printings from the
precomputeCost().
Origin message:
The any-of reduction contains phi and select instructions.
The select instruction might be optimized and removed in the vplan which
may cause VF difference between legacy and VPlan-based model. But if the
select instruction be removed, planContainsAdditionalSimplifications()
will catch it and disable the assertion.
Therefore, we can just remove the ayn-of reduction calculation in the
precomputeCost().
Recommit "[LV][VPlan] Remove any-of reduction from precomputeCost. NFC
(#117109)"
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions