diff options
author | David Sherwood <david.sherwood@arm.com> | 2020-05-26 16:33:06 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2020-06-03 07:01:20 +0100 |
commit | e602cd878e308133cbbfdb73df686de2aa890bc1 (patch) | |
tree | 72a9af3cd7476400426c5a16d4d75a88744d2d04 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | bb1d8bf2707bdca89c1f5e719057f1000232ccc3 (diff) | |
download | llvm-e602cd878e308133cbbfdb73df686de2aa890bc1.zip llvm-e602cd878e308133cbbfdb73df686de2aa890bc1.tar.gz llvm-e602cd878e308133cbbfdb73df686de2aa890bc1.tar.bz2 |
[CodeGen] Fix warnings in getPackedVectorTypeFromPredicateType
Use getVectorElementCount() instead of getVectorNumElements().
The code changed in this patch is covered by an existing test:
CodeGen/AArch64/sve-intrinsics-contiguous-prefetches.ll
Differential Revision: https://reviews.llvm.org/D80615
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions