This patch adds class SystemZFrameLowering which is a SystemZ-specific class detailing special registers used by calling conventions on the target. SystemZELFFrameLowering and SystemZXPLINKFrameLowering implement this class for ELF and XPLINK64 respectively. Previous functionality in SystemZFrameLowering is moved to SystemZELFFrameLowering. SystemZXPLINKFrameLowering can then be implemented in future patches.
Details
Diff Detail
Event Timeline
Fix some formatting issues + use make_unique in create method instead of having it return a raw ptr.
LGTM.
Please have a look of the formatting of the line I commented. Thanks.
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp | ||
---|---|---|
768–769 | This line seems to be too long. Please, can you check again? |
Sorry, after seeing the pre-check builds, I checked the formatting again.
The code looks ok, but almost all function heads with argument lists running over several lines needs reformatting.
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp | ||
---|---|---|
64 | Formatting looks wrong. | |
79 | Formatting looks wrong. | |
80 | Trailing space at end of line. | |
208 | Formatting seems to be wrong. |
clang-format: please reformat the code