[PATCH] D148622: [LoongArch] Align functions and loops better according to uarch

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 00:11:27 PDT 2023


xen0n updated this revision to Diff 527763.
xen0n edited the summary of this revision.
xen0n added a comment.

Rebased and added a dedicated test case for this change.

Also changed the preferred function alignment to 32 bytes per Loongson benchmark results.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148622/new/

https://reviews.llvm.org/D148622

Files:
  llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp
  llvm/lib/Target/LoongArch/LoongArchSubtarget.h
  llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
  llvm/test/CodeGen/LoongArch/ir-instruction/br.ll
  llvm/test/CodeGen/LoongArch/preferred-alignments.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148622.527763.patch
Type: text/x-patch
Size: 13883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230602/12ffd426/attachment.bin>


More information about the llvm-commits mailing list