[PATCH] D38575: [PowerPC] Recommit r314244 with refactoring and off by default

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 22:36:53 PDT 2017


nemanjai created this revision.
Herald added a subscriber: qcolombet.

This patch reimplements everything that was pulled out in r314244. The code is moved out of the main selection path and a single entry point is provided. At this time, the transformation is off by default and there are a number of knobs to control which patterns to transform. After adequate field-testing, the plan is to turn this on by default and remove some of the control knobs for turning it off.


Repository:
  rL LLVM

https://reviews.llvm.org/D38575

Files:
  lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  test/CodeGen/PowerPC/CompareEliminationSpillIssue.ll
  test/CodeGen/PowerPC/crbits.ll
  test/CodeGen/PowerPC/expand-isel.ll
  test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
  test/CodeGen/PowerPC/optcmp.ll
  test/CodeGen/PowerPC/ppc-crbits-onoff.ll
  test/CodeGen/PowerPC/setcc-logic.ll
  test/CodeGen/PowerPC/testComparesi32gtu.ll
  test/CodeGen/PowerPC/testComparesi32leu.ll
  test/CodeGen/PowerPC/testComparesi32ltu.ll
  test/CodeGen/PowerPC/testComparesieqsc.ll
  test/CodeGen/PowerPC/testComparesieqsi.ll
  test/CodeGen/PowerPC/testComparesieqsll.ll
  test/CodeGen/PowerPC/testComparesieqss.ll
  test/CodeGen/PowerPC/testComparesiequc.ll
  test/CodeGen/PowerPC/testComparesiequi.ll
  test/CodeGen/PowerPC/testComparesiequll.ll
  test/CodeGen/PowerPC/testComparesiequs.ll
  test/CodeGen/PowerPC/testComparesigesc.ll
  test/CodeGen/PowerPC/testComparesigesi.ll
  test/CodeGen/PowerPC/testComparesigesll.ll
  test/CodeGen/PowerPC/testComparesigess.ll
  test/CodeGen/PowerPC/testComparesigeuc.ll
  test/CodeGen/PowerPC/testComparesigeui.ll
  test/CodeGen/PowerPC/testComparesigeull.ll
  test/CodeGen/PowerPC/testComparesigeus.ll
  test/CodeGen/PowerPC/testComparesigtsc.ll
  test/CodeGen/PowerPC/testComparesigtsi.ll
  test/CodeGen/PowerPC/testComparesigtsll.ll
  test/CodeGen/PowerPC/testComparesigtss.ll
  test/CodeGen/PowerPC/testComparesigtuc.ll
  test/CodeGen/PowerPC/testComparesigtui.ll
  test/CodeGen/PowerPC/testComparesigtus.ll
  test/CodeGen/PowerPC/testComparesilesc.ll
  test/CodeGen/PowerPC/testComparesilesi.ll
  test/CodeGen/PowerPC/testComparesilesll.ll
  test/CodeGen/PowerPC/testComparesiless.ll
  test/CodeGen/PowerPC/testComparesileuc.ll
  test/CodeGen/PowerPC/testComparesileui.ll
  test/CodeGen/PowerPC/testComparesileull.ll
  test/CodeGen/PowerPC/testComparesileus.ll
  test/CodeGen/PowerPC/testComparesiltsc.ll
  test/CodeGen/PowerPC/testComparesiltsi.ll
  test/CodeGen/PowerPC/testComparesiltsll.ll
  test/CodeGen/PowerPC/testComparesiltss.ll
  test/CodeGen/PowerPC/testComparesiltuc.ll
  test/CodeGen/PowerPC/testComparesiltui.ll
  test/CodeGen/PowerPC/testComparesiltus.ll
  test/CodeGen/PowerPC/testComparesinesc.ll
  test/CodeGen/PowerPC/testComparesinesi.ll
  test/CodeGen/PowerPC/testComparesinesll.ll
  test/CodeGen/PowerPC/testComparesiness.ll
  test/CodeGen/PowerPC/testComparesineuc.ll
  test/CodeGen/PowerPC/testComparesineui.ll
  test/CodeGen/PowerPC/testComparesineull.ll
  test/CodeGen/PowerPC/testComparesineus.ll
  test/CodeGen/PowerPC/testCompareslleqsc.ll
  test/CodeGen/PowerPC/testCompareslleqsi.ll
  test/CodeGen/PowerPC/testCompareslleqsll.ll
  test/CodeGen/PowerPC/testCompareslleqss.ll
  test/CodeGen/PowerPC/testComparesllequc.ll
  test/CodeGen/PowerPC/testComparesllequi.ll
  test/CodeGen/PowerPC/testComparesllequll.ll
  test/CodeGen/PowerPC/testComparesllequs.ll
  test/CodeGen/PowerPC/testComparesllgesc.ll
  test/CodeGen/PowerPC/testComparesllgesi.ll
  test/CodeGen/PowerPC/testComparesllgesll.ll
  test/CodeGen/PowerPC/testComparesllgess.ll
  test/CodeGen/PowerPC/testComparesllgeuc.ll
  test/CodeGen/PowerPC/testComparesllgeui.ll
  test/CodeGen/PowerPC/testComparesllgeull.ll
  test/CodeGen/PowerPC/testComparesllgeus.ll
  test/CodeGen/PowerPC/testComparesllgtsll.ll
  test/CodeGen/PowerPC/testComparesllgtuc.ll
  test/CodeGen/PowerPC/testComparesllgtui.ll
  test/CodeGen/PowerPC/testComparesllgtus.ll
  test/CodeGen/PowerPC/testCompareslllesc.ll
  test/CodeGen/PowerPC/testCompareslllesi.ll
  test/CodeGen/PowerPC/testCompareslllesll.ll
  test/CodeGen/PowerPC/testComparesllless.ll
  test/CodeGen/PowerPC/testComparesllleuc.ll
  test/CodeGen/PowerPC/testComparesllleui.ll
  test/CodeGen/PowerPC/testComparesllleull.ll
  test/CodeGen/PowerPC/testComparesllleus.ll
  test/CodeGen/PowerPC/testComparesllltsll.ll
  test/CodeGen/PowerPC/testComparesllltuc.ll
  test/CodeGen/PowerPC/testComparesllltui.ll
  test/CodeGen/PowerPC/testComparesllltus.ll
  test/CodeGen/PowerPC/testComparesllnesll.ll
  test/CodeGen/PowerPC/testComparesllneull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38575.117776.patch
Type: text/x-patch
Size: 181662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171005/382adba4/attachment-0001.bin>


More information about the llvm-commits mailing list