Add VSX Scalar loads and stores to the PPC back end
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 7 May 2015 18:24:05 +0000 (18:24 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 7 May 2015 18:24:05 +0000 (18:24 +0000)
commit308873bcb80c04c8c53ab97bb4f698d50279fdbe
tree9f8c521e9159c26305b52887eff4b1b012cf1f10
parent9e31c0cf91532c1e39055d2b6352f196959a2a13
Add VSX Scalar loads and stores to the PPC back end

This patch corresponds to review:
http://reviews.llvm.org/D9440

It adds a new register class to the PPC back end to contain single precision
values in VSX registers. Additionally, it adds scalar loads and stores for
VSX registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236755 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCInstrVSX.td
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/PowerPC/PPCRegisterInfo.td
test/CodeGen/PowerPC/ppc64le-smallarg.ll
test/CodeGen/PowerPC/vsx_scalar_ld_st.ll [new file with mode: 0644]
test/MC/Disassembler/PowerPC/vsx.txt
test/MC/PowerPC/vsx.s