Remove usernames from TODOs, NFC

making the style consistent with the rest

llvm-svn: 227991
This commit is contained in:
Jingyue Wu 2015-02-03 17:57:38 +00:00
parent 191507e0b7
commit 5bbcdaa8d9
1 changed files with 2 additions and 3 deletions

View File

@ -422,12 +422,11 @@ void NVPTXAsmPrinter::printReturnValStr(const MachineFunction &MF,
// Return true if MBB is the header of a loop marked with // Return true if MBB is the header of a loop marked with
// llvm.loop.unroll.disable. // llvm.loop.unroll.disable.
// TODO(jingyue): consider "#pragma unroll 1" which is equivalent to "#pragma // TODO: consider "#pragma unroll 1" which is equivalent to "#pragma nounroll".
// nounroll".
bool NVPTXAsmPrinter::isLoopHeaderOfNoUnroll( bool NVPTXAsmPrinter::isLoopHeaderOfNoUnroll(
const MachineBasicBlock &MBB) const { const MachineBasicBlock &MBB) const {
MachineLoopInfo &LI = getAnalysis<MachineLoopInfo>(); MachineLoopInfo &LI = getAnalysis<MachineLoopInfo>();
// TODO(jingyue): isLoopHeader() should take "const MachineBasicBlock *". // TODO: isLoopHeader() should take "const MachineBasicBlock *".
// We insert .pragma "nounroll" only to the loop header. // We insert .pragma "nounroll" only to the loop header.
if (!LI.isLoopHeader(const_cast<MachineBasicBlock *>(&MBB))) if (!LI.isLoopHeader(const_cast<MachineBasicBlock *>(&MBB)))
return false; return false;