diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-27 01:41:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-27 01:41:55 +0000 |
commit | 387e4bdf002c78a1b43a10e10cf5147baf32f513 (patch) | |
tree | 91ee52fa07aa7e5bc9bfd9199b3cb9c1aa4ddfaa /utils | |
parent | 3b0d1d71d1b25f31812e627be1d40fd1f077c0c6 (diff) | |
download | external_llvm-387e4bdf002c78a1b43a10e10cf5147baf32f513.zip external_llvm-387e4bdf002c78a1b43a10e10cf5147baf32f513.tar.gz external_llvm-387e4bdf002c78a1b43a10e10cf5147baf32f513.tar.bz2 |
There is at least a 'noitinerary' itinerary now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/SubtargetEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp index ba8e744..a6cee21 100644 --- 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 |