[all-commits] [llvm/llvm-project] 25ecfb: [LoongArch] Enable shrink wrapping when optimize t...

wanglei via All-commits all-commits at lists.llvm.org
Tue Jan 31 18:08:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25ecfbf892ae736d92cd5c88b979b45f42f1e467
      https://github.com/llvm/llvm-project/commit/25ecfbf892ae736d92cd5c88b979b45f42f1e467
  Author: wanglei <wanglei at loongson.cn>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchFrameLowering.h
    M llvm/test/CodeGen/LoongArch/double-br-fcmp.ll
    M llvm/test/CodeGen/LoongArch/float-br-fcmp.ll
    A llvm/test/CodeGen/LoongArch/shrinkwrap.ll

  Log Message:
  -----------
  [LoongArch] Enable shrink wrapping when optimize the function

We set it conservatively so that it is turned on when optimization
is enabled, i.e. when the optimization level is not `O0`.

Reviewed By: xen0n

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




More information about the All-commits mailing list