search for: twang15

Displaying 20 results from an estimated 36 matches for "twang15".

2018 Jan 09
3
Is -disable-llvm-passes and -disable-llvm-optzns different?
Quick results: [twang15 at c89 temp]$ clang -mllvm -help clang-5.0: error: no input files [twang15 at c89 temp]$ clang -mllvm -help-hidden clang-5.0: error: no input files [twang15 at c89 temp]$ clang -mllvm --help-hidden clang-5.0: error: no input files [twang15 at c89 temp]$ clang -mllvm --help clang-5.0: error: no inpu...
2018 Jan 09
2
Is -disable-llvm-passes and -disable-llvm-optzns different?
...ny others aren't aware of either) and strength '-disable-llvm-optzns' to do the same thing* Link: https://reviews.llvm.org/D28047 *-disable-llvm-optzns and -disable-llvm-passes are aliasing each other.* *1. Both can be passed to cc1 w/ -Xclang when compilation is run to finish.* E.g [twang15 at c89 temp]$ clang++ -O2 -Xclang -disable-llvm-optzns -save-temps LULESH.cc [twang15 at c89 temp]$ cp a.out a.out.1 [twang15 at c89 temp]$ clang++ -O2 -Xclang -disable-llvm-passes -save-temps LULESH.cc [twang15 at c89 temp]$ diff a.out a.out.1 [twang15 at c89 temp]$ *2. Both cannot be passed w/ -...
2018 Jan 09
0
Is -disable-llvm-passes and -disable-llvm-optzns different?
clang -O3 -mllvm -help -c LULESH.cc succeeds. On Tue, Jan 9, 2018 at 2:05 AM, toddy wang <wenwangtoddy at gmail.com> wrote: > Quick results: > > [twang15 at c89 temp]$ clang -mllvm -help > clang-5.0: error: no input files > [twang15 at c89 temp]$ clang -mllvm -help-hidden > clang-5.0: error: no input files > [twang15 at c89 temp]$ clang -mllvm --help-hidden > clang-5.0: error: no input files > [twang15 at c89 temp]$ clang -mllvm --...
2018 Jan 09
0
Is -disable-llvm-passes and -disable-llvm-optzns different?
...trength > '-disable-llvm-optzns' to do the same thing* > Link: https://reviews.llvm.org/D28047 > > *-disable-llvm-optzns and -disable-llvm-passes are aliasing each other.* > > *1. Both can be passed to cc1 w/ -Xclang when compilation is run to > finish.* > E.g > [twang15 at c89 temp]$ clang++ -O2 -Xclang -disable-llvm-optzns -save-temps > LULESH.cc > [twang15 at c89 temp]$ cp a.out a.out.1 > [twang15 at c89 temp]$ clang++ -O2 -Xclang -disable-llvm-passes -save-temps > LULESH.cc > [twang15 at c89 temp]$ diff a.out a.out.1 > [twang15 at c89 temp]$ &...
2018 Jan 09
1
Is -disable-llvm-passes and -disable-llvm-optzns different?
...-help-hidden # Fail On Tue, Jan 9, 2018 at 2:07 AM, toddy wang <wenwangtoddy at gmail.com> wrote: > clang -O3 -mllvm -help -c LULESH.cc succeeds. > > On Tue, Jan 9, 2018 at 2:05 AM, toddy wang <wenwangtoddy at gmail.com> wrote: > >> Quick results: >> >> [twang15 at c89 temp]$ clang -mllvm -help >> clang-5.0: error: no input files >> [twang15 at c89 temp]$ clang -mllvm -help-hidden >> clang-5.0: error: no input files >> [twang15 at c89 temp]$ clang -mllvm --help-hidden >> clang-5.0: error: no input files >> [twang15 at c8...
2018 Jan 08
2
Relationship between clang, opt and llc
..., Mehdi AMINI <joker.eph at gmail.com> wrote: > >> >> >> 2018-01-08 8:41 GMT-08:00 toddy wang <wenwangtoddy at gmail.com>: >> >>> Hi Medhi, >>> >>> It seems -mllvm does not work as expected. Anything wrong? >>> >>> [twang15 at c92 temp]$ clang++ -O3 -mllvm *-deadargelim* LULESH.cc >>> clang (LLVM option parsing): Unknown command line argument >>> '-deadargelim'. Try: 'clang (LLVM option parsing) -help' >>> clang (LLVM option parsing): Did you mean '-regalloc'? >&g...
2018 Jan 09
0
Relationship between clang, opt and llc
...di, I found -unroll-max-count can be passed w/ -mllvm. -dce, -adce, etc, are also dumped by 'opt --help-hidden'. However, they cannot be passed w/ -mllvm. Is this what "You can't schedule passes this way, only set parameters like -unroll-threshold=<uint> etc." means? [twang15 at c89 temp]$ clang++ -mllvm -unroll-max-count=4 -mllvm -dce -save-temps LULESH.cc clang (LLVM option parsing): Unknown command line argument '-dce'. Try: 'clang (LLVM option parsing) -help' clang (LLVM option parsing): Did you mean '-mv4'? On Mon, Jan 8, 2018 at 12:48 P...
2018 Jan 09
3
Relationship between clang, opt and llc
...t can be passed w/ -mllvm. > -dce, -adce, etc, are also dumped by 'opt --help-hidden'. However, they > cannot be passed w/ -mllvm. > Is this what "You can't schedule passes this way, only set parameters > like -unroll-threshold=<uint> etc." means? > > [twang15 at c89 temp]$ clang++ -mllvm -unroll-max-count=4 -mllvm -dce > -save-temps LULESH.cc > clang (LLVM option parsing): Unknown command line argument '-dce'. Try: > 'clang (LLVM option parsing) -help' > clang (LLVM option parsing): Did you mean '-mv4'? > > &g...
2018 Jan 09
0
Relationship between clang, opt and llc
...m. >> -dce, -adce, etc, are also dumped by 'opt --help-hidden'. However, they >> cannot be passed w/ -mllvm. >> Is this what "You can't schedule passes this way, only set parameters >> like -unroll-threshold=<uint> etc." means? >> >> [twang15 at c89 temp]$ clang++ -mllvm -unroll-max-count=4 -mllvm -dce >> -save-temps LULESH.cc >> clang (LLVM option parsing): Unknown command line argument '-dce'. Try: >> 'clang (LLVM option parsing) -help' >> clang (LLVM option parsing): Did you mean '-mv4...
2018 Jan 08
2
Relationship between clang, opt and llc
2018-01-08 8:41 GMT-08:00 toddy wang <wenwangtoddy at gmail.com>: > Hi Medhi, > > It seems -mllvm does not work as expected. Anything wrong? > > [twang15 at c92 temp]$ clang++ -O3 -mllvm *-deadargelim* LULESH.cc > clang (LLVM option parsing): Unknown command line argument > '-deadargelim'. Try: 'clang (LLVM option parsing) -help' > clang (LLVM option parsing): Did you mean '-regalloc'? > > [twang15 at c92 temp...
2018 Jan 09
1
Relationship between clang, opt and llc
...dce, etc, are also dumped by 'opt --help-hidden'. However, they >>> cannot be passed w/ -mllvm. >>> Is this what "You can't schedule passes this way, only set parameters >>> like -unroll-threshold=<uint> etc." means? >>> >>> [twang15 at c89 temp]$ clang++ -mllvm -unroll-max-count=4 -mllvm -dce >>> -save-temps LULESH.cc >>> clang (LLVM option parsing): Unknown command line argument '-dce'. Try: >>> 'clang (LLVM option parsing) -help' >>> clang (LLVM option parsing): Did you m...
2018 Jan 08
0
Relationship between clang, opt and llc
Hi Medhi, It seems -mllvm does not work as expected. Anything wrong? [twang15 at c92 temp]$ clang++ -O3 -mllvm *-deadargelim* LULESH.cc clang (LLVM option parsing): Unknown command line argument '-deadargelim'. Try: 'clang (LLVM option parsing) -help' clang (LLVM option parsing): Did you mean '-regalloc'? [twang15 at c92 temp]$ clang++ -O3 -mllvm *de...
2018 Jan 08
0
Relationship between clang, opt and llc
On Mon, Jan 8, 2018 at 11:53 AM, Mehdi AMINI <joker.eph at gmail.com> wrote: > > > 2018-01-08 8:41 GMT-08:00 toddy wang <wenwangtoddy at gmail.com>: > >> Hi Medhi, >> >> It seems -mllvm does not work as expected. Anything wrong? >> >> [twang15 at c92 temp]$ clang++ -O3 -mllvm *-deadargelim* LULESH.cc >> clang (LLVM option parsing): Unknown command line argument >> '-deadargelim'. Try: 'clang (LLVM option parsing) -help' >> clang (LLVM option parsing): Did you mean '-regalloc'? >> >>...
2018 Jan 06
1
Relationship between clang, opt and llc
...: >> >>> @Zhaopei, thanks for the clarification. >>> >>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives >>> the following error message. From which version -disable-O0-optnone gets >>> supported? >>> >>> [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone -Xclang >>> -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc >>> error: unknown argument: '-disable-O0-optnone' >>> >>> [twang15 at c89 temp]$ clang++ --version >>> clang version 4.0.1 (ta...
2018 Jan 06
4
Relationship between clang, opt and llc
...8 at 4:49 PM, toddy wang <wenwangtoddy at gmail.com> wrote: > @Zhaopei, thanks for the clarification. > > @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives > the following error message. From which version -disable-O0-optnone gets > supported? > > [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone -Xclang > -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc > error: unknown argument: '-disable-O0-optnone' > > [twang15 at c89 temp]$ clang++ --version > clang version 4.0.1 (tags/RELEASE_401/final) > Target: x86_6...
2018 Jan 06
0
Relationship between clang, opt and llc
@Zhaopei, thanks for the clarification. @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives the following error message. From which version -disable-O0-optnone gets supported? [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone -Xclang -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc error: unknown argument: '-disable-O0-optnone' [twang15 at c89 temp]$ clang++ --version clang version 4.0.1 (tags/RELEASE_401/final) Target: x86_64-unknown-linux-gnu On Fri,...
2018 Jan 08
2
Relationship between clang, opt and llc
...and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone >>>>>>>>> gives the following error message. From which version -disable-O0-optnone >>>>>>>>> gets supported? >>>>>>>>> >>>>>>>>> [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone >>>>>>>>> -Xclang -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc >>>>>>>>> error: unknown argument: '-disable-O0-optnone' >>>>>>>>> >>>>&g...
2018 Jan 06
0
Relationship between clang, opt and llc
...wangtoddy at gmail.com> wrote: > >> @Zhaopei, thanks for the clarification. >> >> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives >> the following error message. From which version -disable-O0-optnone gets >> supported? >> >> [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone -Xclang >> -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc >> error: unknown argument: '-disable-O0-optnone' >> >> [twang15 at c89 temp]$ clang++ --version >> clang version 4.0.1 (tags/RELEASE_401/final...
2018 Jan 06
3
Relationship between clang, opt and llc
...: >> >>> @Zhaopei, thanks for the clarification. >>> >>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives >>> the following error message. From which version -disable-O0-optnone gets >>> supported? >>> >>> [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone -Xclang >>> -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc >>> error: unknown argument: '-disable-O0-optnone' >>> >>> [twang15 at c89 temp]$ clang++ --version >>> clang version 4.0.1 (ta...
2018 Jan 07
2
Relationship between clang, opt and llc
...: >> >>> @Zhaopei, thanks for the clarification. >>> >>> @Craig and @Michael, for clang 4.0.1, -Xclang -disable-O0-optnone gives >>> the following error message. From which version -disable-O0-optnone gets >>> supported? >>> >>> [twang15 at c89 temp]$ clang++ -O0 -Xclang -disable-O0-optnone -Xclang >>> -disable-llvm-passes -c -emit-llvm -o a.bc LULESH.cc >>> error: unknown argument: '-disable-O0-optnone' >>> >>> [twang15 at c89 temp]$ clang++ --version >>> clang version 4.0.1 (ta...