File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6789,9 +6789,15 @@ void IRGenSILFunction::visitCopyAddrInst(swift::CopyAddrInst *i) {
6789
6789
// bind_memory and rebind_memory are no-ops because Swift TBAA info is not
6790
6790
// lowered to LLVM IR TBAA, and the output token is ignored except for
6791
6791
// verification.
6792
- void IRGenSILFunction::visitBindMemoryInst (swift::BindMemoryInst *) {}
6792
+ void IRGenSILFunction::visitBindMemoryInst (swift::BindMemoryInst *i) {
6793
+ LoweredValue &token = getUndefLoweredValue (i->getType ());
6794
+ setLoweredValue (i, std::move (token));
6795
+ }
6793
6796
6794
- void IRGenSILFunction::visitRebindMemoryInst (swift::RebindMemoryInst *) {}
6797
+ void IRGenSILFunction::visitRebindMemoryInst (swift::RebindMemoryInst *i) {
6798
+ LoweredValue &token = getUndefLoweredValue (i->getType ());
6799
+ setLoweredValue (i, std::move (token));
6800
+ }
6795
6801
6796
6802
void IRGenSILFunction::visitDestroyAddrInst (swift::DestroyAddrInst *i) {
6797
6803
SILType addrTy = i->getOperand ()->getType ();
You can’t perform that action at this time.
0 commit comments