Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/SILOptimizer/PassManager/PassPipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ SILPassPipelinePlan
SILPassPipelinePlan::getLoweringPassPipeline(const SILOptions &Options) {
SILPassPipelinePlan P(Options);
P.startPipeline("Address Lowering");
P.addOwnershipModelEliminator();
P.addIRGenPrepare();
P.addAddressLowering();

Expand Down
46 changes: 0 additions & 46 deletions test/IRGen/copy_value_destroy_value.sil

This file was deleted.

3 changes: 3 additions & 0 deletions test/IRGen/unknown_object.sil
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ entry(%x : @guaranteed $Builtin.AnyObject):
// CHECK-native: swift_retain
// CHECK-objc: swift_unknownObjectRetain
%y = copy_value %x : $Builtin.AnyObject
br bb1

bb1:
// CHECK-native: swift_release
// CHECK-objc: swift_unknownObjectRelease
destroy_value %y : $Builtin.AnyObject
Expand Down