Use Register type for variables instead of unsigned type.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Approved so long as the one-character indentation issue is fixed prior to commit.
I hadn't seen this class. nice.
| llvm/lib/Target/AVR/AVRRegisterInfo.cpp | ||
|---|---|---|
| 99 | Fix off-by-one space indentation | |
| llvm/lib/Target/AVR/AVRRegisterInfo.cpp | ||
|---|---|---|
| 99 | This has been formatted by clang-format. static void foldFrameOffset(MachineBasicBlock::iterator &II,
int &Offset, Register DstReg) { | |
| llvm/lib/Target/AVR/AVRRegisterInfo.cpp | ||
|---|---|---|
| 99 | Nevermind me, I'm not sure why but even though it's using a monospaced font on my machine, the opening ( and the R for Register DstReg don't line up on Phabricator. I did the ultimate test dylan@dylan-pc:/u/a/lib:> echo "static void foldFrameOffset(" | wc -c
29
dylan@dylan-pc:/u/a/lib:> echo " " | wc -c
29You are right, it is lined up perfectly. Carry on. | |
Fix off-by-one space indentation