[PATCH] D29125: [PPC] override the base implementatiosn of areLoadsFromSameBasePtr and shouldScheduleLoadsNear for PowerPC

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 06:59:30 PST 2017


sfertile created this revision.

Implements overrides for the 'areLoadsFromSameBasePtr' function and 'shouldScheduleLoadsNear' function. Implementing these allows the pre-ra-scheduler to identify loads that are relatively close together and glue them together for scheduling purposes. The patch adds 2 back-end options allowing tuning of the number of vector/scalar loads to try to cluster together.


Repository:
  rL LLVM

https://reviews.llvm.org/D29125

Files:
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
  test/CodeGen/PowerPC/jaggedstructs.ll
  test/CodeGen/PowerPC/memcpy-vec.ll
  test/CodeGen/PowerPC/ppc32-vacopy.ll
  test/CodeGen/PowerPC/ppcf128-endian.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29125.85746.patch
Type: text/x-patch
Size: 8651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/a139078e/attachment.bin>


More information about the llvm-commits mailing list