HomePhabricator

[TargetLowering] Don't speculatively call ComputeNumSignBits. NFC

Authored by craig.topper on Jan 15 2021, 9:05 AM.

Description

[TargetLowering] Don't speculatively call ComputeNumSignBits. NFC

These methods are recursive so a little costly.

We only look at the result in one place in this function and it's
conditional. We also only need the second call if the first had
enough returned enough sign bits.

Details

Committed
craig.topperJan 15 2021, 9:09 AM
Parents
rG1e1a011b09d0: [flang] Disallow INTENT attribute on procedure dummy arguments
Branches
Unknown
Tags
Unknown