mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Revert "COWArrayOpt: Enable array.props hoisting""
Renable array property check hoisting. Third try. This reverts commit r25751. Swift SVN r25839
This commit is contained in:
@@ -936,7 +936,7 @@ namespace {
|
||||
/// }
|
||||
///
|
||||
static llvm::cl::opt<bool> ShouldSpecializeArrayProps("sil-array-props",
|
||||
llvm::cl::init(false));
|
||||
llvm::cl::init(true));
|
||||
|
||||
/// Analysis whether it is safe to specialize this loop nest based on the
|
||||
/// array.props function calls it constains. It is safe to hoist array.props
|
||||
|
||||
Reference in New Issue
Block a user