Re: Question on the m68k Calling Convention (RTD)

2023-04-24 Thread Richard Z
On April 23, 2023 11:15:04 AM UTC, John Paul Adrian Glaubitz wrote: >Now, the interesting part is the question why the compiler is even trying >to take this codepath since RTD should normally be turned off in the M68k >backend by default as it's the case for GCC. > As you say.. looks like t

Question on the m68k Calling Convention (RTD)

2023-04-23 Thread John Paul Adrian Glaubitz
Hello! I'm currently trying to fix a bug [1] in the M68k backend in LLVM. The problem is that the backend tries to emit RTD when the baseline is raised to at least 68020 using the -m68020 command line flag and then crashes. Looking at the code [2], this happens because the backend runs into