[PATCH] D142876: [LoongArch] Enable shrink wrapping when optimize the function

wanglei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 01:25:41 PST 2023


wangleiat created this revision.
wangleiat added reviewers: SixWeining, xen0n, xry111, MaskRay, gonglingqin.
Herald added a subscriber: hiraditya.
Herald added a project: All.
wangleiat requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142876

Files:
  llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchFrameLowering.h
  llvm/test/CodeGen/LoongArch/double-br-fcmp.ll
  llvm/test/CodeGen/LoongArch/float-br-fcmp.ll
  llvm/test/CodeGen/LoongArch/shrinkwrap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142876.493235.patch
Type: text/x-patch
Size: 77120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230130/0094494d/attachment.bin>


More information about the llvm-commits mailing list