OSDN Git Service

Merging r369095:
authorHans Wennborg <hans@hanshq.net>
Thu, 22 Aug 2019 13:49:53 +0000 (13:49 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 22 Aug 2019 13:49:53 +0000 (13:49 +0000)
commita6aeb619e0c2b583011a8c5852b21b2734a8ebb5
treec578ad8cdb04264360e1dad60ce69cb35108ba8f
parent2a5dcad3aae19cdd5b48366031aec0409379646f
Merging r369095:
------------------------------------------------------------------------
r369095 | lewis-revill | 2019-08-16 12:28:34 +0200 (Fri, 16 Aug 2019) | 11 lines

[RISCV] Lower inline asm constraint A for RISC-V

This allows arguments with the constraint A to be lowered to input nodes
for RISC-V, which implies a memory address stored in a register.

This patch adds the minimal amount of code required to get operands with
the right constraints to compile.

https://reviews.llvm.org/D54296

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_90@369651 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/InlineAsm.h
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
lib/Target/RISCV/RISCVISelLowering.cpp
lib/Target/RISCV/RISCVISelLowering.h
test/CodeGen/RISCV/inline-asm.ll