From: Bob Wilson Date: Fri, 17 Dec 2010 23:06:42 +0000 (+0000) Subject: Avoid report_fatal_error in ARM's PrintAsmOperand method. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9bb43e167576d464637c480eccc5696e01e1887c;p=oota-llvm.git Avoid report_fatal_error in ARM's PrintAsmOperand method. The standard error handling in AsmPrinter::EmitInlineAsm handles this much better, so just use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122100 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index ae808914c6d..1c5997e9598 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -286,7 +286,7 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum, case 'Q': case 'R': case 'H': - report_fatal_error("llvm does not support 'Q', 'R', and 'H' modifiers!"); + // These modifiers are not yet supported. return true; } }