HomePhabricator

[X86] Add generic splitVectorOp helper. NFC

Authored by RKSimon on Mon, Nov 15, 9:57 AM.

Description

[X86] Add generic splitVectorOp helper. NFC

Update splitVectorIntUnary/splitVectorIntBinary to use this internally, after some operand type sanity checks.

Avoid code duplication and makes it easier to split other vector instruction forms in the future.

Details

Committed
RKSimonMon, Nov 15, 9:59 AM
Parents
rGf59307bfdc01: [RISCV] Teach needVSETVLIPHI to handle mask register instructions.
Branches
Unknown
Tags
Unknown