[PATCH] D154744: [RISCV] Don't allow X0 to be used for 'r' constraint in inline assembly
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 9 09:40:29 PDT 2023
asb accepted this revision.
asb added a comment.
This revision is now accepted and ready to land.
It feels like the "better" solution would be to introduce a new constraint for GPRs other than X0. But I guess there's not a huge advantage, and we've got the precedent of GCC's behaviour so this is probably the best we can do. LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154744/new/
https://reviews.llvm.org/D154744
More information about the llvm-commits
mailing list