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