mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Remove usernames from TODOs, NFC
making the style consistent with the rest git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a95296a86e
commit
ef46291cb3
@ -422,12 +422,11 @@ void NVPTXAsmPrinter::printReturnValStr(const MachineFunction &MF,
|
||||
|
||||
// Return true if MBB is the header of a loop marked with
|
||||
// llvm.loop.unroll.disable.
|
||||
// TODO(jingyue): consider "#pragma unroll 1" which is equivalent to "#pragma
|
||||
// nounroll".
|
||||
// TODO: consider "#pragma unroll 1" which is equivalent to "#pragma nounroll".
|
||||
bool NVPTXAsmPrinter::isLoopHeaderOfNoUnroll(
|
||||
const MachineBasicBlock &MBB) const {
|
||||
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.
|
||||
if (!LI.isLoopHeader(const_cast<MachineBasicBlock *>(&MBB)))
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user