Skip to content

Commit

Permalink
Merge pull request #1421 from Pavel-Durov/llvm-module-clone-pass-inte…
Browse files Browse the repository at this point in the history
…gration

Enable llvm module clone pass for SWT.
  • Loading branch information
ptersilie authored Oct 18, 2024
2 parents 2549476 + 8a0ff28 commit 6acca9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/yk-config
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ handle_arg() {
# Use software-tracer pass
if [ "${YKB_TRACER}" = "swt" ]; then
OUTPUT="${OUTPUT} -Wl,--mllvm=--yk-basicblock-tracer"
OUTPUT="${OUTPUT} -Wl,--mllvm=--yk-module-clone"
fi
# Disable backend optimisations that Yk can't handle by adding the
# `optnone` attribute onto every function after high-level IR
Expand Down

0 comments on commit 6acca9f

Please sign in to comment.