aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2020-06-16 12:18:00 +0100
committerDavid Sherwood <david.sherwood@arm.com>2020-06-18 07:51:11 +0100
commit3ffb44b4481fe7bfaed67fe3e592908b9b4ad628 (patch)
tree065843dbc746dc1db67695624b359365726d30f6 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentfb495c31701b2cd697cf4282f63764c9cefd49c0 (diff)
downloadllvm-3ffb44b4481fe7bfaed67fe3e592908b9b4ad628.zip
llvm-3ffb44b4481fe7bfaed67fe3e592908b9b4ad628.tar.gz
llvm-3ffb44b4481fe7bfaed67fe3e592908b9b4ad628.tar.bz2
[CodeGen] Fix warnings in getVectorElementCount()
In EVT::getVectorElementCount() when the type is not simple we should return getExtendedVectorElementCount() from the function instead of constructing the ElementCount object manually. I discovered this warning in an existing test: test/CodeGen/AArch64/sve-intrinsics-loads.ll Differential Revision: https://reviews.llvm.org/D81927
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions