diff options
author | David Green <david.green@arm.com> | 2024-10-14 09:59:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 09:59:26 +0100 |
commit | 828d72b263a2e62431b317d155d5347d1112e623 (patch) | |
tree | 66e4f330b58760d0358d41f87257708f5794e9cd /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 3dba5d858455149cb843c2f000109265cc523267 (diff) | |
download | llvm-828d72b263a2e62431b317d155d5347d1112e623.zip llvm-828d72b263a2e62431b317d155d5347d1112e623.tar.gz llvm-828d72b263a2e62431b317d155d5347d1112e623.tar.bz2 |
[GlobalISel] Add an assert for the DemandedElts APInt size. (#112150)
Similar to the other implementations in DAG/ValueTracking, this adds an
assert that the size of the DemandedElts is what we expect it to be -
the size of a fixed length vector or APInt(1,1) otherwise. The
G_BUILDVECTOR is fixed as it was passing an original DemandedElts for
the scalar operands.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions