Displaying 20 results from an estimated 100000 matches similar to: "[LLVMdev] Passmager"
2011 Sep 16
1
[LLVMdev] Problem with loop-unrolling
Hello,
When we invoke the loop-unroll pass, the compiler is crashing. From
the earlier posts in the mailing-list and from the bug reports, it is
a known problem.
Is there some one working on this bug?
-Suresh
2012 Jun 29
1
[LLVMdev] Why some registered passes are not available through opt?
Sorry, then I don't understand. If I invoke backend with
target->addPassesToEmitFile, it adds both opt and llc passes. Thus,
PassManager contains both opt and llc passes after that. In case of
crash, bugpoint reloads all passes from the failing pass manager to
the separate instance of opt. If opt and llc both do not support such
mixing, then I'm guessing I need to replace
2012 Jun 29
2
[LLVMdev] Why some registered passes are not available through opt?
Hi Duncan,
Is it correct that opt does not understand codegen passes, but llc
understands both analysis/transformation and codegen passes? I would
like to modify bugpoint to work on this end.
Thanks,
- D.
2012/6/29 Duncan Sands <baldrick at free.fr>:
> Hi Dima,
>
>> I'm trying to understand why opt tool does not know some of the
>> registered passes, for example,
2013 Feb 09
1
[LLVMdev] Impact of an analysis pass on program run time
Hello,
I am working on finding good optimization sequences for a given program
(phase ordering problem). I have the following setup.
1) The source programs are translated into LLVM IR using -O0 + -scalarrepl.
2) Find an optimization sequence using some strategy which translates the
IR generated in the
previous step into another IR.
3) Apply llc -O2 and map the IR in to target assembly code.
2011 Jun 25
1
[LLVMdev] Loop Unrolling
Hello,
I tried to do some small experiments on the loop unroll
transformation. Following is the Test Program. I compiled it as
follows:
$ opt -loop-rotate -debug-only=loop-unroll -loop-unroll
-unroll-count=2 test1.o -S -o test1.s
------------------
int a[1024];
int main()
{
int i, sum=0;
for(i=0; i<1024; ++i)
sum += a[i];
printf("%d",sum);
}
-------------------
I got
2012 Jun 29
0
[LLVMdev] Why some registered passes are not available through opt?
Hi Dmitry,
> Is it correct that opt does not understand codegen passes, but llc
> understands both analysis/transformation and codegen passes?
no.
Ciao, Duncan.
I would
> like to modify bugpoint to work on this end.
>
> Thanks,
> - D.
>
> 2012/6/29 Duncan Sands <baldrick at free.fr>:
>> Hi Dima,
>>
>>> I'm trying to understand why opt
2009 Jul 20
4
[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
Hi Mark,
> You are confusing stopping the unwinding at *some* levels or at *all*
> levels.
> Eg.
> invoke
> call
> call
> invoke
> call
> call
> unwind
the dwarf unwinder only stops and runs user code at the invokes.
It does restore registers and so forth at every stack frame.
This is extra work done at unwind time that reduces the cost
2011 Jul 06
1
[LLVMdev] Optimization Order at O2/O3
Dear all,
Is there a command line argument which prints the order of
application of various analysis/transformation passes on a program
using clang?
-Suresh
2011 Jun 19
0
[LLVMdev] Phase Interactions
On 19 June 2011 14:44, Suresh Purini <suresh.purini at gmail.com> wrote:
> I am doing few experiments to do understand optimization phase
> interactions. Here is a brief description of my experiements.
>
> 1. I picked the list of machine independent optimizations acting on
> llvm IR (those that are enabled at O3).
> 2. for each optimzation in the optimization-list
>
2010 Dec 07
0
[LLVMdev] Inlining and exception handling in LLVM and GCC
Hi Duncan,
I see the similarities with GCC and Bill's proposal, makes sense.
On 7 December 2010 20:20, Duncan Sands <baldrick at free.fr> wrote:
>> 1. It eases the future elimination of invoke, or at least, the
>> treatment of current instruction-level exception (as in Java) in a
>> cleaner way.
>
> I don't see what is cleaner about it, except that it is
2013 May 31
2
[LLVMdev] Dead Code Elimination and undef values
Hello there,
I'm writing a transformation pass for LLVM, and I hoped to use dce to clean
up the resulting code after my pass. I just have some questions about
LLVM's dce implementation.
Well, my transformation is a function pass, and, after the changes are
made, some instructions are not needed anymore. In order to easily get rid
of those instructions, I'm setting all their uses to
2011 Jun 19
2
[LLVMdev] Phase Interactions
Dear all,
I am doing few experiments to do understand optimization phase
interactions. Here is a brief description of my experiements.
1. I picked the list of machine independent optimizations acting on
llvm IR (those that are enabled at O3).
2. for each optimzation in the optimization-list
a) Compiled the program using 'clang -c O0 -flto program.c'
b) opt
2009 Apr 28
3
[LLVMdev] O3 passes
Can I specify passes that I want run directly to llvm-gcc? I don't want
all of -O3, for example. I tried llvm-gcc -raiseallocs ..., but that
didn't work. I also tried running cc1 directly and it didn't take
-raiseallocs as a parameter either.
Duncan Sands wrote:
> On Tuesday 28 April 2009 04:02:47 am Ryan M. Lefever wrote:
>> I assume that when -O3 (or O2 or O1) is
2019 Dec 03
2
Using different opt with clang
Hi,
I have made some changes in the LowerTypeTests Pass of opt, and would like
to use these changes with the clang version I have downloaded.
I compiled clang and llvm from scratch, made my changes in
LowerTypeTests.cpp, and recompiled clang and opt. When I run clang with the
appropriate flags to invoke the pass, it invokes the pass as originally
written, but when I run opt on the relevant
2010 Dec 08
3
[LLVMdev] Inlining and exception handling in LLVM and GCC
Hi Renato,
>>> 1. It eases the future elimination of invoke, or at least, the
>>> treatment of current instruction-level exception (as in Java) in a
>>> cleaner way.
>>
>> I don't see what is cleaner about it, except that it is overall at a higher
>> level of abstraction (see above).
>
> If I got it right, his proposal had the unwind path
2010 Dec 01
2
[LLVMdev] RFC: Exception Handling Proposal Revised
On Dec 1, 2010, at 10:20 AM, Duncan Sands wrote:
> Hi Bill, this proposal seems strangely complicated. I don't see the advantage
> of the dispatch instruction over just attaching the information to each invoke.
> Right now you have
>
> invoke void @_Z3foov()
> to label %invcont unwind label %catch.handlers
>
> catch.handlers: landingpad
> dispatch resume
2011 Jun 17
1
[LLVMdev] Loop Unroll Factor
Devang,
I meant as an end user.
-Suresh
On Thu, Jun 16, 2011 at 11:00 PM, Devang Patel <dpatel at apple.com> wrote:
> Suresh,
>
>
> On Jun 15, 2011, at 9:13 PM, Suresh Purini wrote:
>
>> Dear all,
>>
>> What is the default loop-unroll factor in llvm? How can we specify
>> our own unroll-factor?
>
> Here "we" means end user or a
2016 Apr 27
2
Building and Invoking DSA or Pool Alloc
Hi ,
This Is 'Suresh M' from AMD compiler team.
1) I obtained the source code of llvm and pool-alloc (relase_32 versions ) using the following commands,
svn co http://llvm.org/svn/llvm-project/llvm/branches/release_32 llvm
cd llvm/projects
svn co http://llvm.org/svn/llvm-project/poolalloc/branches/release_32 poolalloc
2) Was able to build the binaries and libraries
2013 Jun 01
0
[LLVMdev] Dead Code Elimination and undef values
Hi Cristianno,
On 01/06/13 01:49, Cristianno Martins wrote:
> Hello there,
>
> I'm writing a transformation pass for LLVM, and I hoped to use dce to clean up
> the resulting code after my pass. I just have some questions about LLVM's dce
> implementation.
>
> Well, my transformation is a function pass, and, after the changes are made,
> some instructions are not
2009 Apr 28
0
[LLVMdev] O3 passes
On Tuesday 28 April 2009 04:02:47 am Ryan M. Lefever wrote:
> I assume that when -O3 (or O2 or O1) is passed to llvm-gcc, then it
> utilizes opt. How do I determine what passes opt runs? How do I
> determine what external tools (and arguments) llvm-gcc is invoking?
It doesn't invoke opt, it runs the passes directly. You can see
what passes it is running by passing