[all-commits] [llvm/llvm-project] 09ec80: [PowerPC] Treat llvm.fmuladd intrinsic as using CTR

Ben Shi via All-commits all-commits at lists.llvm.org
Thu Jun 2 13:56:42 PDT 2022


  Branch: refs/heads/release/14.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 09ec80e16f475bd1f719bf82aade8cc8b4974187
      https://github.com/llvm/llvm-project/commit/09ec80e16f475bd1f719bf82aade8cc8b4974187
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    A llvm/test/CodeGen/PowerPC/pr55463.ll

  Log Message:
  -----------
  [PowerPC] Treat llvm.fmuladd intrinsic as using CTR

This fixes bug 55463, similar to D78668. This is a temporary fix since
we will switch to post-isel CTR loop determination in the future.

Reviewed By: dim, shchenz

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

(cherry picked from commit d9d15af7873fe16d7a0dde4def30f40fa9901777)


  Commit: 10d442522b1afa263f4424478ef62d80c2a8b484
      https://github.com/llvm/llvm-project/commit/10d442522b1afa263f4424478ef62d80c2a8b484
  Author: Ben Shi <ben.shi at streamcomputing.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M clang/lib/Basic/Targets/AVR.cpp
    M clang/lib/Basic/Targets/AVR.h
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGen/avr/argument.c
    M clang/test/CodeGen/avr/struct.c

  Log Message:
  -----------
  [clang][AVR] Implement standard calling convention for AVR and AVRTiny

This patch implements avr-gcc's calling convention:
https://gcc.gnu.org/wiki/avr-gcc#Calling_Convention

Reviewed By: aykevl

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

(cherry picked from commit 51585aa240de6ef07979345de5406483d7393b7b)


Compare: https://github.com/llvm/llvm-project/compare/b950bd2ce7ff...10d442522b1a


More information about the All-commits mailing list