diff options
author | David Green <david.green@arm.com> | 2023-06-28 21:02:29 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2023-06-28 21:02:29 +0100 |
commit | 9c7aab362a4579d5ce26f4af2564b04720ec23a2 (patch) | |
tree | a51e833fecc85273b2b697e00a0b604eb3d150f8 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 82a3969d710f5fb7a2ee4c9afadb648653923fef (diff) | |
download | llvm-9c7aab362a4579d5ce26f4af2564b04720ec23a2.zip llvm-9c7aab362a4579d5ce26f4af2564b04720ec23a2.tar.gz llvm-9c7aab362a4579d5ce26f4af2564b04720ec23a2.tar.bz2 |
[SLP] Use vector types for cmp alt instructions costs
Similar to the other code that costs main/alt instructions, the cmp should be
using the VecTy for the costs, not the ScalarTy.
One of the tests look like it gets worse just because it is not simplified to
0.
Differential Revision: https://reviews.llvm.org/D153507
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions