[RISCV] Handle globals and block addresses in asm operands
authorLuís Marques <luismarques@lowrisc.org>
Mon, 13 Jan 2020 15:33:07 +0000 (15:33 +0000)
committerLuís Marques <luismarques@lowrisc.org>
Mon, 13 Jan 2020 15:34:56 +0000 (15:34 +0000)
commit043c5eafa8789d76b06b93d157c928830c4d0814
treee373af7d142c22802ef4158eecffbc8a2e86b3ea
parentb11027a08620dce2887377c830be239a4af478b6
[RISCV] Handle globals and block addresses in asm operands

Summary: These seem to be the machine operand types currently needed by the
RISC-V target.

Reviewers: asb, lenary
Reviewed By: lenary
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72275
llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
llvm/test/CodeGen/RISCV/inline-asm.ll