[all-commits] [llvm/llvm-project] 4c5066: [TargetLowering] Don't speculatively call ComputeN...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Jan 15 09:16:34 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4c5066b0789d9c38d6362a684346b68261911d29
https://github.com/llvm/llvm-project/commit/4c5066b0789d9c38d6362a684346b68261911d29
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list