[PATCH] D45308: [IPRA] Do not collect register usage information on functions that can be derefined

Kit Barton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 24 02:52:39 PDT 2018


kbarton updated this revision to Diff 156989.
kbarton added a comment.

Created a new function (isSafeForIPRA) to consistently check whether IPRA can be performed. This check is used in RegUsageInfoCollector as well as isSafeForNoCSROpt. I also went back to the original checks in isSafeForNoCSROpt to check for LocalLinkage.


https://reviews.llvm.org/D45308

Files:
  llvm/include/llvm/CodeGen/TargetFrameLowering.h
  llvm/lib/CodeGen/RegUsageInfoCollector.cpp
  llvm/test/CodeGen/PowerPC/ipra-odr.ll
  llvm/test/CodeGen/X86/ipra-external-linkage.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45308.156989.patch
Type: text/x-patch
Size: 5703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180724/658903d8/attachment.bin>


More information about the llvm-commits mailing list