From 017f9e450465c873eccbb788143d68d5b8bf5edf Mon Sep 17 00:00:00 2001 From: Kai Luo Date: Mon, 18 Dec 2023 07:43:50 +0000 Subject: [PATCH] Fallback to base impl --- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: