llvm::CallBase::removeOperandBundle

Create a clone of CB with operand bundle ID removed.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

static
CallBase*
removeOperandBundle(
    CallBase* CB,
    uint32_t ID,
    InsertPosition InsertPt = nullptr);

Return Value

The cloned call without the specified operand bundle.

Parameters

NameDescription
CBCall to clone.
IDTag of the operand bundle to remove.
InsertPtOptional insertion point for the new instruction.