[PATCH] D54093: [RISCV] Lower inline asm constraints I, J & K for RISC-V
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 14 05:08:02 PST 2019
asb requested changes to this revision.
asb added a comment.
This revision now requires changes to proceed.
Herald added a project: LLVM.
Did you check the behaviour of 'J' vs GCC, because for e.g. `asm volatile ("sub a0, a0, %0" :: "J"(0));` I seem to see it using the integer 0 rather than the zero register?
I think it would be worth adding RV64I check lines to inline-asm.ll too.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54093/new/
https://reviews.llvm.org/D54093
More information about the llvm-commits
mailing list