aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-01-15 09:05:34 -0800
committerCraig Topper <craig.topper@sifive.com>2021-01-15 09:09:35 -0800
commit4c5066b0789d9c38d6362a684346b68261911d29 (patch)
treeb9956be75f4db02933e513e90cae8aa9fbbfe3a3 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent1e1a011b09d0e6e9ff62b37721906485c386708c (diff)
downloadllvm-4c5066b0789d9c38d6362a684346b68261911d29.zip
llvm-4c5066b0789d9c38d6362a684346b68261911d29.tar.gz
llvm-4c5066b0789d9c38d6362a684346b68261911d29.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions