HomePhabricator

[X86] Simplify some code in combineTruncatedArithmetic. NFC

Authored by craig.topper on May 3 2020, 11:53 PM.

Description

[X86] Simplify some code in combineTruncatedArithmetic. NFC

We haven't promoted AND/OR/XOR to vXi64 types for a while. So
there's no reason to use isOperationLegalOrPromote. So we can
just use isOperationLegal by merging with ADD handling.

Details

Committed
craig.topperMay 3 2020, 11:53 PM
Parents
rG8b53fdd3b659: [X86] Custom legalize v16i64->v16i8 truncate with avx512.
Branches
Unknown
Tags
Unknown