aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-02-27 10:34:04 +0800
committerGitHub <noreply@github.com>2024-02-27 10:34:04 +0800
commit2e564840e08d28fec9035aacc7a2d28106ed8606 (patch)
treed2992a68193582b5049ecd58c9704e261109ebd1 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentb791a51730f145308f3607d0d33038af78138304 (diff)
downloadllvm-2e564840e08d28fec9035aacc7a2d28106ed8606.zip
llvm-2e564840e08d28fec9035aacc7a2d28106ed8606.tar.gz
llvm-2e564840e08d28fec9035aacc7a2d28106ed8606.tar.bz2
[RISCV] Use getVectorIdxConstant in RISCVISelLowering.cpp. NFC (#83019)
We use getVectorIdxConstant() in some places and getConstant(XLenVT) or getIntPtrConstant() in others, but getVectorIdxTy() == getPointerTy() == XLenVT. This refactors RISCVISelLowering to use the former for nodes that use getVectorIdxTy(), i.e. INSERT_SUBVECTOR, EXTRACT_SUBVECTOR, INSERT_VECTOR_ELT and EXTRACT_VECTOR_ELT, so that we're consistent.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions