[all-commits] [llvm/llvm-project] aa7312: Fix complex long double division with -mno-x87. (#...

Zahira Ammarguellat via All-commits all-commits at lists.llvm.org
Tue Apr 1 08:11:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa73124e51d89a22b2ba89380d3a1403e4f1c385
      https://github.com/llvm/llvm-project/commit/aa73124e51d89a22b2ba89380d3a1403e4f1c385
  Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/CodeGen/promoted-complex-div.c

  Log Message:
  -----------
  Fix complex long double division with -mno-x87. (#133152)

The combination of `-fcomplex-arithmetic=promoted` and `mno-x87` for
`double` complex division is leading to a crash.
See https://godbolt.org/z/189G957oY
This patch fixes that.



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