mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Use new ForceDisassemble flag on the 2-byte forms of INC/DEC for 32-bit mode and remove disassmbler table emitter hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -483,9 +483,7 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
|
||||
|
||||
assert(Rec->isSubClassOf("X86Inst") && "Can only filter X86 instructions");
|
||||
|
||||
if (Form == X86Local::Pseudo ||
|
||||
(IsCodeGenOnly && !ForceDisassemble &&
|
||||
Name.find("INC32") == Name.npos && Name.find("DEC32") == Name.npos))
|
||||
if (Form == X86Local::Pseudo || (IsCodeGenOnly && !ForceDisassemble))
|
||||
return FILTER_STRONG;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user