[PATCH] D66576: [Regalloc][WIP] Increase CSR cost in RegAllocGreedy to favour splitting/spill over CSR first use

Zixuan Wu (Zeson) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 01:22:35 PDT 2019


wuzish updated this revision to Diff 217086.
wuzish edited the summary of this revision.
wuzish added a reviewer: xbolva00.
wuzish added a comment.
Herald added subscribers: jfb, kbarton, javed.absar.

Enable it for AARCH64 and x86, and address testcases.


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

https://reviews.llvm.org/D66576

Files:
  llvm/lib/CodeGen/RegAllocGreedy.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.h
  llvm/lib/Target/PowerPC/PPCRegisterInfo.h
  llvm/lib/Target/X86/X86RegisterInfo.h
  llvm/test/CodeGen/AArch64/cgp-usubo.ll
  llvm/test/CodeGen/AArch64/csr-split.ll
  llvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
  llvm/test/CodeGen/PowerPC/csr-split.ll
  llvm/test/CodeGen/PowerPC/tail-dup-break-cfg.ll
  llvm/test/CodeGen/PowerPC/tail-dup-layout.ll
  llvm/test/CodeGen/X86/atom-fixup-lea2.ll
  llvm/test/CodeGen/X86/block-placement.ll
  llvm/test/CodeGen/X86/bmi.ll
  llvm/test/CodeGen/X86/callbr-asm-branch-folding.ll
  llvm/test/CodeGen/X86/cgp-usubo.ll
  llvm/test/CodeGen/X86/csr-split.ll
  llvm/test/CodeGen/X86/fp128-cast.ll
  llvm/test/CodeGen/X86/peep-test-4.ll
  llvm/test/CodeGen/X86/ragreedy-bug.ll
  llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
  llvm/test/CodeGen/X86/regalloc-advanced-split-cost.ll
  llvm/test/CodeGen/X86/sjlj-eh.ll
  llvm/test/CodeGen/X86/speculative-load-hardening.ll
  llvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll
  llvm/test/CodeGen/X86/tail-opts.ll
  llvm/test/CodeGen/X86/tbm_patterns.ll
  llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
  llvm/test/DebugInfo/X86/live-debug-values.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66576.217086.patch
Type: text/x-patch
Size: 115899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/b0373186/attachment.bin>


More information about the llvm-commits mailing list