[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)
Eli Friedman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 17 13:59:06 PDT 2025
================
@@ -314,7 +313,7 @@ class ComplexExprEmitter
}
QualType getPromotionType(FPOptionsOverride Features, QualType Ty,
- bool IsDivOpCode = false) {
+ bool IsComplexDivisor = false) {
----------------
efriedma-quic wrote:
Maybe delete the `= false`? Default arguments tends to be confusing in cases like this.
https://github.com/llvm/llvm-project/pull/131451
More information about the llvm-branch-commits
mailing list