[all-commits] [llvm/llvm-project] 70511e: [M68k] Fix CConvs for pointer type return values
Min-Yih Hsu via All-commits
all-commits at lists.llvm.org
Fri Mar 24 11:08:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 70511e61761eb7d1c4fb5ff1a8383ced18843753
https://github.com/llvm/llvm-project/commit/70511e61761eb7d1c4fb5ff1a8383ced18843753
Author: Min-Yih Hsu <minyihh at uci.edu>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M llvm/lib/Target/M68k/M68kCallingConv.td
M llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
M llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
M llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
M llvm/test/CodeGen/M68k/CodeModel/small-static.ll
Log Message:
-----------
[M68k] Fix CConvs for pointer type return values
Put the value into A0 instead of data registers. And remove the
redundant `RetCC_M68kCommon` as there aren't many rules shared between
existing CCs other than the pointer one.
This change is tested by existing tests.
More information about the All-commits
mailing list