-
-
Save kateinoigakukun/819302b29a5f4af79a89cb172e0db9d0 to your computer and use it in GitHub Desktop.
wasm-DEVELOPMENT-SNAPSHOT-2020-03-05-a |
diff --git a/cmake/modules/SwiftSource.cmake b/cmake/modules/SwiftSource.cmake | |
index 9da9b4ffd9..0c8f201499 100644 | |
--- a/cmake/modules/SwiftSource.cmake | |
+++ b/cmake/modules/SwiftSource.cmake | |
@@ -229,7 +229,7 @@ function(_add_variant_swift_compile_flags | |
is_build_type_optimized("${build_type}" optimized) | |
if(optimized) | |
- list(APPEND result "-O") | |
+ list(APPEND result "-O" "-Xfrontend" "-disable-llvm-optzns" "-Xllvm" "-sil-opt-pass-count=226755" "-Xllvm" "-sil-print-pass-name") | |
else() | |
list(APPEND result "-Onone") | |
endif() | |
diff --git a/lib/IRGen/IRGen.cpp b/lib/IRGen/IRGen.cpp | |
index 1b96deca94..0c13e57576 100644 | |
--- a/lib/IRGen/IRGen.cpp | |
+++ b/lib/IRGen/IRGen.cpp | |
@@ -225,7 +225,7 @@ void swift::performLLVMOptimizations(const IRGenOptions &Opts, | |
addSwiftContractPass); | |
} | |
- if (RunSwiftSpecificLLVMOptzns) | |
+ // if (RunSwiftSpecificLLVMOptzns) | |
addCoroutinePassesToExtensionPoints(PMBuilder); | |
if (Opts.Sanitizers & SanitizerKind::Address) { | |
diff --git a/stdlib/public/core/CMakeLists.txt b/stdlib/public/core/CMakeLists.txt | |
index dd1ef587f2..8f3e37dd34 100644 | |
--- a/stdlib/public/core/CMakeLists.txt | |
+++ b/stdlib/public/core/CMakeLists.txt | |
@@ -284,7 +284,7 @@ if(SWIFT_STDLIB_SIL_DEBUGGING) | |
list(APPEND swift_stdlib_compile_flags "-Xfrontend" "-gsil") | |
endif() | |
-list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-inline-generics") | |
+# list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-inline-generics") | |
list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization") | |
if(SWIFT_STDLIB_ENABLE_STDLIBCORE_EXCLUSIVITY_CHECKING) | |
list(APPEND swift_stdlib_compile_flags "-enforce-exclusivity=checked") |
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)