HomePhabricator

[X86] Update costs for truncates from less than 128-bit vectors to vXi1 on pre…

Authored by craig.topper on Apr 28 2020, 10:50 AM.

Description

[X86] Update costs for truncates from less than 128-bit vectors to vXi1 on pre-avx512 targets

vXi1 types are legalized by promoting, but the narrow vectors
are legalized by widening. This results in some truncates turning
into any_extends.

Details

Committed
craig.topperApr 28 2020, 11:35 AM
Parents
rG2af31b3b6552: [AArch64][GlobalISel] Select immediate forms of compares by wiggling constants
Branches
Unknown
Tags
Unknown