assert(0) -> LLVM_UNREACHABLE.
[oota-llvm.git] / lib / Target / PowerPC / PPCCodeEmitter.cpp
index c191f65888dfde548ff7c867af8db469efb4012c..4943e5c8e11740e52f79f4a7e8e2964ab2836d69 100644 (file)
@@ -181,7 +181,7 @@ unsigned PPCCodeEmitter::getMachineOpValue(const MachineInstr &MI,
         assert(MovePCtoLROffset && "MovePCtoLR not seen yet?");
       }
       switch (MI.getOpcode()) {
-      default: MI.dump(); assert(0 && "Unknown instruction for relocation!");
+      default: MI.dump(); LLVM_UNREACHABLE("Unknown instruction for relocation!");
       case PPC::LIS:
       case PPC::LIS8:
       case PPC::ADDIS: