================
@@ -3511,6 +3511,10 @@ RISCVInstrInfo::getOutliningTypeImpl(const MachineModuleInfo &MMI,
return outliner::InstrType::Illegal;
}
+ // LPADs should not be outlined too
----------------
mylai-mtk wrote:
This comment is also redundant.
https://github.com/llvm/llvm-project/pull/157220