Displaying 20 results from an estimated 804 matches for "mllvm".
Did you mean:
llvm
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 input files
Anything wrong?
O...
2018 Jan 09
1
Is -disable-llvm-passes and -disable-llvm-optzns different?
Thanks for pointing this out.
The following is a more extensive test.
//succeed means dumping help info without Error message.
clang -help #succeed
'clang -help-hidden' #Fail
'clang --help-hidden' #Succeed
clang -mllvm -v -help #Succeed
clang -mllvm -v -help-hidden #Fail
clang -mllvm -v --help-hidden #Succeed
'clang -mllvm -help -c LULESH.cc' #Succeed
'clang -mllvm -help LULESH.cc' # Fail
clang -cc1 -help #Succeed
clang -cc1 -help-hidden #Fail . (may be no hidden option)
clang -cc1 --help-hidden...
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: err...
2018 Jan 09
2
Is -disable-llvm-passes and -disable-llvm-optzns different?
...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/ -mllvm without -emit-llvm -c*
[twang15 at c89 temp]$ clang++ -O2 -mllvm -disable-llvm-optzns -save-temps
LULESH.cc
clang (LLVM option parsing): Unknown command line argument
'-disable-llvm-optzns'. Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-...
2018 Jan 09
0
Is -disable-llvm-passes and -disable-llvm-optzns different?
There's a hack in lib/Driver/ToolChains/Clang.cpp to accept "-mllvm
-disable-llvm-optzns" as a hack for legacy compatibility. It's deprecated
and the -Xclang spelling should be used.
There does appear to be a bug with "-mllvm -disable-llvm-optzns" and
-save-temps. -save-temps causes clang to be invoked separately to text
assembly into binary cod...
2015 Dec 02
2
Is there a way to pass Optimization passes to clang?
...until I hit the same problem as with -O1, but
> clang itself doesn't seem to allow these commandline options, for example:
> >
> > clang -loops -lcssa ....
> >
> >
>
> If you want to pass LLVM arguments to clang, then you must prefix them
> with -llvm (e.g. -mllvm -loops -mllvm lcssa).
>
>
I just tried this:
CFLAGS += -mllvm adce -mllvm loops -mllvm loop-simplify -mllvm lcssa -mllvm
simplify-libcalls
And get:
clang (LLVM option parsing): Unknown command line argument 'adce'. Try:
'clang (LLVM option parsing) -help'
clang (LLVM option...
2017 May 24
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...at arm.com>> wrote:
>>>
>>>
>>>> On 22 May 2017, at 09:09, Diana Picus <diana.picus at linaro.org <mailto:diana.picus at linaro.org>> wrote:
>>>>
>>>> Hi Quentin,
>>>>
>>>> I actually did a run with -mllvm -optimize-regalloc -mllvm
>>>> -regalloc=greedy over the weekend and the test does pass with that.
>>>> Haven't measured the compile time though.
>>>>
>>>> Cheers,
>>>> Diana
>>>
>>> I also did my usual benchmarking...
2012 Jan 16
0
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...error messages? Are
you using a 32bit platform?
>
> Expected Passes : 104
> Expected Failures : 29
> Unexpected Failures: 3
> make: *** [polly-test] Error 1
>
> When I try your command 'clang -Xclang -load ${POLLY_DLIB} ${FILE}.c -o ${FILE}.ll -S -emit-llvm -mllvm -polly -O0' if fails with the following errors:
The command to prepare the code for Polly was incorrect. I missed a
'-Xclang' option. The correct one is:
clang -Xclang -load -Xclang ${POLLY_DLIB} ${FILE}.c -o ${FILE}.ll -S
-emit-llvm -mllvm -polly -O0
to also enable -enable-iv-rewr...
2017 May 24
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...>>>> Ahmed did a bunch of compile time measurements on our side and I wanted to see if I need to put him on the hook again :).
>>>
>>> I did a quick setup with CTMark (part of the test-suite). I ran each of
>>> * '-O0 -g',
>>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0', and
>>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0 -mllvm -optimize-regalloc -mllvm -regalloc=greedy'
>>> 5 times, cross-compiling from X86 to AArch64, and took the median measured compile times.
>&...
2017 May 23
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...as wrong, it saves me some time.
> On May 22, 2017, at 12:51 AM, Kristof Beyls <kristof.beyls at arm.com> wrote:
>
>
>> On 22 May 2017, at 09:09, Diana Picus <diana.picus at linaro.org> wrote:
>>
>> Hi Quentin,
>>
>> I actually did a run with -mllvm -optimize-regalloc -mllvm
>> -regalloc=greedy over the weekend and the test does pass with that.
>> Haven't measured the compile time though.
>>
>> Cheers,
>> Diana
>
> I also did my usual benchmarking run with the same options as Diana did above:
> - Co...
2016 May 17
3
-mllvm -inline-threshold no longer honored?
While checking on the status of
https://llvm.org/bugs/show_bug.cgi?id=22657 in current llvm/clang
trunk, I noticed that the previous work-around for recovering the
missing in-lining of the c-ray 1.1 benchmarks of passing -mllvm
-inline-threshold=500 no longer works. This regression doesn't exist
in the 3.8.0 release. Any idea what commit in 3.9svn might have
introduced this regression?
Jack
2013 Sep 08
2
[LLVMdev] [Polly] Compile-time and Execution-time analysis for the SCEV canonicalization
...on has significant impact on both compile-time and execution-time performance.
Detailed results for SCEV and default canonicalization can be viewed on: http://188.40.87.11:8000/db_default/v4/nts/32 (or 33, 34)
*pNoGen with SCEV canonicalization (run 32): -O3 -Xclang -load -Xclang LLVMPolly.so -mllvm -polly -mllvm -polly-optimizer=none -mllvm -polly-code-generator=none -mllvm -polly-codegen-scev
*pNoGen with default canonicalization (run 33): -O3 -Xclang -load -Xclang LLVMPolly.so -mllvm -polly -mllvm -polly-optimizer=none -mllvm -polly-code-generator=none
*pBasic without any canonicaliza...
2014 Oct 13
4
[LLVMdev] Passing llc options to Clang
Hi,
Is there a way to passing llc options to clang, for example -march -mcpu,
etc. ?
Some threads suggested using -mllvm flag,
I tried ./clang -mllvm -march=X86-64 -mcpu=core2 -o hello hello.c, but got
"Unknown command line argument"
Thanks,
Ziqiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141013/7982544a/att...
2012 Jan 16
2
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...ngle_do_loop_int_max_iterations.ll
Polly :: CodeGen/single_do_loop_scev_replace.ll
Expected Passes : 104
Expected Failures : 29
Unexpected Failures: 3
make: *** [polly-test] Error 1
When I try your command 'clang -Xclang -load ${POLLY_DLIB} ${FILE}.c -o ${FILE}.ll -S -emit-llvm -mllvm -polly -O0' if fails with the following errors:
--------------------------------------
clang: warning: /Developer/llvm_build/tools/polly/Debug+Asserts/lib/LLVMPolly.dylib: 'linker' input unused when '-S' is present
clang: warning: argument unused during compilation: '-mllvm...
2017 May 25
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...nch of compile time measurements on our side and I wanted to see if I need to put him on the hook again :).
>>>>>
>>>>> I did a quick setup with CTMark (part of the test-suite). I ran each of
>>>>> * '-O0 -g',
>>>>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0', and
>>>>> * '-O0 -g -mllvm -global-isel=true -mllvm -global-isel-abort=0 -mllvm -optimize-regalloc -mllvm -regalloc=greedy'
>>>>> 5 times, cross-compiling from X86 to AArch64, and took the median measured comp...
2011 Jul 20
2
[LLVMdev] Use of -mllvm -debug (clang)
Hi,
I have been trying to use the -mllvm -debug option for clang but without much success. Do I need to build in any specific manner for this to work ?
On using -mllvm -debug as follows I get the error below.
$>clang -ccc-host-triple armv7-none-linux-gnueabi -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9 -mllvm -debug fdct.i -S
clang...
2013 Jul 30
3
[LLVMdev] [Polly] Update of Polly compile-time performance on LLVM test-suite
...st LLVM/Polly source code. You can view the results on http://188.40.87.11:8000.
Especially, I also evaluated our r187102 patch file that avoids expensive failure string operations in normal execution. Specifically, I evaluated two cases for it:
Polly-NoCodeGen: clang -O3 -load LLVMPolly.so -mllvm -polly-optimizer=none -mllvm -polly-code-generator=none
http://188.40.87.11:8000/db_default/v4/nts/16?compare_to=9&baseline=9&aggregation_fn=median
Polly-Opt: clang -O3 -load LLVMPolly.so -mllvm -polly
http://188.40.87.11:8000/db_default/v4/nts/18?compare_to=11&baseline=11&aggregati...
2012 Feb 01
3
[LLVMdev] Loop Unroll a constant number of times?
Is it possible to unroll a loop (forcibly if necessary) with llvm (possibly
the -loop-unroll pass) a constant number of times.
I believe that I read that the -unroll-count=x option was removed, correct?
So is there some other way to do this or is this just not possible in llvm?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Sep 08
0
[LLVMdev] [Polly] Compile-time and Execution-time analysis for the SCEV canonicalization
...t on both compile-time and execution-time performance.
Interesting.
> Detailed results for SCEV and default canonicalization can be viewed on: http://188.40.87.11:8000/db_default/v4/nts/32 (or 33, 34)
> *pNoGen with SCEV canonicalization (run 32): -O3 -Xclang -load -Xclang LLVMPolly.so -mllvm -polly -mllvm -polly-optimizer=none -mllvm -polly-code-generator=none -mllvm -polly-codegen-scev
> *pNoGen with default canonicalization (run 33): -O3 -Xclang -load -Xclang LLVMPolly.so -mllvm -polly -mllvm -polly-optimizer=none -mllvm -polly-code-generator=none
> *pBasic without any...
2014 Apr 24
2
[LLVMdev] How to get debug dump of candidate pairs selected in BBVectorizer?
...9;m trying to understand BB Vectorizer and gone through
http://llvm.org/devmtg/2012-04-12/Slides/Hal_Finkel.pdf
Wanted to know how to use bb-vectorize-debug-candidate-selection and
bb-vectorize-debug-pair-selection
command arguments.
I tried the command with debug build clang -
clang -O2 test.c -mllvm -vectorize \
-mllvm -debug-only=bb-vectorize \
-mllvm -bb-vectorize-debug-pair-selection \
-mllvm -bb-vectorize-debug-candidate-selection
as mentioned in http://llvm.org/bugs/show_bug.cgi?id=11973 but it
doesnt seem to dump the candidate pair info as shown in bug id.
Could someone help me out he...