mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
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
This commit is contained in:
parent
24fd0ddf31
commit
95c929f45c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user