mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Disable X86 AsmMatcher for now, it is causing gcc-4.0 to run out of memory on
i386-apple-darwin9. This presumably will get fixed once the generated code improves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78379 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
20927f26fc
commit
7ddca30f31
@ -417,4 +417,23 @@ extern "C" void LLVMInitializeX86AsmParser() {
|
||||
RegisterAsmParser<X86ATTAsmParser> Y(TheX86_64Target);
|
||||
}
|
||||
|
||||
// FIXME: Disabled for now, this is causing gcc-4.0 to run out of memory during
|
||||
// building.
|
||||
#if 0
|
||||
|
||||
#include "X86GenAsmMatcher.inc"
|
||||
|
||||
#else
|
||||
|
||||
bool X86ATTAsmParser::MatchInstruction(SmallVectorImpl<X86Operand> &Operands,
|
||||
MCInst &Inst) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool X86ATTAsmParser::MatchRegisterName(const StringRef &Name,
|
||||
unsigned &RegNo) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
||||
|
||||
// FIXME: Disabled until the generated code stops crashing gcc 4.0.
|
||||
// XFAIL: *
|
||||
|
||||
.data
|
||||
// CHECK: a:
|
||||
a:
|
||||
|
@ -1,5 +1,8 @@
|
||||
// FIXME: Switch back to FileCheck once we print actual instructions
|
||||
|
||||
// FIXME: Disabled until the generated code stops crashing gcc 4.0.
|
||||
// XFAIL: *
|
||||
|
||||
// RUN: llvm-mc -triple i386-unknown-unknown %s > %t
|
||||
|
||||
// RUN: grep {MCInst(opcode=.*, operands=.reg:2, reg:0, reg:2.)} %t
|
||||
|
Loading…
Reference in New Issue
Block a user