[all-commits] [llvm/llvm-project] d2ac89: [LoongArch] Support fastcc and treat it as ccc

WÁNG Xuěruì via All-commits all-commits at lists.llvm.org
Sun Sep 25 19:17:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2ac89b64e2a324e545b6484a9e25ff848f4df67
      https://github.com/llvm/llvm-project/commit/d2ac89b64e2a324e545b6484a9e25ff848f4df67
  Author: WANG Xuerui <git at xen0n.name>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp

  Log Message:
  -----------
  [LoongArch] Support fastcc and treat it as ccc

As explained in D68559 the `fastcc` calling convention may be requested
under certain conditions, hence the need for supporting it. But unlike
RISCV we actually treat it exactly like ccc, without actually inventing
any performance hack right here. And CSKY does the same thing.

This is going to fix a few more test cases with native LoongArch builds.

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




More information about the All-commits mailing list