@@ -1029,7 +1029,8 @@ SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1029
1029
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1030
1030
doPostProcess (Inst,
1031
1031
getBuilder ().createRetainValue (getOpLocation (Inst->getLoc ()),
1032
- getOpValue (Inst->getOperand ())));
1032
+ getOpValue (Inst->getOperand ()),
1033
+ Inst->getAtomicity ()));
1033
1034
}
1034
1035
1035
1036
template <typename ImplClass>
@@ -1038,7 +1039,8 @@ SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
1038
1039
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1039
1040
doPostProcess (Inst,
1040
1041
getBuilder ().createReleaseValue (getOpLocation (Inst->getLoc ()),
1041
- getOpValue (Inst->getOperand ())));
1042
+ getOpValue (Inst->getOperand ()),
1043
+ Inst->getAtomicity ()));
1042
1044
}
1043
1045
1044
1046
template <typename ImplClass>
@@ -1047,7 +1049,8 @@ SILCloner<ImplClass>::visitAutoreleaseValueInst(AutoreleaseValueInst *Inst) {
1047
1049
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1048
1050
doPostProcess (Inst,
1049
1051
getBuilder ().createAutoreleaseValue (getOpLocation (Inst->getLoc ()),
1050
- getOpValue (Inst->getOperand ())));
1052
+ getOpValue (Inst->getOperand ()),
1053
+ Inst->getAtomicity ()));
1051
1054
}
1052
1055
1053
1056
template <typename ImplClass>
@@ -1056,7 +1059,8 @@ SILCloner<ImplClass>::visitSetDeallocatingInst(SetDeallocatingInst *Inst) {
1056
1059
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1057
1060
doPostProcess (Inst,
1058
1061
getBuilder ().createSetDeallocating (getOpLocation (Inst->getLoc ()),
1059
- getOpValue (Inst->getOperand ())));
1062
+ getOpValue (Inst->getOperand ()),
1063
+ Inst->getAtomicity ()));
1060
1064
}
1061
1065
1062
1066
template <typename ImplClass>
@@ -1423,7 +1427,8 @@ SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
1423
1427
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1424
1428
doPostProcess (Inst,
1425
1429
getBuilder ().createStrongRetain (getOpLocation (Inst->getLoc ()),
1426
- getOpValue (Inst->getOperand ())));
1430
+ getOpValue (Inst->getOperand ()),
1431
+ Inst->getAtomicity ()));
1427
1432
}
1428
1433
1429
1434
template <typename ImplClass>
@@ -1451,7 +1456,8 @@ SILCloner<ImplClass>::visitStrongPinInst(StrongPinInst *Inst) {
1451
1456
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1452
1457
doPostProcess (Inst,
1453
1458
getBuilder ().createStrongPin (getOpLocation (Inst->getLoc ()),
1454
- getOpValue (Inst->getOperand ())));
1459
+ getOpValue (Inst->getOperand ()),
1460
+ Inst->getAtomicity ()));
1455
1461
}
1456
1462
1457
1463
template <typename ImplClass>
@@ -1460,7 +1466,8 @@ SILCloner<ImplClass>::visitStrongUnpinInst(StrongUnpinInst *Inst) {
1460
1466
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1461
1467
doPostProcess (Inst,
1462
1468
getBuilder ().createStrongUnpin (getOpLocation (Inst->getLoc ()),
1463
- getOpValue (Inst->getOperand ())));
1469
+ getOpValue (Inst->getOperand ()),
1470
+ Inst->getAtomicity ()));
1464
1471
}
1465
1472
1466
1473
template <typename ImplClass>
@@ -1469,7 +1476,8 @@ SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
1469
1476
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1470
1477
doPostProcess (Inst,
1471
1478
getBuilder ().createStrongRelease (getOpLocation (Inst->getLoc ()),
1472
- getOpValue (Inst->getOperand ())));
1479
+ getOpValue (Inst->getOperand ()),
1480
+ Inst->getAtomicity ()));
1473
1481
}
1474
1482
1475
1483
template <typename ImplClass>
@@ -1479,7 +1487,8 @@ visitStrongRetainUnownedInst(StrongRetainUnownedInst *Inst) {
1479
1487
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1480
1488
doPostProcess (Inst,
1481
1489
getBuilder ().createStrongRetainUnowned (getOpLocation (Inst->getLoc ()),
1482
- getOpValue (Inst->getOperand ())));
1490
+ getOpValue (Inst->getOperand ()),
1491
+ Inst->getAtomicity ()));
1483
1492
}
1484
1493
1485
1494
template <typename ImplClass>
@@ -1488,7 +1497,8 @@ SILCloner<ImplClass>::visitUnownedRetainInst(UnownedRetainInst *Inst) {
1488
1497
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1489
1498
doPostProcess (Inst,
1490
1499
getBuilder ().createUnownedRetain (getOpLocation (Inst->getLoc ()),
1491
- getOpValue (Inst->getOperand ())));
1500
+ getOpValue (Inst->getOperand ()),
1501
+ Inst->getAtomicity ()));
1492
1502
}
1493
1503
1494
1504
template <typename ImplClass>
@@ -1497,7 +1507,8 @@ SILCloner<ImplClass>::visitUnownedReleaseInst(UnownedReleaseInst *Inst) {
1497
1507
getBuilder ().setCurrentDebugScope (getOpScope (Inst->getDebugScope ()));
1498
1508
doPostProcess (Inst,
1499
1509
getBuilder ().createUnownedRelease (getOpLocation (Inst->getLoc ()),
1500
- getOpValue (Inst->getOperand ())));
1510
+ getOpValue (Inst->getOperand ()),
1511
+ Inst->getAtomicity ()));
1501
1512
}
1502
1513
template <typename ImplClass>
1503
1514
void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) {
0 commit comments