Skip to content

Commit c0104e4

Browse files
committed
[AArch64] AArch64ISelDAGToDAG.cpp - disable inlining on MSVC release builds
Similar to llvm#110986 - disabling inlining on MSVC release builds avoids an excessive build time issue affecting all recent versions of CL.EXE Fixes llvm#114425
1 parent 490e58a commit c0104e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ using namespace llvm;
3131
#define DEBUG_TYPE "aarch64-isel"
3232
#define PASS_NAME "AArch64 Instruction Selection"
3333

34+
// https://github.com/llvm/llvm-project/issues/114425
35+
#if defined(_WIN32) && !defined(__clang__) && !defined(NDEBUG)
36+
#pragma inline_depth(0)
37+
#endif
38+
3439
//===--------------------------------------------------------------------===//
3540
/// AArch64DAGToDAGISel - AArch64 specific code to select AArch64 machine
3641
/// instructions for SelectionDAG operations.

0 commit comments

Comments
 (0)