diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp index d0a6cced1b197..4dfd0358a16fd 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -1067,9 +1067,7 @@ bool PPCInstrInfo::isReallyTriviallyReMaterializable( const MachineInstr &MI) const { switch (MI.getOpcode()) { default: - // This function should only be called for opcodes with the ReMaterializable - // flag set. - llvm_unreachable("Unknown rematerializable operation!"); + // Let base implementaion decide. break; case PPC::LI: case PPC::LI8: