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:
3b0d1d7
)
There is at least a 'noitinerary' itinerary now
author
Chris Lattner
<sabre@nondot.org>
Fri, 27 Jan 2006 01:41:55 +0000
(
01:41
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 27 Jan 2006 01:41:55 +0000
(
01:41
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25671
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/SubtargetEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/SubtargetEmitter.cpp
b/utils/TableGen/SubtargetEmitter.cpp
index ba8e744cd1e550a8a5ca5f3bdce4bef9fa4563b5..a6cee216daf40103a642add7754234cecf4e5099 100644
(file)
--- a/
utils/TableGen/SubtargetEmitter.cpp
+++ b/
utils/TableGen/SubtargetEmitter.cpp
@@
-436,7
+436,7
@@
void SubtargetEmitter::EmitData(std::ostream &OS) {
// Enumerate all the itinerary classes
unsigned NItinClasses = CollectAllItinClasses(OS, ItinClassesMap);
// Make sure the rest is worth the effort
- HasItineraries = NItinClasses !=
0;
+ HasItineraries = NItinClasses !=
1; // Ignore NoItinerary.
if (HasItineraries) {
// Emit the stage data