[all-commits] [llvm/llvm-project] ef4c17: [flang] Complex numbers in function arguments on W...

Markus Mützel via All-commits all-commits at lists.llvm.org
Tue Apr 18 17:51:53 PDT 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ef4c1777ee8007bfc2eab8aded9fa7d0bf37eed9
      https://github.com/llvm/llvm-project/commit/ef4c1777ee8007bfc2eab8aded9fa7d0bf37eed9
  Author: Markus Mützel <markus.muetzel at gmx.de>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/Target.cpp
    M flang/test/Fir/target-rewrite-complex.fir

  Log Message:
  -----------
  [flang] Complex numbers in function arguments on Windows

Function arguments or return values that are complex floating point values
aren't correctly lowered for Windows x86 32-bit and 64-bit targets.
See: https://github.com/llvm/llvm-project/issues/61976

Add targets that are specific for these platforms and OS.

With thanks to @mstorsjo for pointing out the fix.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D147768

(cherry picked from commit 774703ec08f62d702d40e1f97cd35ae5f732c544)




More information about the All-commits mailing list