Merge pull request #68792 from atrick/fix-forwarding-operand

Fix ForwardingInstruction::getSingleForwardingOperand
This commit is contained in:
Andrew Trick
2023-09-27 08:55:19 -07:00
committed by GitHub
3 changed files with 23 additions and 2 deletions

View File

@@ -5711,6 +5711,10 @@ class RefToBridgeObjectInst
OwnershipForwardingSingleValueInstruction> {
friend SILBuilder;
public:
enum { ConvertedOperand = 0, MaskOperand = 1 };
private:
FixedOperandList<2> Operands;
RefToBridgeObjectInst(SILDebugLocation DebugLoc, SILValue ConvertedValue,
SILValue MaskValue, SILType BridgeObjectTy,