[llvm] [IR] Implementation and lowering of bitinsert and bitextract (PR #200605)
Pedro Lobo via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 12 11:02:53 PDT 2026
================
@@ -5636,6 +5644,43 @@ Error BitcodeReader::parseFunctionBody(Function *F) {
break;
}
+ case bitc::FUNC_CODE_INST_BITINSERT: { // BITINSERT: [ty, opval, opval,
+ // opval]
+ unsigned OpNum = 0;
+ Value *Base, *Val, *Offset;
+ unsigned BaseTypeID, ValTypeID, OffsetTypeID;
+ if (getValueTypePair(Record, OpNum, NextValueNo, Base, BaseTypeID,
+ CurBB) ||
+ getValueTypePair(Record, OpNum, NextValueNo, Val, ValTypeID, CurBB) ||
+ getValueTypePair(Record, OpNum, NextValueNo, Offset, OffsetTypeID,
+ CurBB))
+ return error("Invalid bitinsert record");
----------------
pedroclobo wrote:
Addressed in 945d59e5afd4.
https://github.com/llvm/llvm-project/pull/200605
More information about the llvm-commits
mailing list