This is a preparatory step for D41811: refactoring code for breaking vector operands of binary operation to legal-types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a couple of minors
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
33987 ↗ | (On Diff #129370) | operations |
34001 ↗ | (On Diff #129370) | As this is now a general function, please add an assertion (same for 256/128 cases): assert((VT.getSizeInBits() % 512) == 0 && "Illegal vector size"); |
34006 ↗ | (On Diff #129370) | As this is now a general function, please add for the else clause: assert(Subtarget.hasSSE2() && "SSE2 required"); |