Page MenuHomePhabricator

[RISCV][MC] Reject bare symbols for the simm12 operand type
AbandonedPublic

Authored by asb on Sep 6 2018, 6:50 AM.

Details

Reviewers
apazos
Summary

addi a0, a0, foo and lw a0, foo(a0) and similar are now rejected. An explicit %lo and %pcrel_lo modifier is required. This matches gas behaviour.

Diff Detail

Event Timeline

asb created this revision.Sep 6 2018, 6:50 AM

LGTM, verified this patch with the fuzzer tool

asb abandoned this revision.Sep 18 2018, 8:18 AM