This repo contains LLILC, an LLVM based compiler for .NET Core. It includes a set of cross-platform .NET code generation tools that enables compilation of MSIL byte code to LLVM supported platforms.
Remove VerifyPrefixDeocde() in the Core-Disassembler, because:
1) It doesn't serve any purpose -- CorDisasm::disasmInstruction()
uses machine opcodes (and not LLVM opcodes) to decide when to
continue disassembly past a prefix instruction
2) LLVM decodes different sets of prefixes as independent
instructions on X86 and AMD64 -- so this leads to unnecessary
overhead in maintaining the X86Prefix::IsLLVMInstruction state.
Remove VerifyPrefixDeocde() in the Core-Disassembler, because: 1) It doesn't serve any purpose -- CorDisasm::disasmInstruction() uses machine opcodes (and not LLVM opcodes) to decide when to continue disassembly past a prefix instruction 2) LLVM decodes different sets of prefixes as independent instructions on X86 and AMD64 -- so this leads to unnecessary overhead in maintaining the X86Prefix::IsLLVMInstruction state.