OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b010277
)
Backout the wrong subtarget emitter fix
author
Andrew Trick
<atrick@apple.com>
Mon, 17 Sep 2012 23:14:15 +0000
(23:14 +0000)
committer
Andrew Trick
<atrick@apple.com>
Mon, 17 Sep 2012 23:14:15 +0000
(23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164078
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
83b1cb1
..
aec621f
100644
(file)
--- a/
utils/TableGen/SubtargetEmitter.cpp
+++ b/
utils/TableGen/SubtargetEmitter.cpp
@@
-971,7
+971,7
@@
void SubtargetEmitter::EmitSchedClassTables(SchedClassTables &SchedTables,
// The first class is always invalid. We no way to distinguish it except by
// name and position.
- assert(Sched
Class
.Name == "NoItinerary"
+ assert(Sched
Models.getSchedClass(0)
.Name == "NoItinerary"
&& "invalid class not first");
OS << " {DBGFIELD(\"InvalidSchedClass\") "
<< MCSchedClassDesc::InvalidNumMicroOps