[RISCV] Codegen support for memory operations
authorAlex Bradbury <asb@lowrisc.org>
Wed, 8 Nov 2017 12:20:01 +0000 (12:20 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Wed, 8 Nov 2017 12:20:01 +0000 (12:20 +0000)
commitcfa6291bb1ae1d1d66467b662169af9453b7d846
treef270e27c3ec2e0e8e02d59aa0af49a8d0c0e9647
parent0f0e1b54f07bb63ca8da28399028e2d5387ce500
[RISCV] Codegen support for memory operations

This required the implementation of RISCVTargetInstrInfo::copyPhysReg. Support
for lowering global addresses follow in the next patch.

Differential Revision: https://reviews.llvm.org/D29934

llvm-svn: 317685
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.h
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/test/CodeGen/RISCV/mem.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/wide-mem.ll [new file with mode: 0644]