aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-03-29 19:25:17 +0000
committerDavid Green <david.green@arm.com>2025-03-29 19:25:17 +0000
commit9c6eca28cbd4689173bc8b0733ffe39363481103 (patch)
tree9f29490d0ce7659a644e131b43a42dee3c6d92ec /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
parent884b19ab40c8b6e5d1fb54894c0418fd27bb93f9 (diff)
downloadllvm-9c6eca28cbd4689173bc8b0733ffe39363481103.zip
llvm-9c6eca28cbd4689173bc8b0733ffe39363481103.tar.gz
llvm-9c6eca28cbd4689173bc8b0733ffe39363481103.tar.bz2
[AArch64] Return an invalid cost for vscale x 2 x i128 srem.
This protects against invalid size requests on scalable vectors by checking the original VT, not the legalized type when checking for scalars. The cost returned is now invalid, which lines up with the codegen not being able to produce a result.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions