[PATCH] D40830: [RISCV] Implement support for the BranchRelaxation pass
Dylan McKay via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 22 12:56:31 PST 2017
dylanmckay added a comment.
LGTM with minor nitpick
================
Comment at: lib/Target/RISCV/RISCVInstrInfo.cpp:332
+ RS->enterBasicBlockEnd(MBB);
+ unsigned Scav = RS->scavengeRegisterBackwards(
+ RISCV::GPRRegClass, MachineBasicBlock::iterator(LuiMI), false, 0);
----------------
Add some vertical whitespace around here somewhere, the code is quite dense
https://reviews.llvm.org/D40830
More information about the llvm-commits
mailing list