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:
156aeff
)
Remove extra 'nullptr' entry from an array in tablegen register info file. It should...
author
Craig Topper
<craig.topper@gmail.com>
Tue, 22 Sep 2015 05:37:16 +0000
(
05:37
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Tue, 22 Sep 2015 05:37:16 +0000
(
05:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248246
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 d7dd9e7a824b1222c2c5daf5d336b35497011acf..b727df75626f22ce1318c21a6855a5cef3aaffda 100644
(file)
--- a/
utils/TableGen/RegisterInfoEmitter.cpp
+++ b/
utils/TableGen/RegisterInfoEmitter.cpp
@@
-240,7
+240,7
@@
EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
MaxRegUnitWeight = std::max(MaxRegUnitWeight, RegUnits.Weight);
OS << " \"" << RegUnits.Name << "\",\n";
}
- OS << "
nullptr
};\n"
+ OS << " };\n"
<< " return PressureNameTable[Idx];\n"
<< "}\n\n";