aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-11-10 15:19:31 +0000
committerDavid Green <david.green@arm.com>2024-11-10 15:19:31 +0000
commit91a48e06463b23679907e151bdfec3e6093e9f16 (patch)
treec0459bb340e2c8c887954258f523eb3c921c8a4a /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parentc8f33738a5a801b5bc083ae9b2ced39ef1b12980 (diff)
downloadllvm-91a48e06463b23679907e151bdfec3e6093e9f16.zip
llvm-91a48e06463b23679907e151bdfec3e6093e9f16.tar.gz
llvm-91a48e06463b23679907e151bdfec3e6093e9f16.tar.bz2
[AArch64][GlobalISel] Implicitly truncate APInt in matchExt combine.
The APInt using FirstRealElt + 1 is intended to match the next element, which might overflow the size of MaskBits. This prevents a new assert in APInt from triggering.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions