Displaying 20 results from an estimated 54 matches for "preverify".
2013 Jan 29
1
[LLVMdev] Apparent indeterminism in PreVerifier
Is there a test case that you can share ?
On Jan 29, 2013, at 9:24 AM, Sergei Larin <slarin at codeaurora.org> wrote:
> Nadav,
>
> Thanks for the quick response. By now I am convinced that the given loop
> ends up vectorized with enough difference to cause bad things later on, but
> I have not found the exact cause yet. To continue with my work I'll have to
>
2013 Jan 29
0
[LLVMdev] Apparent indeterminism in PreVerifier
Nadav,
Thanks for the quick response. By now I am convinced that the given loop
ends up vectorized with enough difference to cause bad things later on, but
I have not found the exact cause yet. To continue with my work I'll have to
simply turn off vectorization for now, but I will come back and investigate.
Again, there is some indeterminism in order of PHIs processing somewhere.
I'll
2013 Jan 29
0
[LLVMdev] Apparent indeterminism in PreVerifier
Nadav,
As I peel this onion, it looks like you might know something about
InnerLoopVectorizer::addRuntimeCheck.
What does it do, and can it be causing the below described issue? Could
resuming somehow (indeterministically) switch the order of PHIs in the
original code?
Thanks a lot.
Sergei.
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation
2013 Jan 29
2
[LLVMdev] Apparent indeterminism in PreVerifier
Hi Sergei,
"addRuntimeCheck" inserts code that checks that two or more arrays are disjoint. I looked at the code and it looks fine. We generate PHIs in the order that they appear in a vector. The values are inserted in 'canVectorizeMemory', which also looks fine. Please let me know if you think I missed something.
Thanks,
Nadav
On Jan 29, 2013, at 8:48 AM, Sergei Larin
2013 Jan 29
2
[LLVMdev] Apparent indeterminism in PreVerifier
Hello everybody,
I have a case of suspected indeterminism and I would like to verify that
it is not a known issue before I dig deep into it.
It seems to happen during PreVerifier pass ("Preliminary module
verification"). The little I understand/assume about it, a verifier pass is
not supposed to change the code (or is it?) but in debug stream I see the
following:
Common predecessor:
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Thanks again.
I executed the following command line
llc -O3 comb.ll.bc -debug-pass=Arguments
and got
Pass Arguments: -targetdata -targetpassconfig -no-aa -tbaa
-targetlibinfo -basicaa -collector-metadata -machinemoduleinfo
-machine-branch-prob -preverify -domtree -verify -loops -loop-simplify
-scalar-evolution -loop-simplify -iv-users -loop-reduce -gc-lowering
-unreachableblockelim -codegenprepare -stack-protector -preverify
-domtree -verify -loops -branch-prob -expand-isel-pseudos
-tailduplication -opt-phis -localstackalloc -dead-mi-elimination
-m...
2013 Aug 19
1
[LLVMdev] How to disbale loop-rotate in opt -O3 ?
...ld still be eliminated).
Since I found no clues on how distinguish such loops, I tried to disable loop-rotate. For this purpose, I got the list of passes executed by O3, I eliminate loop-rotate and I call the reduced list of passes from opt:
opt -targetdata -no-aa -tbaa -targetlibinfo -basicaa -preverify -domtree -verify -simplifycfg -domtree -scalarrepl -early-cse -lower-expect -targetlibinfo -targetdata -no-aa -tbaa -basicaa -globalopt -ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -argpromotion -scalarrepl-ssa -domtree -early-cse -simplify-libcalls -lazy...
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
Hi,
> I executed the following command line
>
> llc -O3 comb.ll.bc -debug-pass=Arguments
>
> and got
>
> Pass Arguments: -targetdata -targetpassconfig -no-aa -tbaa
> -targetlibinfo -basicaa -collector-metadata -machinemoduleinfo
> -machine-branch-prob -preverify -domtree -verify -loops -loop-simplify
> -scalar-evolution -loop-simplify -iv-users -loop-reduce -gc-lowering
> -unreachableblockelim -codegenprepare -stack-protector -preverify
> -domtree -verify -loops -branch-prob -expand-isel-pseudos
> -tailduplication -opt-phis -localstackalloc -de...
2009 Feb 02
1
[LLVMdev] Proposal: Debug information improvement - keep the line number with optimizations
...2.1.1 **Pass Scanning Script*
Following the way proposed by Chris, it is good to have a script to scan the
standard LLVM transform pass list. We can get the standard compile
optimization pass list by:
$ opt -std-compile-opts -debug-pass=Arguments foo.bc > /dev/null
Pass Arguments: -preverify -domtree -verify -lowersetjmp -raiseallocs
-simplifycfg -domtree -domfrontier -mem2reg -globalopt -globaldce
-ipconstprop -deadargelim -instcombine -simplifycfg -basiccg -prune-eh
-inline -argpromotion -tailduplicate -simplify-libcalls -instcombine
-jump-threading -simplifycfg -domtree -domfrontier...
2011 Nov 15
1
[LLVMdev] opt -O2 optimization passes
...d following command:
llvm-as < /dev/null | opt -O2 -std-compile-opts -disable-output
-debug-pass=Arguments
I've got following output for LLVM opt 2.9:
Pass Arguments: -no-aa -tbaa -basicaa -simplifycfg -domtree -scalarrepl
-early-cse
Pass Arguments: -targetlibinfo -no-aa -tbaa -basicaa -preverify -domtree
-verify -lowersetjmp -globalopt -ipsccp -deadargelim -instcombine
-simplifycfg -basiccg -prune-eh -inline -functionattrs -argpromotion
-scalarrepl-ssa -domtree -early-cse -simplify-libcalls -lazy-value-info
-jump-threading -correlated-propagation -simplifycfg -instcombine
-tailcallelim -si...
2012 Jun 12
2
[LLVMdev] Why always abort in verifyFunction?
On Mon, Jun 11, 2012 at 5:44 PM, Joey Gouly <joel.gouly at gmail.com> wrote:
> Hi Xiu,
>
> The Verifier pass runs a PreVerifier pass, which does not honour the
> action argument,
> and will always abort on a broken module, (Line 106,
> lib/VMCore/Verifier.cpp)
>
So the argument can not be used as described as the official document? I
just want to make sure of that and
2015 Dec 02
5
Is there a way to pass Optimization passes to clang?
...optimization and passes with -O0 optimization.
I got a list of optimization passes being performed when 'clang -O1' is
called like this:
llvm-as < /dev/null | opt -O1 -disable-output -debug-pass=Arguments
Which results in:
Pass Arguments: -no-aa -tbaa -targetlibinfo -basicaa -notti -preverify
-domtree -verify -simplifycfg -domtree -sroa -early-cse -lower-expect
Pass Arguments: -targetlibinfo -no-aa -tbaa -basicaa -notti -globalopt
-ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh
-inline-cost -always-inline -functionattrs -sroa -domtree -early-cse
-simplify-libcalls -la...
2011 Oct 22
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...s to load a symbol that it doesn't find ...
I have synchronized all clang/llvm/polly to the latest version and I
compiled them all together. Loading polly with "opt" works strangely
... :
opt -S -load ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -mem2reg -no-aa
-targetlibinfo -tbaa -basicaa -preverify -domtree -verify -mem2reg
-instcombine -simplifycfg -tailcallelim -simplifycfg -reassociate
-domtree -loops -loop-simplify -lcssa -loop-rotate -instcombine
-scalar-evolution -loop-simplify -lcssa -indvars -polly-prepare
-postdomtree -domfrontier -regions -polly-region-simplify
-scalar-evolution -lo...
2009 Jul 06
1
[LLVMdev] Pool Allocation Segfaulting with opt
John Criswell wrote:
> You can use the -debug-pass=Arguments option to opt to print out which
> DSA passes it is using.
>
> -- John T.
>
The argument list was this: -dsa-local -dsa-stdlib -dsa-bu -dsa-eqtd
-poolalloc -preverify -domtree -verify
So, the last DSA pass done would appear to have been "-dsa-eqtd". Does
this mean pool allocation is using TDeq and not BUeq as I'd thought? I
notice that it's doing a BU pass right before it, so I guess that's
probably not right, but the source code says...
2012 Feb 02
0
[LLVMdev] Opt ...the pass manager utility
...nsformation phase in
steps using opt utility and i'm stalled here.
i.e run the utility on sample by --basicaa switch and output was
$ opt -f -S -basicaa -gvn -dse -debug-pass=Structure test4.s
Pass Arguments: -targetlibinfo -targetdata -no-aa -basicaa -domtree
-memdep -gvn -memdep -dse -preverify -verify -print-module
Target Library Information
Target Data Layout
*No Alias Analysis (always returns 'may' alias)*
Basic Alias Analysis (stateless AA impl)
ModulePass Manager
FunctionPass Manager
Dominator Tree Construction
Memory Dependence Analysis
Global Value N...
2012 Jun 12
0
[LLVMdev] Why always abort in verifyFunction?
On Tue, Jun 12, 2012 at 10:11:01AM +0800, Michael.Kang wrote:
>
>
> On Mon, Jun 11, 2012 at 5:44 PM, Joey Gouly <joel.gouly at gmail.com> wrote:
>
> Hi Xiu,
>
> The Verifier pass runs a PreVerifier pass, which does not honour the action
> argument,
> and will always abort on a broken module, (Line 106, lib/VMCore/
> Verifier.cpp)
>
2010 Feb 03
1
[LLVMdev] Compiling Linux Kernel
Does anyone have experience to compile Linux kernel in LLVM-2.6?
I am working on a C/C++ race detection framework and want to test in
large applications. But I do have a lot of errors while compiling
Linux kernel 2.6.3 using LLVM-2.6. Actually, I only need to get the
.bc bitcode file.
Anyboy does similar work before? Which Linux kernel version is used
and any skills?
Thanks.
Lei
/******
* Lei
2012 Jun 11
0
[LLVMdev] Why always abort in verifyFunction?
Hi Xiu,
The Verifier pass runs a PreVerifier pass, which does not honour the action
argument,
and will always abort on a broken module, (Line 106,
lib/VMCore/Verifier.cpp)
Perhaps you should file a bug against this, to allow you to not abort if
you so wish.
Joey
On 11 June 2012 09:41, Guowei Xu <myesis at gmail.com> wrote:
> Hello everyone:
>
> I have a little question
2011 Oct 23
0
[LLVMdev] How to make Polly ignore some non-affine memory accesses
...esn't find ...
> I have synchronized all clang/llvm/polly to the latest version and I
> compiled them all together. Loading polly with "opt" works strangely
> ... :
>
> opt -S -load ${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -mem2reg -no-aa
> -targetlibinfo -tbaa -basicaa -preverify -domtree -verify -mem2reg
> -instcombine -simplifycfg -tailcallelim -simplifycfg -reassociate
> -domtree -loops -loop-simplify -lcssa -loop-rotate -instcombine
> -scalar-evolution -loop-simplify -lcssa -indvars -polly-prepare
> -postdomtree -domfrontier -regions -polly-region-simplify
&...
2012 Jun 11
2
[LLVMdev] Why always abort in verifyFunction?
Hello everyone:
I have a little question about the second argument *action* of
verifyFunction.
In docs:
*Enumerator: * *AbortProcessAction*
verifyModule will print to stderr and abort()
*PrintMessageAction*
verifyModule will print to stderr and return true
*ReturnStatusAction*
verifyModule will just return true
But it still abort when I pass