Skip to content

Commit 802d11a

Browse files
committed
StackPromotion: support OSSA
1 parent 383c52a commit 802d11a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/SILOptimizer/Transforms/StackPromotion.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ class StackPromotion : public SILFunctionTransform {
5555

5656
void StackPromotion::run() {
5757
SILFunction *F = getFunction();
58-
// FIXME: We should be able to support ownership.
59-
if (F->hasOwnership())
60-
return;
6158

6259
LLVM_DEBUG(llvm::dbgs() << "** StackPromotion in " << F->getName() << " **\n");
6360

0 commit comments

Comments
 (0)