HomePhabricator

[X86] Add getAVX512Node helper. NFC.

Authored by RKSimon on Nov 13 2021, 5:59 AM.

Description

[X86] Add getAVX512Node helper. NFC.

For AVX512 targets without VLX, we have to widen 128/256-bit vectors to 512-bits to use some specific AVX512 instructions (or some other instructions with predicates etc.).

I've pulled out the widening code from LowerFunnelShift into the helper function, so we can convert some other widening patterns in the future.

Details

Committed
RKSimonNov 13 2021, 5:59 AM
Parents
rG8ed8d370880b: [SCEV] Update SCEVLoopGuardRewriter to hold reference to map. (NFC)
Branches
Unknown
Tags
Unknown