aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-17 18:56:11 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-17 19:27:08 -0800
commit016eca8f90a9be1ae797a59c40c7161499b02909 (patch)
treed4a2a2f24c22fb10f85ed4a3d69b48978d8b500a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent58ecfccd0dd3a064a11b1f2eb164cbff7d60faf5 (diff)
downloadllvm-016eca8f90a9be1ae797a59c40c7161499b02909.zip
llvm-016eca8f90a9be1ae797a59c40c7161499b02909.tar.gz
llvm-016eca8f90a9be1ae797a59c40c7161499b02909.tar.bz2
[RISCV] Guard LowerINSERT_VECTOR_ELT against fixed vectors.
The type legalizer can call this code based on the scalar type so we need to verify the vector type is a scalable vector. I think due to how type legalization visits nodes, the vector type will have already been legalized so we don't have an issue with using MVT here like we did for EXTRACT_VECTOR_ELT. I've added a test just in case.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions