mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "SIL: let SingleValueInstruction only inherit from a single SILNode."
This commit is contained in:
@@ -269,7 +269,7 @@ public:
|
||||
}
|
||||
auto Res = Path.getValue().createExtract(Val, &*InsertPt, true);
|
||||
if (Val != Base) {
|
||||
Res = makeCopiedValueAvailable(Res, Inst->getParent(),
|
||||
Res = makeCopiedValueAvailable(Res, Inst->getParentBlock(),
|
||||
jointPostDomComputer);
|
||||
Builder.emitEndBorrowOperation(InsertPt->getLoc(), Val);
|
||||
// Insert a destroy on the Base
|
||||
|
||||
Reference in New Issue
Block a user