diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-07-30 06:27:19 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-07-30 06:27:19 +0000 |
commit | 08ead0b14e5b0ed70ea42dace2dffe3261acdab7 (patch) | |
tree | d1cdc34f68120c8f4d553fa5e084355884282c43 /llvm | |
parent | 6f4ad80dc86ba8054ad78ab394ef469bf6a745a1 (diff) | |
download | bcm5719-llvm-08ead0b14e5b0ed70ea42dace2dffe3261acdab7.tar.gz bcm5719-llvm-08ead0b14e5b0ed70ea42dace2dffe3261acdab7.zip |
Remove some unnecessary filter checks. They were already covered by IsCodeGenOnly
llvm-svn: 160950
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index d2847a91c68..12ad0f21253 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/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 |