diff options
author | David Sherwood <david.sherwood@arm.com> | 2020-05-28 16:33:44 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2020-05-29 15:26:44 +0100 |
commit | 0609704760d0a94cccdbd243d0d750d74ee6c459 (patch) | |
tree | c1bab1e675ef0fd4339f340aeaa1fb12a0e4cc2e /llvm/lib/MC/MCDisassembler/MCDisassembler.cpp | |
parent | 41928c97b6a17264938fc765a6a0656d8b6e86ed (diff) | |
download | llvm-0609704760d0a94cccdbd243d0d750d74ee6c459.zip llvm-0609704760d0a94cccdbd243d0d750d74ee6c459.tar.gz llvm-0609704760d0a94cccdbd243d0d750d74ee6c459.tar.bz2 |
[SVE] Remove getNumElements() calls in visitGetElementPtrInst
Replace calls to getNumElements() with getElementCount() in order
to avoid warnings for scalable vectors. The warnings were discovered
by this existing test:
test/CodeGen/AArch64/sve-gep.ll
Differential revision: https://reviews.llvm.org/D80782
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/MCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions