Test function mask_cmp_128 failed during ISEL
LLVM ERROR: Cannot select: t37: v8i1 = X86ISD::KSHIFTL t48, TargetConstant:i8<4>
due to v8i1 only available under AVX512DQ.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
38442 | We might be able to recover from some of the regressions if we can use this before legalization as well? |
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
38442 | Eh, You mean we do the combineBitcastToBoolVector before legalizaeType procedure regardless of whether VT is Legal and let LegalizeType procedure handle the illegal Type? |
llvm/lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
38442 | I made a mistake. v16i1 is legal for avx512f. There's no regressions now. |
Ping. @RKSimon, I think the check here won't break the further optimization. Can we let this patch in? Or you have a better solution?