diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-08-07 08:45:03 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-07 08:45:03 +0000 |
| commit | 32d0bb4c4e263e3827fef5d6871f7e9a24fb64be (patch) | |
| tree | 7c45a5d911c197c5b0ced9d24b714bcdddcc89cf /llvm | |
| parent | e10787e710e2b3bfb8d4af0ae32c92ddf499dc28 (diff) | |
| download | bcm5719-llvm-32d0bb4c4e263e3827fef5d6871f7e9a24fb64be.tar.gz bcm5719-llvm-32d0bb4c4e263e3827fef5d6871f7e9a24fb64be.zip | |
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.
llvm-svn: 78379
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 19 | ||||
| -rw-r--r-- | llvm/test/MC/AsmParser/labels.s | 3 | ||||
| -rw-r--r-- | llvm/test/MC/AsmParser/x86_instructions.s | 3 |
3 files changed, 25 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp index 9d85f4d8048..5b554ca82a1 100644 --- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -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 + diff --git a/llvm/test/MC/AsmParser/labels.s b/llvm/test/MC/AsmParser/labels.s index a5998c4dc34..6eb7c0f8e02 100644 --- a/llvm/test/MC/AsmParser/labels.s +++ b/llvm/test/MC/AsmParser/labels.s @@ -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: diff --git a/llvm/test/MC/AsmParser/x86_instructions.s b/llvm/test/MC/AsmParser/x86_instructions.s index f648112fc97..3ab8ac17d40 100644 --- a/llvm/test/MC/AsmParser/x86_instructions.s +++ b/llvm/test/MC/AsmParser/x86_instructions.s @@ -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 |

