[PATCH] D38212: [PowerPC] Add profitablilty check for conversion to mtctr loops

Lei Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 15:30:40 PDT 2017


lei updated this revision to Diff 116629.
lei added a comment.

Since we are preventing the compiler from converting short loops to ctr loops, updating the ctr-minmaxnum.ll checks to be more restrictive and add default behaviour tests for the A2 core.


https://reviews.llvm.org/D38212

Files:
  lib/Target/PowerPC/PPCCTRLoops.cpp
  test/CodeGen/PowerPC/ctr-minmaxnum.ll
  test/CodeGen/PowerPC/ctrloop-shortLoops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38212.116629.patch
Type: text/x-patch
Size: 7275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170926/b70753a9/attachment.bin>


More information about the llvm-commits mailing list