[llvm] [RISC-V][MC] Accept an absolute variable value as a CSR number (PR #67377)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 15:06:03 PDT 2023
arichardson wrote:
> I mean, if GNU as accepts this then I guess so should we, but why can't we also make riscv-arch-test just use the preprocessor like a normal project?
I had a look into that and it seemed like I'd have to basically rewrite most of their macros to make that work since they use an assembler macro argument to remap the values dynamically.
I agree that the ambiguity is not nice. Currently the string name takes precedence, but I notice that there are no tests for this. Will need to check what binutils does.
CC: @allenjbaum
https://github.com/llvm/llvm-project/pull/67377
More information about the llvm-commits
mailing list