Replacing the usage of MVT with EVT in case the vector type is expanded.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/CodeGen/X86/gep-expanded-vector.ll | ||
---|---|---|
1 ↗ | (On Diff #67314) | Why does this test require SKX? If we're crashing in the builder - because v64i64 isn't simple - this should crash regardless of feature-set. If you do need AVX512 of some sort, it would be better to specify it explicitly with -mattr. |
7 ↗ | (On Diff #67314) | Can you modify the test so that it (a) produces some kind of result, and (b) we check that we get the right result (as opposed to just "not crashing")? |
Updating the test to actually check that code is emitted with right address calculation.
The test looks better now - but, as I wrote on the last iteration, please specify a triple (either as part of the IR, or, better yet, pass -mtriple to llc).
Otherwise, the test is dependent on the host triple - so you'll break every build that's not x86_64.