[all-commits] [llvm/llvm-project] f01707: [Clang][CodeGen] Promote in complex compound divas...
Mészáros Gergely via All-commits
all-commits at lists.llvm.org
Tue Mar 18 23:30:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f017073cd8ac9e627db17678c6b64e9abe4fbec7
https://github.com/llvm/llvm-project/commit/f017073cd8ac9e627db17678c6b64e9abe4fbec7
Author: Mészáros Gergely <gergely.meszaros at intel.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 (#131453)
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