[M68k] Provide exception pointer and selector registers
authorMin-Yih Hsu <minyihh@uci.edu>
Thu, 19 Jan 2023 19:44:20 +0000 (11:44 -0800)
committerMin-Yih Hsu <minyihh@uci.edu>
Fri, 24 Feb 2023 00:25:34 +0000 (16:25 -0800)
commit058f7449cf38fcbfff4a54a1f67a784ca2983671
tree1f35727a684fcf07cbf9070af63aa8092a101b16
parent5a623c2a082d007c1cc7a878b666b3581bb8f8dc
[M68k] Provide exception pointer and selector registers

Using d0 for exception pointer and d1 for selector, as suggested by GCC.
llvm/lib/Target/M68k/M68kISelLowering.cpp
llvm/lib/Target/M68k/M68kISelLowering.h
llvm/test/CodeGen/M68k/gcc_except_table.ll [new file with mode: 0644]