]> granicus.if.org Git - clang/commit
[RISCV] Specify registers used for exception handling
authorAlex Bradbury <asb@lowrisc.org>
Mon, 8 Jul 2019 09:38:06 +0000 (09:38 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Mon, 8 Jul 2019 09:38:06 +0000 (09:38 +0000)
commite7f2bc4f8f9dc90e536bf24465fca9142e9d1a9d
tree858a675f9514c743f2697e73453f6cbc87111da7
parent02685f635b0cffa474cb50f4c26f3c4c2bd9139d
[RISCV] Specify registers used for exception handling

Implements the handling of __builtin_eh_return_regno().

Differential Revision: https://reviews.llvm.org/D63417
Patch by Edward Jones.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets/RISCV.h
test/CodeGen/builtins-riscv.c [new file with mode: 0644]