mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Revert "Optimizer: improve the load-copy-to-borrow optimization and implement it in swift""
This reverts commit 0666c446ec.
This commit is contained in:
@@ -173,6 +173,8 @@ PASS(CopyPropagation, "copy-propagation",
|
||||
"Copy propagation to Remove Redundant SSA Copies, pruning debug info")
|
||||
PASS(MandatoryCopyPropagation, "mandatory-copy-propagation",
|
||||
"Copy propagation to Remove Redundant SSA Copies, preserving debug info")
|
||||
SWIFT_FUNCTION_PASS(LoadCopyToBorrowOptimization, "load-copy-to-borrow-optimization",
|
||||
"Convert load [copy] instructions to load_borrow")
|
||||
PASS(COWOpts, "cow-opts",
|
||||
"Optimize COW operations")
|
||||
PASS(Differentiation, "differentiation",
|
||||
|
||||
Reference in New Issue
Block a user