From 9ced1671a6c27dd680849e302b85b0cd3fdfe097 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 3 Jun 2003 00:07:17 +0000 Subject: [PATCH] Stop ignoring the `cc' field, we actually use it now (e.g. conditional move) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6555 91177308-0d34-0410-b5e6-96231b3b80d8 --- support/tools/TableGen/CodeEmitterGen.cpp | 3 +-- utils/TableGen/CodeEmitterGen.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp index 0ba625311a0..b32a38aa5fe 100644 --- a/support/tools/TableGen/CodeEmitterGen.cpp +++ b/support/tools/TableGen/CodeEmitterGen.cpp @@ -105,8 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) { } } } else { - if (Vals[f].getName() == "annul" || Vals[f].getName() == "cc" || - Vals[f].getName() == "predict") + if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict") --Offset; } } diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index 0ba625311a0..b32a38aa5fe 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -105,8 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) { } } } else { - if (Vals[f].getName() == "annul" || Vals[f].getName() == "cc" || - Vals[f].getName() == "predict") + if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict") --Offset; } }