summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2018-09-18 15:08:35 +0000
committerAlex Bradbury <asb@lowrisc.org>2018-09-18 15:08:35 +0000
commit74340f1805443cdc356c8fd7c8e4a25eb396b2b4 (patch)
treea359057ef6d3663730de6122d7f6d15d46c66942 /llvm/lib/CodeGen/MachineSink.cpp
parentd4ed32c52673337cabc2a0e9b62513d91d24f379 (diff)
downloadbcm5719-llvm-74340f1805443cdc356c8fd7c8e4a25eb396b2b4.tar.gz
bcm5719-llvm-74340f1805443cdc356c8fd7c8e4a25eb396b2b4.zip
[RISCV][MC] Tighten up checking of sybol operands to lui and auipc
Reject bare symbols and accept only %pcrel_hi(sym) for auipc and %hi(sym) for lui. Also test valid operand modifiers in rv32i-valid.s. Note this is slightly stricter than gas, which will accept either %pcrel_hi or %hi for both lui and auipc. Differential Revision: https://reviews.llvm.org/D51731 llvm-svn: 342486
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud