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

Markus Mützel via All-commits all-commits at lists.llvm.org
Mon Apr 17 11:02:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 774703ec08f62d702d40e1f97cd35ae5f732c544
      https://github.com/llvm/llvm-project/commit/774703ec08f62d702d40e1f97cd35ae5f732c544
  Author: Markus Mützel <markus.muetzel at gmx.de>
  Date:   2023-04-17 (Mon, 17 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




More information about the All-commits mailing list