HomePhabricator

[X86] Don't call hasFnAttribute and getFnAttribute for 'prefer-vector-width'…

Authored by craig.topper on Aug 27 2020, 10:30 AM.

Description

[X86] Don't call hasFnAttribute and getFnAttribute for 'prefer-vector-width' and 'min-legal-vector-width' in getSubtargetImpl

We only need to call getFnAttribute and then check if the Attribute
is None or not.

Details

Committed
craig.topperAug 27 2020, 10:40 AM
Parents
rGe9d9a612084b: Reapply D70800: Fix AArch64 AAPCS frame record chain
Branches
Unknown
Tags
Unknown