[all-commits] [llvm/llvm-project] eec349: [M68k] Do not pass llvm::Function& to M68kCCState
Min-Yih Hsu via All-commits
all-commits at lists.llvm.org
Mon Aug 16 15:41:39 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eec3495a9d8060ebd0a90fb8b84f51ed24cf8c9d
https://github.com/llvm/llvm-project/commit/eec3495a9d8060ebd0a90fb8b84f51ed24cf8c9d
Author: Min-Yih Hsu <minyihh at uci.edu>
Date: 2021-08-16 (Mon, 16 Aug 2021)
Changed paths:
M llvm/lib/Target/M68k/M68kCallingConv.h
M llvm/lib/Target/M68k/M68kISelLowering.cpp
Log Message:
-----------
[M68k] Do not pass llvm::Function& to M68kCCState
Previously we're passing `llvm::Function&` into `M68kCCState` to lower
arguments in fastcc. However, that reference might not be available if
it's a library call and we only need its argument types. Therefore,
now we're simply passing a list of argument llvm::Type-s.
This fixes PR-50752.
Differential Revision: https://reviews.llvm.org/D108101
More information about the All-commits
mailing list