[all-commits] [llvm/llvm-project] 696ea6: Disable call to fma for soft-float

Kishan Parmar via All-commits all-commits at lists.llvm.org
Thu Sep 28 01:38:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 696ea67f197ff0818cb649db61d51df8e81eb16e
      https://github.com/llvm/llvm-project/commit/696ea67f197ff0818cb649db61d51df8e81eb16e
  Author: Kishan Parmar <kparmar2101 at gmail.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/ppcsoftops.ll

  Log Message:
  -----------
  Disable call to fma for soft-float

PowerPC backend generate calls to libc function calls
for soft-float, regardless of the -nostdlib /-ffreestanding flag.
fma is not a function provided by compiler-rt builtins and
thus should not be generated here.
PR : [[ https://github.com/llvm/llvm-project/issues/55230 | #55230 ]]

Below is patch given by @nemanjai

Reviewed By: jhibbits

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




More information about the All-commits mailing list