HomePhabricator

[LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization…

Authored by craig.topper on Jun 29 2021, 10:38 AM.

Description

[LegalizeTypes][VE] Don't Expand BITREVERSE/BSWAP during type legalization promotion if they will be promoted for NVT in op legalization.

We were trying to expand these if they were going to be expanded
in op legalization so that we generated the minimum number of
operations. We failed to take into account that NVT could be
promoted to another legal type in op legalization.

Hoping this fixes the issue on the VE target reported as a follow
up to D96681. The check line changes were taken from before
1e46b6f4012399a2fef5fbbb4ed06fc919835414 so this patch does
appear to improve some cases that had previously regressed.

Details

Committed
craig.topperJun 29 2021, 11:00 AM
Parents
rG71be4db05bbd: [lldb] Check for the mangled symbol name for objc_copyRealizedClassList_nolock
Branches
Unknown
Tags
Unknown