diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-15 09:05:34 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-15 09:09:35 -0800 |
commit | 4c5066b0789d9c38d6362a684346b68261911d29 (patch) | |
tree | b9956be75f4db02933e513e90cae8aa9fbbfe3a3 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 1e1a011b09d0e6e9ff62b37721906485c386708c (diff) | |
download | llvm-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