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:
8e3c17a
)
Remove 'XXXRegisterClass' from tablegen output. Targets should use '&XXXRegClass...
author
Craig Topper
<craig.topper@gmail.com>
Sat, 21 Apr 2012 01:49:25 +0000
(
01:49
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 21 Apr 2012 01:49:25 +0000
(
01:49
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155270
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/RegisterInfoEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/RegisterInfoEmitter.cpp
b/utils/TableGen/RegisterInfoEmitter.cpp
index 29984b855754b2946b427bdc9ecfdc2444920937..8fe582cd21f6da68bdf73740ff0a4f86116df5ff 100644
(file)
--- a/
utils/TableGen/RegisterInfoEmitter.cpp
+++ b/
utils/TableGen/RegisterInfoEmitter.cpp
@@
-700,9
+700,6
@@
RegisterInfoEmitter::runTargetHeader(raw_ostream &OS, CodeGenTarget &Target,
// Output the extern for the instance.
OS << " extern const TargetRegisterClass " << Name << "RegClass;\n";
- // Output the extern for the pointer to the instance (should remove).
- OS << " static const TargetRegisterClass * const " << Name
- << "RegisterClass = &" << Name << "RegClass;\n";
}
OS << "} // end of namespace " << TargetName << "\n\n";
}