diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-13 19:55:34 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2025-07-13 19:55:34 +0100 |
commit | f4c7cc26b65912c9951f0cb09b3a5ba082096687 (patch) | |
tree | 220dc1743bc00b3d5ef84efc7bd05ecaad9eab28 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | f168175d01247af53e3ab243486065facc18fa49 (diff) | |
download | llvm-f4c7cc26b65912c9951f0cb09b3a5ba082096687.zip llvm-f4c7cc26b65912c9951f0cb09b3a5ba082096687.tar.gz llvm-f4c7cc26b65912c9951f0cb09b3a5ba082096687.tar.bz2 |
[LV] Use more precise isPredicatedInst in legacy CCH (NFC).
Legal::isMaskRequired may be overly conservative and also return true
when no mask is actually required.
Use isPredicatedInst from the cost model instead, which fixes a
cost-model divergence between legacy and VPlan cost model where the
legacy cost model incorrectly assumed some loads were predicated.
Fixes https://github.com/llvm/llvm-project/issues/148431.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions