================ @@ -10737,6 +10752,43 @@ SDValue PPCTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op, return DAG.getRegister(PPC::X13, MVT::i64); return DAG.getRegister(PPC::R2, MVT::i32); + case Intrinsic::ppc_rldimi: { + uint64_t SH = Op.getConstantOperandVal(3); + unsigned MB = 0, ME = 0; + if (!isContiguousMask(Op.getConstantOperandAPInt(4), MB, ME, 64) || + ME != 63 - SH) + llvm_unreachable("invalid rldimi mask!"); ---------------- efriedma-quic wrote:
Please use report_fatal_error for this sort of check. https://github.com/llvm/llvm-project/pull/82968 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits