With this patch, GlobalISel in M68k can support basic function call.
Here's some notes:
- Handling return value needs to deal with 'COPY'. Looking at the code in AArch64, selecting 'COPY' seems not trivial. I want to take care of it later.
- Handling argument passing needs to tackle 'G_PTR_ADD'. I want to handle it in complex pattern. But there are other instructions using complex pattern too, so I want to tackle them together.
There are still a lot of work to do. But I want to make sure I'm on the right way. I think this is a good point for review.