[llvm-branch-commits] [clang] [Clang][CodeGen] Do not promote if complex divisor is real (PR #131451)

Mészáros Gergely via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 18 13:12:57 PDT 2025


================
@@ -314,7 +313,7 @@ class ComplexExprEmitter
   }
 
   QualType getPromotionType(FPOptionsOverride Features, QualType Ty,
-                            bool IsDivOpCode = false) {
+                            bool IsComplexDivisor = false) {
----------------
Maetveis wrote:

Thanks, done. Sorry for the force push, seems like graphite does that by default.

https://github.com/llvm/llvm-project/pull/131451


More information about the llvm-branch-commits mailing list