[PATCH] D23155: Power9 - Part-word VSX integer scalar loads/stores and sign extend instructions

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 08:27:09 PDT 2016


nemanjai updated this revision to Diff 72834.
nemanjai added a comment.

Moved the definition of the static functions that were defined in 3 places to the class definition.
Clarified the comment regarding the handling of VMX (Altivec) registers.
Rebased the patch on a more recent revision (r282478) since a lot of files and behaviour changed.

Please note: there are a couple of FIXME's in the test cases. The reason for this is that there are a number of instructions we exploited recently that can match BUILD_VECTOR nodes. Some of the previously committed patches make the code in this patch unable to match a BUILD_VECTOR node under very specific conditions. I have a subsequent patch coming up which will take all the recent changes into account and produce optimal code for BUILD_VECTOR nodes for both Power8 and Power9.


Repository:
  rL LLVM

https://reviews.llvm.org/D23155

Files:
  lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
  lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
  lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
  lib/Target/PowerPC/PPCAsmPrinter.cpp
  lib/Target/PowerPC/PPCCallingConv.td
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/PowerPC/PPCInstrAltivec.td
  lib/Target/PowerPC/PPCInstrFormats.td
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCInstrVSX.td
  lib/Target/PowerPC/PPCMIPeephole.cpp
  lib/Target/PowerPC/PPCRegisterInfo.cpp
  lib/Target/PowerPC/PPCRegisterInfo.td
  lib/Target/PowerPC/PPCVSXCopy.cpp
  test/CodeGen/PowerPC/inline-asm-scalar-to-vector-error.ll
  test/CodeGen/PowerPC/load-v4i8-improved.ll
  test/CodeGen/PowerPC/machine-combiner.ll
  test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll
  test/CodeGen/PowerPC/power9-moves-and-splats.ll
  test/CodeGen/PowerPC/ppc64-i128-abi.ll
  test/CodeGen/PowerPC/select-i1-vs-i1.ll
  test/CodeGen/PowerPC/sjlj.ll
  test/CodeGen/PowerPC/vsx-args.ll
  test/CodeGen/PowerPC/vsx-infl-copy1.ll
  test/CodeGen/PowerPC/vsx-p8.ll
  test/CodeGen/PowerPC/vsx-partword-int-loads-and-stores.ll
  test/CodeGen/PowerPC/vsx-spill-norwstore.ll
  test/CodeGen/PowerPC/vsx-vec-spill.ll
  test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23155.72834.patch
Type: text/x-patch
Size: 129461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160928/814aab1c/attachment-0001.bin>


More information about the llvm-commits mailing list