Skip to content

Commit f28bff1

Browse files
committed
Enable CopyForwarding on ossa
1 parent e33efdc commit f28bff1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/SILOptimizer/Transforms/CopyForwarding.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,10 +1508,6 @@ class CopyForwardingPass : public SILFunctionTransform
15081508
if (!EnableCopyForwarding && !EnableDestroyHoisting)
15091509
return;
15101510

1511-
// FIXME: We should be able to support [ossa].
1512-
if (getFunction()->hasOwnership())
1513-
return;
1514-
15151511
LLVM_DEBUG(llvm::dbgs() << "Copy Forwarding in Func "
15161512
<< getFunction()->getName() << "\n");
15171513

0 commit comments

Comments
 (0)