diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-10-14 11:30:48 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-10-14 11:34:12 -0700 |
commit | 44f0b13494ae89fa966173648891b9fa9b54ddca (patch) | |
tree | e3c092c27298a5fecdd1ce0ca69970fbb0813687 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 71d331ca22afc73ee5e54d4aeb5a7ed7f7c0475e (diff) | |
download | llvm-44f0b13494ae89fa966173648891b9fa9b54ddca.zip llvm-44f0b13494ae89fa966173648891b9fa9b54ddca.tar.gz llvm-44f0b13494ae89fa966173648891b9fa9b54ddca.tar.bz2 |
[RISCV] Correct RISCVTTIImpl::getRegUsageForType for vectors of pointers.
getPrimitiveSizeInBits returns 0 for pointers, we need to query
the size via DataLayout instead.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D135976
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions