HomePhabricator

[LegalizeTypes] Don't use PromoteTargetBoolean in WidenVecOp_SETCC.

Authored by craig.topper on Oct 15 2019, 8:29 PM.

Description

[LegalizeTypes] Don't use PromoteTargetBoolean in WidenVecOp_SETCC.

Similar to r374970, but I don't have a test for this.

PromoteTargetBoolean is intended to be use for legalizing an
operand that needs to be promoted. It picks its type based on
the return from getSetccResultType and is intended to be used
when we have freedom to pick the new type. But the return type
we need for WidenVecOp_SETCC is completely determined by the
type of the input node.

llvm-svn: 374972

Details

Committed
craig.topperOct 15 2019, 8:29 PM
Parents
rG1e3e77e0b689: Fix failing mangle-concept.cpp test.
Branches
Unknown
Tags
Unknown