Implements the handling of __builtin_eh_return_regno()
Could you please add a riscv64 RUN line too, for completeness? Other archs seem to call the equivalent test file builtins-archname.c rather than builtin-archname.c, so I'd adjust the naming to match.
Then this looks good to me. Thanks!
Ed, if you haven't already could you request commit access so you can commit these approved patches yourself? See https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access for details.