Lower integer arguments smaller then i32.
Support both register and stack arguments.
Define setLocInfo function for setting LocInfo field in ArgLocs vector.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with minor nit
lib/Target/Mips/MipsCallLowering.cpp | ||
---|---|---|
250 | nit: let's reduce number of indentation levels: if (VT.getSizeInBits() >= RegisterVT.getSizeInBits()) return CCValAssign::LocInfo::Full; if (Flags.isSExt()) return CCValAssign::LocInfo::SExt; if (Flags.isZExt()) return CCValAssign::LocInfo::ZExt; return CCValAssign::LocInfo::AExt; |
lib/Target/Mips/MipsCallLowering.cpp | ||
---|---|---|
250 | Case when VT.getSizeInBits() > RegisterVT.getSizeInBits() |
nit: let's reduce number of indentation levels: