[all-commits] [llvm/llvm-project] f2a2bf: [Clang][CodeGen] Promote in complex compound divas...
Mészáros Gergely via All-commits
all-commits at lists.llvm.org
Tue Mar 18 23:27:25 PDT 2025
Branch: refs/heads/users/Maetveis/complex-promoted-fix-assign
Home: https://github.com/llvm/llvm-project
Commit: f2a2bf5f94990535637c24c3192dbeb96e17b488
https://github.com/llvm/llvm-project/commit/f2a2bf5f94990535637c24c3192dbeb96e17b488
Author: Gergely Meszaros <meszaros.gergely97 at gmail.com>
Date: 2025-03-19 (Wed, 19 Mar 2025)
Changed paths:
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/test/CodeGen/cx-complex-range.c
Log Message:
-----------
[Clang][CodeGen] Promote in complex compound divassign
When `-fcomplex-arithmetic=promoted` is set complex divassign `/=` should
promote to a wider type the same way division (without assignment) does.
Prior to this change, Smith's algorithm would be used for divassign.
Fixes: https://github.com/llvm/llvm-project/issues/131129
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list