aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-14 05:15:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-14 05:15:39 +0000
commit5e81716425dc3373fbc834bfa7936a5c1205579b (patch)
treee93d0eb31f8ea6dbf1ac2bbc2e099add23290aad
parentf48ef0365545b6160836e3f4b4a210d1e21f1881 (diff)
downloadexternal_llvm-5e81716425dc3373fbc834bfa7936a5c1205579b.zip
external_llvm-5e81716425dc3373fbc834bfa7936a5c1205579b.tar.gz
external_llvm-5e81716425dc3373fbc834bfa7936a5c1205579b.tar.bz2
Check in tablegen changes to fix disassembler related failures caused by r98465.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98468 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/EDEmitter.cpp4
-rw-r--r--utils/TableGen/X86RecognizableInstr.cpp1
2 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp
index 9aad2f6..2149410 100644
--- a/utils/TableGen/EDEmitter.cpp
+++ b/utils/TableGen/EDEmitter.cpp
@@ -266,9 +266,11 @@ static int X86FlagFromOpName(FlagsConstantEmitter *flags,
REG("GR16");
REG("GR32");
REG("GR32_NOREX");
+ REG("GR32_TC");
REG("FR32");
REG("RFP32");
REG("GR64");
+ REG("GR64_TC");
REG("FR64");
REG("VR64");
REG("RFP64");
@@ -284,11 +286,13 @@ static int X86FlagFromOpName(FlagsConstantEmitter *flags,
MEM("i8mem_NOREX");
MEM("i16mem");
MEM("i32mem");
+ MEM("i32mem_TC");
MEM("f32mem");
MEM("ssmem");
MEM("opaque32mem");
MEM("opaque48mem");
MEM("i64mem");
+ MEM("i64mem_TC");
MEM("f64mem");
MEM("sdmem");
MEM("f80mem");
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp
index ea78d41..d71252c 100644
--- a/utils/TableGen/X86RecognizableInstr.cpp
+++ b/utils/TableGen/X86RecognizableInstr.cpp
@@ -298,6 +298,7 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
Name.find("_int") != Name.npos ||
Name.find("Int_") != Name.npos ||
Name.find("_NOREX") != Name.npos ||
+ Name.find("_TC") != Name.npos ||
Name.find("EH_RETURN") != Name.npos ||
Name.find("V_SET") != Name.npos ||
Name.find("LOCK_") != Name.npos ||