commit | 576cde25aa05205662863d9a9b67a92fa134a67c | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@sifive.com> | Wed Feb 17 18:19:22 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 03:21:26 2021 -0800 |
tree | e7e36c8f6c837244159f9eaed285352781f70f77 | |
parent | d970f6b6c920adababc72cfbaff74d2317076ebe [diff] |
[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. GitOrigin-RevId: 00c4e0a8f60b73a92a319963e84bfc9fdeee5b19