summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-06-05 23:15:25 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-06-05 23:15:25 +0000
commit1cca1c68e134ced13062a4d2e725ed7c91f7946c (patch)
tree1a3a3d38e06b37c0dcf8a93eb066fa809b2209ec /llvm
parent82dca3714ff2de627d23712863e05161195b2fe2 (diff)
downloadbcm5719-llvm-1cca1c68e134ced13062a4d2e725ed7c91f7946c.tar.gz
bcm5719-llvm-1cca1c68e134ced13062a4d2e725ed7c91f7946c.zip
* Stop ignoring cc registers, since we actually use them in branches.
* Added comment as to why we are still ignoring predict and annul bits. llvm-svn: 6636
Diffstat (limited to 'llvm')
-rw-r--r--llvm/support/tools/TableGen/CodeEmitterGen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/support/tools/TableGen/CodeEmitterGen.cpp b/llvm/support/tools/TableGen/CodeEmitterGen.cpp
index b32a38aa5fe..cd259ec5d7c 100644
--- a/llvm/support/tools/TableGen/CodeEmitterGen.cpp
+++ b/llvm/support/tools/TableGen/CodeEmitterGen.cpp
@@ -63,8 +63,8 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
if (Vals[i].getName() != "Inst" &&
!Vals[i].getValue()->isComplete() &&
+ /* ignore annul and predict bits since no one sets them yet */
Vals[i].getName() != "annul" &&
- Vals[i].getName() != "cc" &&
Vals[i].getName() != "predict")
{
o << " // op" << op << ": " << Vals[i].getName() << "\n"
@@ -105,6 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
}
}
} else {
+ // ignore annul and predict bits since no one sets them yet
if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
--Offset;
}
OpenPOWER on IntegriCloud