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
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with minor nit
lib/Target/Mips/MipsCallLowering.cpp | ||
---|---|---|
250 ↗ | (On Diff #161678) | 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 ↗ | (On Diff #161678) | Case when VT.getSizeInBits() > RegisterVT.getSizeInBits() |