| 1 |
/*========================== begin_copyright_notice ============================ |
| 2 |
|
| 3 |
Copyright (C) 2020-2021 Intel Corporation |
| 4 |
|
| 5 |
SPDX-License-Identifier: MIT |
| 6 |
|
| 7 |
============================= end_copyright_notice ===========================*/ |
| 8 |
|
| 9 |
# Description : disabling instcombine-code-sinking by default |
| 10 |
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
| 11 |
index bf32996d9..944a5658b 100644 |
| 12 |
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
| 13 |
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
| 14 |
@@ -127,7 +127,7 @@ static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 1000; |
| 15 |
|
| 16 |
static cl::opt<bool> |
| 17 |
EnableCodeSinking("instcombine-code-sinking", cl::desc("Enable code sinking"), |
| 18 |
- cl::init(true)); |
| 19 |
+ cl::init(false)); |
| 20 |
|
| 21 |
static cl::opt<bool> |
| 22 |
EnableExpensiveCombines("expensive-combines", |