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:
Arnold Schwaighofer
2015-03-07 05:07:32 +00:00
parent ef94fa0001
commit 8038fd65a4

View File

@@ -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