Displaying 2 results from an estimated 2 matches for "test_clean".
2018 Dec 14
3
LLVM Alias Analysis problem
Dear LLVM developers,
My name is Artem Vopilov, I am a student at TU Darmstadt. I am writing to you again to ask about Alias Analysis.
Now I attached IR code and C code of program I analyze with Alias Analysis.
Running commands "opt -analyze -aa-eval -print-all-alias-modref-info" and for printing sets of alias "opt -analyze -aa-eval -print-alias-sets" gives me the results,
2018 Dec 14
2
LLVM Alias Analysis problem
...i32* %a.addr, align 4
in recent LLVM-IR.
> 3) You should probably run something like:
> clang -emit-llvm -S -O3 -mllvm -disable-llvm-optzns test.c -o test.ll
> to get your initial IR. Then you probably want to continue with
> opt -S -mem2reg -instcombine -simplifycfg test.ll -o test_clean.ll
> to clean up the IR a bit (especially to remove the stack locations
> introduced for variables and transform them into "proper SSA values".)
> Finally you run your analyzes as you did before
> opt -analyze -aa-eval -print-all-alias-modref-info test_clean.ll
>...