Fixed opt output naming:
opted -> optimized
This commit is contained in:
committed by
Sergey Bogolepov
parent
cff142a617
commit
96afe7a274
+1
-1
@@ -87,7 +87,7 @@ internal class LinkStage(val context: Context) {
|
||||
private fun bitcodeToWasm(bitcodeFiles: List<BitcodeFile>): String {
|
||||
val combinedBc = temporary("combined", ".bc")
|
||||
hostLlvmTool("llvm-link", bitcodeFiles + listOf("-o", combinedBc, "-internalize"))
|
||||
val optimizedBc = temporary("opted", ".bc")
|
||||
val optimizedBc = temporary("optimized", ".bc")
|
||||
hostLlvmTool("opt", listOf(combinedBc, "-o", optimizedBc, "-O2"))
|
||||
val combinedS = temporary("combined", ".s")
|
||||
targetTool("llc", optimizedBc, "-o", combinedS)
|
||||
|
||||
Reference in New Issue
Block a user