diff options
| author | atil <atilkurtulmus@gmail.com> | 2021-03-19 09:57:38 +0300 |
|---|---|---|
| committer | atil <atilkurtulmus@gmail.com> | 2021-03-19 09:57:38 +0300 |
| commit | 2c0ddfb5db1a06c76f94022e6ff505948e98afd1 (patch) | |
| tree | ad0f59323cd85ae1ac3142d45602a0ca233db645 /src/main.cpp | |
| parent | 2f4902c9b947efefec572ca81b5a367edaa9a99b (diff) | |
fixtypo
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 914dc1dbe..9d048ca27 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1508,11 +1508,10 @@ i32 exec_llvm_opt(String output_base) { // For more passes arguments: http://llvm.org/docs/Passes.html return system_exec_command_line_app("llvm-opt", - "\"%.*sbin/opt\" \"%.*s.ll\" -o \"memcpy_pass_%.*s.bc\" %.*s " + "\"%.*sbin/opt\" \"%.*s.ll\" -o \"memcpy_pass_%.*s.bc\" -memcpyopt" "", LIT(build_context.ODIN_ROOT), - LIT(output_base), LIT(output_base), - LIT(build_context.opt_flags)) + LIT(output_base), LIT(output_base)) || system_exec_command_line_app("llvm-opt", "\"%.*sbin/opt\" \"memcpy_pass_%.*s.bc\" -o \"%.*s.bc\" %.*s " |