[all-commits] [llvm/llvm-project] 4edcf8: [LoongArch] Moved expansion of PseudoCALL to Loong...

wanglei via All-commits all-commits at lists.llvm.org
Fri Nov 11 02:13:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4edcf8ab9f107c8d29c2e7a923c24a3a51e01435
      https://github.com/llvm/llvm-project/commit/4edcf8ab9f107c8d29c2e7a923c24a3a51e01435
  Author: wanglei <wanglei at loongson.cn>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp
    A llvm/test/CodeGen/LoongArch/expand-call.ll

  Log Message:
  -----------
  [LoongArch] Moved expansion of PseudoCALL to LoongArchPreRAExpandPseudo pass

This patch moves the expansion of the `PseudoCALL` insturction to
`LoongArchPreRAExpandPseudo` pass. This helps to expand into different
instruction sequences according to different CodeModels.

Reviewed By: SixWeining

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




More information about the All-commits mailing list