Displaying 7 results from an estimated 7 matches for "hwj".
Did you mean:
hw
2018 Mar 16
3
opt: how to invoke optimizations manually?
...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 >= 0))
> return 1;
>
> return 0;
> }
2018 Mar 16
0
opt: how to invoke optimizations manually?
Hi,
You should add this option to the first command
*"-disable-O0-optnone"* so *clang
-Xclang -disable-O0-optnone -emit-llvm -S -o without_dce.ll test.c* then *opt
-dce -S < without_dce.ll > with_dce.ll*
HTH,
Son Tuan Vu
On Fri, Mar 16, 2018 at 2:15 PM, HwJ via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> 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...
2018 Mar 16
1
opt: how to invoke optimizations manually?
...n to the first command
> *"-disable-O0-optnone"* so *clang -Xclang -disable-O0-optnone -emit-llvm
> -S -o without_dce.ll test.c* then *opt -dce -S < without_dce.ll >
> with_dce.ll*
> *
> *
> HTH,
>
> Son Tuan Vu
>
> On Fri, Mar 16, 2018 at 2:15 PM, HwJ via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Hello,
>
> I'd like to measure the impact of optimizations.
> Trying this (for DCE):
>
> * clang -S -emit-llvm test.c
> * opt -S test.ll >...
2018 Mar 23
1
stack dump at -early-cse-memssa twice
...ly-cse-memssa twice:
$ clang -Xclang -disable-O0-optnone -S -o fannkuch7.ll -emit-llvm fannkuch7.c
$ opt -S -o fannkuch7.ll -early-cse-memssa -early-cse-memssa fannkuch7.ll
Questions:
Is it illegal to call -early-cse-memssa twice?
Are there any other incompatible optimization orders?
Best,
HwJ
---
$ clang --version
> clang version 6.0.0 (tags/RELEASE_600/final)
> Target: x86_64-apple-darwin16.5.0
> Thread model: posix
> InstalledDir: /usr/local/bin
Output:
> 0 opt 0x000000010d8980e7
> llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
>...
2018 Apr 19
0
opt: how to invoke optimizations manually?
...t;*"-disable-O0-optnone"* so *clang -Xclang -disable-O0-optnone
>>-emit-llvm -S -o without_dce.ll test.c* then *opt -dce -S <
>>without_dce.ll > with_dce.ll*
>>*
>>*
>>HTH,
>>
>>Son Tuan Vu
>>
>>On Fri, Mar 16, 2018 at 2:15 PM, HwJ via llvm-dev
>><llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
>> Hello,
>>
>> I'd like to measure the impact of optimizations.
>> Trying this (for DCE):
>>
>> * clang -S -emit-llvm test.c
>&g...
2006 May 09
3
3.0.23pre1 does not compile on HP-UX 11i
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just attempted to build 3.0.23pre1 on HP-UX 11.11 today, preparing for a
planned move to a later version of 3.0.x (we're currently down at
3.0.11). Configure ran fine, but make eventually failed here:
Compiling lib/sysacls.c
cc: warning 422: Unknown option "fPIE" ignored.
cc: "lib/sysacls.c", line 1277: warning 611: Type
2004 Dec 30
0
unsubscribe the list
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/