projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d33184
)
Simplify the logic described in the comment.
author
Chad Rosier
<mcrosier@apple.com>
Wed, 22 May 2013 23:23:14 +0000
(23:23 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Wed, 22 May 2013 23:23:14 +0000
(23:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182534
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCRegisterInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCRegisterInfo.h
b/include/llvm/MC/MCRegisterInfo.h
index 47ef0b457bcecdc3557b33b99c89593856cedc32..c41d46660638109889eed39e17c3e4c664ca64f2 100644
(file)
--- a/
include/llvm/MC/MCRegisterInfo.h
+++ b/
include/llvm/MC/MCRegisterInfo.h
@@
-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);
// }