From 01e271db2e5bfafb3a2b914d715ccf4729dd8425 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sun, 14 Mar 2010 05:15:39 +0000 Subject: [PATCH] Check in tablegen changes to fix disassembler related failures caused by r98465. llvm-svn: 98468 --- utils/TableGen/EDEmitter.cpp | 4 ++++ utils/TableGen/X86RecognizableInstr.cpp | 1 + 2 files changed, 5 insertions(+) diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index 9aad2f609b4..214941071eb 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 ea78d4193ea..d71252caf27 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 ||