Replacing the usage of MVT with EVT in case the vector type is expanded.
Details
Diff Detail
Event Timeline
test/CodeGen/X86/gep-expanded-vector.ll | ||
---|---|---|
1 | 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 | 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.
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.
On the other hand, you probably want to specify a triple - the issue is x86_64-only, right?