Use report_fatal_error, not llvm_unreachable.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 27 May 2010 23:45:31 +0000 (23:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 27 May 2010 23:45:31 +0000 (23:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104899 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp

index fc73938002d0d23e8b2b85b27129e2b273f305d9..a5a28692f11b6557e9125e3c1a33e52c39cf2d13 100644 (file)
@@ -1066,7 +1066,7 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
     case 'Q':
     case 'R':
     case 'H':
-      llvm_unreachable("llvm does not support 'Q', 'R', and 'H' modifiers!");
+      report_fatal_error("llvm does not support 'Q', 'R', and 'H' modifiers!");
       return true;
     }
   }