[llvm] r182534 - Simplify the logic described in the comment.
Chad Rosier
mcrosier at apple.com
Wed May 22 16:23:14 PDT 2013
Author: mcrosier
Date: Wed May 22 18:23:14 2013
New Revision: 182534
URL: http://llvm.org/viewvc/llvm-project?rev=182534&view=rev
Log:
Simplify the logic described in the comment.
Modified:
llvm/trunk/include/llvm/MC/MCRegisterInfo.h
Modified: llvm/trunk/include/llvm/MC/MCRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCRegisterInfo.h?rev=182534&r1=182533&r2=182534&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCRegisterInfo.h Wed May 22 18:23:14 2013
@@ -510,9 +510,7 @@ public:
// super-registers. All registers aliasing Unit can be visited like this:
//
// for (MCRegUnitRootIterator RI(Unit, MCRI); RI.isValid(); ++RI) {
-// unsigned Root = *RI;
-// visit(Root);
-// for (MCSuperRegIterator SI(Root, MCRI); SI.isValid(); ++SI)
+// for (MCSuperRegIterator SI(Root, MCRI, true); SI.isValid(); ++SI)
// visit(*SI);
// }
More information about the llvm-commits
mailing list