[all-commits] [llvm/llvm-project] 1774a8: [flang] Add Sparc support to Optimizer/CodeGen/Tar...

rorth via All-commits all-commits at lists.llvm.org
Mon Oct 3 05:04:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1774a8a7639a4f63462795f306e5510dacddeb34
      https://github.com/llvm/llvm-project/commit/1774a8a7639a4f63462795f306e5510dacddeb34
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

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

  Log Message:
  -----------
  [flang] Add Sparc support to Optimizer/CodeGen/Target.cpp

As described in Issue #57642, `flang` currently lacks SPARC support in
`Optimizer/CodeGen/Target.cpp`, which causes a considerable number of tests
to `FAIL` with

  error: flang/lib/Optimizer/CodeGen/Target.cpp:310: not yet implemented:
target not implemented

This patch fixes this by following GCC`s documentation of the ABI described
in the Issue.

Tested on `sparcv9-sun-solaris2.11`.

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




More information about the All-commits mailing list