Revert "SIL: let SingleValueInstruction only inherit from a single SILNode."

This commit is contained in:
Eric Miotto
2021-01-26 10:02:24 -08:00
committed by GitHub
parent dba2726ba3
commit 8e7f9c9cbd
39 changed files with 680 additions and 633 deletions

View File

@@ -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