Avoid report_fatal_error in ARM's PrintAsmOperand method.
authorBob Wilson <bob.wilson@apple.com>
Fri, 17 Dec 2010 23:06:42 +0000 (23:06 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 17 Dec 2010 23:06:42 +0000 (23:06 +0000)
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

lib/Target/ARM/ARMAsmPrinter.cpp

index ae808914c6ddc2e23b97fe4c462705d6fb765472..1c5997e959842b6917ea40bc1dcd0b4028017c9d 100644 (file)
@@ -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;
     }
   }