Skip to content
Commit 00c4e0a8 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Guard the ISD::EXTRACT_VECTOR_ELT handling in ReplaceNodeResults...

[RISCV] Guard the ISD::EXTRACT_VECTOR_ELT handling in ReplaceNodeResults against fixed vectors and non-MVT types.

The type legalizer is calling this code based on the scalar type so
we need to verify the input type is a scalable vector.

The vector type has also not been legalized yet when this is called
so we need to use EVT for it.
parent ff6c84b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment