| 1 |
/*========================== begin_copyright_notice ============================ |
| 2 |
|
| 3 |
Copyright (C) 2020-2023 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 71c763de4..438ff9fb2 100644 |
| 12 |
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
| 13 |
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
| 14 |
@@ -136,7 +136,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<unsigned> MaxSinkNumUsers( |
| 22 |
"instcombine-max-sink-users", cl::init(32), |
| 23 |
|