We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I am trying to randomize the LLVM IR representation of a program using llc but I get identical versions:
clang test.cpp -emit-llvm -S -o test.ll llc test.ll -random-seed=444 -randomize-machine-registers -o test_444.s llc test.ll -random-seed=11 -randomize-machine-registers -o test_11.s
When running multicompiler using clang, everything works and the two variants test_444.s and test_11.s differ with regards to the register allocation.
clang test.cpp -frandom-seed=444 -mllvm -randomize-machine-registers -S -o test_444.s clang test.cpp -frandom-seed=11 -mllvm -randomize-machine-registers -S -o test_11.s
Is there any way to randomize the LLVM IR representation? I am attaching the code test.cpp with a script run.sh that shows this behavior. mcp.tar.gz
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
I am trying to randomize the LLVM IR representation of a program using llc but I get identical versions:
When running multicompiler using clang, everything works and the two variants test_444.s and test_11.s differ with
regards to the register allocation.
Is there any way to randomize the LLVM IR representation?
I am attaching the code test.cpp with a script run.sh that shows this behavior.
mcp.tar.gz
The text was updated successfully, but these errors were encountered: