[PATCH] D50496: [RISCV] Implment pseudo instructions for load/store from a symbol address.

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 15 11:54:17 PST 2019


apazos added a comment.

Just noted that  this is failing:

"sw zero, (a0)"   
<stdin>:1:15: error: operand must be a symbol with %lo/%pcrel_lo modifier or an integer in the range [-2048, 2047]
sw      zero, (a0)

  ^

We should also accept it as  "sw  zero, 0(a0)". 
I verified GNU accepts it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D50496/new/

https://reviews.llvm.org/D50496





More information about the llvm-commits mailing list