[PATCH] D34608: [AArch64] Increase CSR cost when defering use of CSR is preferred

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 10:54:28 PDT 2017


junbuml updated this revision to Diff 104690.
junbuml edited the summary of this revision.
junbuml added a comment.

Changed the return value of getNumberOfTradableSpillsAgainstCSR from 1 to 0 in AArch64 as I didn't see any profitable case yet.


https://reviews.llvm.org/D34608

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/RegAllocGreedy.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  test/CodeGen/AArch64/csr-split.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34608.104690.patch
Type: text/x-patch
Size: 9827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/ad641962/attachment.bin>


More information about the llvm-commits mailing list