summaryrefslogtreecommitdiff
path: root/utils/TableGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-07-30 06:27:19 +0000
committerCraig Topper <craig.topper@gmail.com>2012-07-30 06:27:19 +0000
commit95c929f45c01054d91a6878de22892675dd115cf (patch)
tree180ae47c420b6b60fab995e3813796560b78ff6c /utils/TableGen
parent24fd0ddf3136ad7dec6c554f3a97f2d24fe2027f (diff)
downloadllvm-95c929f45c01054d91a6878de22892675dd115cf.tar.gz
llvm-95c929f45c01054d91a6878de22892675dd115cf.tar.bz2
llvm-95c929f45c01054d91a6878de22892675dd115cf.tar.xz
Remove some unnecessary filter checks. They were already covered by IsCodeGenOnly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/X86RecognizableInstr.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp
index d2847a91c6..12ad0f2125 100644
--- a/utils/TableGen/X86RecognizableInstr.cpp
+++ b/utils/TableGen/X86RecognizableInstr.cpp
@@ -400,9 +400,6 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
(IsCodeGenOnly && Name.find("_REV") == Name.npos))
return FILTER_STRONG;
- if (Form == X86Local::MRMInitReg)
- return FILTER_STRONG;
-
// Filter out artificial instructions but leave in the LOCK_PREFIX so it is
// printed as a separate "instruction".
@@ -418,15 +415,6 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
if (SegOvr)
return FILTER_STRONG;
- // Filter out instructions that can't be printed.
-
- if (AsmString.size() == 0)
- return FILTER_STRONG;
-
- // Filter out instructions with subreg operands.
-
- if (AsmString.find("subreg") != AsmString.npos)
- return FILTER_STRONG;
/////////////////
// FILTER_WEAK