Add -ffixed-a[0-6] and -ffixed-d[0-7] driver flags and the corresponding subtarget features to prevent certain register from being allocated.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Please fix up the linter warnings; LGTM.
llvm/lib/Target/M68k/M68kRegisterInfo.cpp | ||
---|---|---|
137 | a more common convention in LLVM for for loops is: for (size_t Reg = 0, Total = getNumRegs(); Reg != Total; ++Reg) { The coding standards aren't very explicit about this though, the case https://llvm.org/docs/CodingStandards.html#don-t-evaluate-end-every-time-through-a-loop has more to do with iterators. |
a more common convention in LLVM for for loops is:
The coding standards aren't very explicit about this though, the case https://llvm.org/docs/CodingStandards.html#don-t-evaluate-end-every-time-through-a-loop has more to do with iterators.