[llvm] [InstCombine] Optimize `sinh` and `cosh` divivsions (PR #81433)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 11 23:21:42 PST 2024
================
@@ -48,7 +48,8 @@ static Value *simplifyValueKnownNonZero(Value *V, InstCombinerImpl &IC,
// If V has multiple uses, then we would have to do more analysis to determine
// if this is safe. For example, the use could be in dynamically unreached
// code.
- if (!V->hasOneUse()) return nullptr;
----------------
dtcxzyw wrote:
Please use `git clang-format` to avoid formatting unchanged code.
https://github.com/llvm/llvm-project/pull/81433
More information about the llvm-commits
mailing list