Allow EVEX encoded instruction selection when available for mul v8i32.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/X86InstrSSE.td | ||
---|---|---|
6725 ↗ | (On Diff #97226) | This looks like a change for VPCMPEQQ to remove NoVLX. |
lib/Target/X86/X86InstrSSE.td | ||
---|---|---|
6725 ↗ | (On Diff #97226) | AVX512 version of vpcmpeqq is not equivalent to AVX one. I think it was disabled by mistake. AVX AVX512 |
I'm sure it was a mistake, but I think it should be split from this patch and done as a pre-commit.
test/CodeGen/X86/avx-isa-check.ll | ||
---|---|---|
683 ↗ | (On Diff #97226) | What is this test really testing? Just that isel doesn't fail if you do a v8i32 mul with various isel combinations? It doesn't look like it tests which instruction is emitted. Would this test case even fail if you put it in with no other changes? If that's correct I think we should have a test that checks which instruction is emitted. |
I think we can base the predicate checks on encoding and "EVEX TO VEX Compression". I will pre-commit changes to avx512vl-arith.ll if the approach is acceptable.
In GlobalIsel https://reviews.llvm.org/D32698 i explicit check every instruction selection.
test/CodeGen/X86/avx-isa-check.ll | ||
---|---|---|
683 ↗ | (On Diff #97226) | yes, It only check that isel doesn't fail with various isel combinations. |