Displaying 2 results from an estimated 2 matches for "960edcea".
2018 Mar 16
3
opt: how to invoke optimizations manually?
Hello,
I'd like to measure the impact of optimizations.
Trying this (for DCE):
* clang -S -emit-llvm test.c
* opt -S test.ll > without_dce.ll
* opt -S -dce test.ll > with_dce.ll
gives without_dce.ll and with_dce.ll having the same content.
How can you apply certain optimizations in a specified order?
Best,
HwJ
---
$ cat test.c
> int dce(int n) {
> if ((n < 0) || (n
2018 Mar 16
0
opt: how to invoke optimizations manually?
..._____________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180316/960edcea/attachment.html>