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
- Build Status
Buildable 13702 Build 13702: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with a couple of minors
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
33987 | operations | |
34001 | 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 | As this is now a general function, please add for the else clause: assert(Subtarget.hasSSE2() && "SSE2 required"); |
operations