Displaying 20 results from an estimated 500 matches similar to: "[LLVMdev] LowerSetJmp Dead?"
2009 Feb 26
2
[LLVMdev] Question LowerSetJmp
Hi
In llvm src the file llvm/lib/Transforms/IPO/LowerSetJmp.cpp, it
seems for sjlj-eh ? but this pass has no effect about c++ sjlj-eh.
this pass is for future extend?
zhangzw
2009 Feb 26
0
[LLVMdev] Question LowerSetJmp
Hi zhangzw,
> In llvm src the file llvm/lib/Transforms/IPO/LowerSetJmp.cpp, it
> seems for sjlj-eh ?
it's not for sjlj-eh. The problem with setjmp/longjmp is that they
can jump from one part of a function to any other part, which means
that the control-flow graph is pointless; this makes everything more
complicated. So how to deal with this? LLVM does have constructs
that allow
2007 Aug 24
2
[LLVMdev] llvm-gcc4 and setjmp
Hi Anton,
> > I would expect llvm-gcc to use LLVM's setjmp/longjmp intrinsics and
> > then to run the LowerSetJmp pass to turn the intrinsic calls into uses
> > of invoke and unwind. At that point, the control flow is explicit,
> > isn't it?
> Unfortunately, no. You can call setjmp/longjmp on the same jump buffer
> multiple times. So, in general it's not
2008 Jul 08
0
[LLVMdev] Intrinsics and it's documentation.
On Mon, Jul 7, 2008 at 6:41 PM, Mahadevan R <mdevan.foobar at gmail.com> wrote:
> On Tue, Jul 8, 2008 at 12:00 AM, Chris Lattner <sabre at nondot.org> wrote:
>> On Mon, 7 Jul 2008, Mahadevan R wrote:
>>> While going through the list of intrinsics in Intrinsics.td, I found
>>> that it does not match the list given in Language Reference [1]. Does
>>>
2012 Jul 13
0
[LLVMdev] Does the pass -postdomfrontier exist?
> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but
> 'opt' does not accept it. I could not find the relevant codes in
> PostDominance.cpp in SVN trunk, but I found some relevant codes here
> http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp.
LLVM 3.0 release note said postdomfrontier had been removed [1].
2009 Feb 02
1
[LLVMdev] Proposal: Debug information improvement - keep the line number with optimizations
Hi,
I've been thinking about how to keep the line number with the llvm
transform/Analysis passes.
Basically, I agree with Chris's notes (
http://www.nondot.org/sabre/LLVMNotes/DebugInfoImprovements.txt), and I
will follow his way to turn on the line number information when optimization
enabled.
Here is a detailed proposal:
1. Introduction
At the time of this writing, LLVM's
2009 Feb 26
2
[LLVMdev] Question LowerSetJmp
On Feb 26, 2009, at 12:57 AM, Duncan Sands wrote:
> So LLVM turns setjmp/longjmp
> into a bunch of invokes and unwinds, in order to generate correct code
> while not having to teach all the optimizers about setjmp/longjmp.
> Setjmp/longjmp eh is something different.
Or virtually identical. Bout the only difference is the number of
registers saved and the order of those registers.
2009 Feb 26
0
[LLVMdev] Question LowerSetJmp
> Or virtually identical. Bout the only difference is the number of
> registers saved and the order of those registers.
What needs to be done to get g++ to use sj/lj style
exception handling?
Thanks,
Duncan.
2009 Feb 26
1
[LLVMdev] Question LowerSetJmp
On Feb 26, 2009, at 2:28 AM, Duncan Sands wrote:
>> Or virtually identical. Bout the only difference is the number of
>> registers saved and the order of those registers.
>
> What needs to be done to get g++ to use sj/lj style exception
> handling?
Many different ways, the easiest, most experimental way would be:
--enable-sjlj-exceptions
2008 Jul 08
2
[LLVMdev] Intrinsics and it's documentation.
On Tue, Jul 8, 2008 at 12:00 AM, Chris Lattner <sabre at nondot.org> wrote:
> On Mon, 7 Jul 2008, Mahadevan R wrote:
>> While going through the list of intrinsics in Intrinsics.td, I found
>> that it does not match the list given in Language Reference [1]. Does
>> this mean that they are not to be used / don't work? Or is it just
>> that the documentation is
2012 Jul 13
4
[LLVMdev] Does the pass -postdomfrontier exist?
Hi,
I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but
'opt' does not accept it. I could not find the relevant codes in
PostDominance.cpp in SVN trunk, but I found some relevant codes here
http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp.
I am wondering why this pass is removed and what should I do if I want
the post
2008 Dec 04
0
[LLVMdev] 32bit math being promoted to 64 bit
instcombine doesn't seem to be doing it. From my testing it seems to
only occur when I use -indvars after a long string of commands.
For example:
llvm-as < test_fc_27.ll | opt -preverify -domtree -verify
-lowersetjmp -raiseallocs -simplifycfg -domtree -domfrontier
-mem2reg -globalopt -globaldce -ipconstprop -deadargelim
-instcombine -simplifycfg -ba
siccg -prune-eh -inline
2008 Dec 04
2
[LLVMdev] 32bit math being promoted to 64 bit
On Thu, Dec 4, 2008 at 7:08 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Dec 4, 2008, at 8:58 AM, Villmow, Micah wrote:
>
> What optimization pass promotes 32 bit math operations to 64 bit operations
> so I can disable it? I have code that works fine with optimizations turned
> off but fails with it turned on because of this stage.
>
>
> Do you have a
2005 Apr 22
0
[LLVMdev] Need help with bugpoint for codegen problem
On Fri, Apr 22, 2005 at 02:32:25AM +0200, Markus F.X.J. Oberhumer wrote:
> Ok, after pasting the output from "gccas -debug-pass=Arguments
> </dev/null -o - >/dev/null" I get the following:
>
> bugpoint -verify -lowersetjmp -funcresolve -raiseallocs -simplifycfg
> -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine
> -simplifycfg -prune-eh
2007 Aug 24
1
[LLVMdev] llvm-gcc4 and setjmp
Hello, Jay.
> the resulting bitcode doesn't use LLVM's exception handling
> intrinsics, it just has a call to a function called "_setjmp". And
> there doesn't seem to be any provision for returning the current value
> of the volatile variable v if setjmp returns non-zero - the bitcode
> always returns zero, whereas the spec for setjmp() says that f()
>
2007 Dec 21
2
[LLVMdev] Interprocedural optimizations in LLVM
Hi Everyone,
Can Someone tell me all the interprocedural optimizations that LLVM 2.1
supports.
Thank You,
Naineet Patel
CSE
IITB
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
2008 Apr 14
2
[LLVMdev] standard passes
> If you're running opt on the command line directly, then use the
> "-p" option. See "-help" for more information on that.
>
> -bw
>
I have a couple of more questions.
1. Does -std-compile-opts of opt do the same optimization with llvm-gcc
with -O[1-3] options? If I want to debug into passes through llvm-gcc,
how do I set a breakpoint right before pass
2012 Oct 31
0
[LLVMdev] Tail Duplication Questions
We used to have an LLVM-IR pass did tail duplication
(http://llvm.org/viewvc/llvm-project/llvm/tags/RELEASE_29/final/lib/Transforms/Scalar/TailDuplication.cpp)
It was not used and went away with 3.0. The documentation is out of
date.
commit f940a1a869b4fe6f857e7fd8aeb97e7b7e9b390e
Author: Rafael Espindola <rafael.espindola at gmail.com>
Date: Tue Aug 30 23:03:45 2011 +0000
Remove the
2011 Nov 15
1
[LLVMdev] opt -O2 optimization passes
Hi all,
I would like to know which optimization passes are performed at -O2 by opt.
So I used 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