[PATCH] D102805: [M68k] Allow user to preserve certain registers

2021-05-20 Thread Min-Yih Hsu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGe620bea21199: [M68k] Allow user to preserve certain registers (authored by myhsu). Changed prior to commit: https://reviews.llvm.org/D102805?vs=34

[PATCH] D102805: [M68k] Allow user to preserve certain registers

2021-05-19 Thread Min-Yih Hsu via Phabricator via cfe-commits
myhsu updated this revision to Diff 346627. myhsu marked an inline comment as done. myhsu added a comment. Fix formatting CHANGES SINCE LAST ACTION https://reviews.llvm.org/D102805/new/ https://reviews.llvm.org/D102805 Files: clang/include/clang/Driver/Options.td clang/lib/Driver/ToolCha

[PATCH] D102805: [M68k] Allow user to preserve certain registers

2021-05-19 Thread Nick Desaulniers via Phabricator via cfe-commits
nickdesaulniers added a comment. Please fix up the linter warnings; LGTM. Comment at: llvm/lib/Target/M68k/M68kRegisterInfo.cpp:137 + // Registers reserved by users + for (size_t Reg = 0; Reg < getNumRegs(); ++Reg) { +if (MF.getSubtarget().isRegisterReservedByUser(Reg)) -

[PATCH] D102805: [M68k] Allow user to preserve certain registers

2021-05-19 Thread Min-Yih Hsu via Phabricator via cfe-commits
myhsu created this revision. myhsu added reviewers: nickdesaulniers, simoncook. Herald added subscribers: dang, s.egerton, hiraditya. myhsu requested review of this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits. Add `-ffixed-a[0-6]` and `-ffixed-