[PATCH] D20310: Teach LLVM about Power 9 D-Form VSX Instructions

Thomas Jablin via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 09:32:33 PDT 2016


tjablin updated this revision to Diff 62764.
tjablin added a comment.
Herald added a subscriber: nemanjai.

Posting for CY.

- Add -verify-machineinstrs for new testcases
- Eliminate stack slot tracking by force using STXVD2X/LXVD2X when HasVSX is true, also update two testcases, and add a new testcase to guard this new behavior
- Unfortunately, we might be able to remove "UseVSXReg" because when RC is VRRC, we need this flag to know we should treat it as vs32-vs63 or v0-v31.


http://reviews.llvm.org/D20310

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/PPCInstrFormats.td
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/PowerPC/PPCInstrVSX.td
  lib/Target/PowerPC/PPCRegisterInfo.cpp
  lib/Target/PowerPC/PPCRegisterInfo.td
  lib/Target/PowerPC/PPCVSXCopy.cpp
  test/CodeGen/PowerPC/dform-test.ll
  test/CodeGen/PowerPC/p8-scalar_vector_conversions.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-spill-norwstore.ll
  test/CodeGen/PowerPC/vsx-vec-spill.ll
  test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20310.62764.patch
Type: text/x-patch
Size: 68662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160705/d188bed2/attachment.bin>


More information about the llvm-commits mailing list