File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
trunk/lib/SILOptimizer/LoopTransforms Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e7c294a076b41a9c87be99bf28d91f864977012a
2
+ refs/heads/master: b6b61ddd6a49c1e43715f5307b17cd4abe3c2024
3
3
refs/heads/master-next: 66a7e661ff8e88e2d4efab3e430197a7a941e352
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -764,6 +764,11 @@ class LICM : public SILFunctionTransform {
764
764
765
765
void run () override {
766
766
SILFunction *F = getFunction ();
767
+
768
+ // If our function has ownership, skip it.
769
+ if (F->hasOwnership ())
770
+ return ;
771
+
767
772
SILLoopAnalysis *LA = PM->getAnalysis <SILLoopAnalysis>();
768
773
SILLoopInfo *LoopInfo = LA->get (F);
769
774
You can’t perform that action at this time.
0 commit comments