[all-commits] [llvm/llvm-project] f02c8a: [Clang][CodeGen] Promote in complex compound divas...
Mészáros Gergely via All-commits
all-commits at lists.llvm.org
Tue Mar 18 13:40:30 PDT 2025
Branch: refs/heads/users/Maetveis/complex-promoted-fix-assign
Home: https://github.com/llvm/llvm-project
Commit: f02c8a68e8655892e0b9390c48b6686c020d705a
https://github.com/llvm/llvm-project/commit/f02c8a68e8655892e0b9390c48b6686c020d705a
Author: Gergely Meszaros <meszaros.gergely97 at gmail.com>
Date: 2025-03-18 (Tue, 18 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