Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] llvm-diff"
2010 Aug 24
2
[LLVMdev] llvm-diff
On 24 August 2010 00:19, John McCall <rjmccall at apple.com> wrote:
> Note that llvm-diff is meant solely as a tool for debugging IR; pretty much all
> details of the output, from formatting to actual information, is subject to change.
Hi John,
This is fine, I'll not use it on any production system nor rely on its
output for anything, it's also mainly for IR debugging.
I
2010 Aug 23
0
[LLVMdev] llvm-diff
On Aug 23, 2010, at 1:31 PM, Renato Golin wrote:
> I was wondering about IR comparison and I saw llvm-diff tool, why is
> it not installed by default when I make install?
Probably because I missed some vital way of plugging into the build system.
Note that llvm-diff is meant solely as a tool for debugging IR; pretty much all
details of the output, from formatting to actual information, is
2010 Aug 24
0
[LLVMdev] llvm-diff
On Aug 24, 2010, at 1:57 AM, Renato Golin wrote:
> On 24 August 2010 00:19, John McCall <rjmccall at apple.com> wrote:
>> Note that llvm-diff is meant solely as a tool for debugging IR; pretty much all
>> details of the output, from formatting to actual information, is subject to change.
>
> This is fine, I'll not use it on any production system nor rely on its
2011 Feb 28
3
[LLVMdev] llvm-diff
Hi all,
I'm considering adding debug metadata logic to llvm-diff, but it looks
like some heavy refactoring will be needed to do so. Who's the owner
of it?
There is too much logic in DifferenceEngine, classes being declared in
the cpp file, sub-classes of DifferenceEngine that could be used by
the metadata diff, but with the current style
(FunctionDifferenceEngine(*this)) will be hard to
2011 Feb 18
2
[LLVMdev] DIFactory
Seems the last use of DIFactory in LLVM/Clang is in:
clang/lib/CodeGen/CGDebugInfo.cpp to get the enums
llvm::DIFactory::OpDeref and llvm::DIFactory::OpPlus.
Shouldn't this be moved to DIBuilder and remove the dependency completely?
--
cheers,
--renato
http://systemcall.org/
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
2010 Nov 24
1
[LLVMdev] Wiki to HTML docs - take 2
Hi all,
I spend the last two weeks looking for solutions to print HTML files
out of the wiki format.
I tried to create a Perl hack (wasn't generic enough), a C++
parser/printer (would take too long) and looked into Deplate and some
Wikimedia specific tools to convert to docbook, pdf and HTML. The last
one was the most successful one (printed a nice PDF) but the XHTML was
no good for Chrome
2010 Feb 17
1
[LLVMdev] Incorrect codegen of getelementptr for ARM with JIT
> Inline the init function: store 11 at the address of the "value" variable,
> call printf with the string from r5. This is a bug, should have stored at an
> offset of four (str r1, [r4,4]).
Exactly! The IR is correct, the bug seems to be lower down.
I'm no expert in the ARM back-end, though. But your report is detailed
enough to help whoever is. ;)
cheers,
--renato
2010 Apr 27
0
[LLVMdev] Phoronix: Benchmarking LLVM & Clang Against GCC 4.5
On 27 April 2010 08:18, Stefano Delli Ponti
<stefano.delliponti at gmail.com> wrote:
> FYI
> http://www.phoronix.com/scan.php?page=article&item=gcc_llvm_clang&num=1
For Apache and Dhrystone, the performance boost is good (but only the
former is really important), but for the rest, especially those with
image/sound processing, and HMMR, it's still far behind. Is this only
2010 Sep 21
2
[LLVMdev] IR type safety
On 21 September 2010 17:48, Devang Patel <dpatel at apple.com> wrote:
> In the combined llvm IR, @p3 and @p won't match as expected.
Hi Devang,
That's not quite what I was thinking... Maybe I explained badly...
Imagine this:
-- a.ll --
%struct.x = type { i32, i32 }
%a = call void @func (%struct.x %b)
-- b.ll --
%struct.y = type { i32, i32 }
declare i32 @func (%struct.y)
2009 Nov 05
3
[LLVMdev] create dummy function
Thank you very much for you help, Renato!
I read through paper you referred and also this document -
http://llvm.org/docs/tutorial/JITTutorial1.html
Following these instructions to create successful function I run into
some problems:
1) llvm::getGlobalContext() does not exists anymore? "llvm/LLVMContext.h" too?
2) creating instance of IRBuilder don't require template (from
tutorial
2010 Sep 07
4
[LLVMdev] Union type, is it really used or necessary?
Here's a suggestion - can we make the "union patch" (the inverse of the
patch that removed unions) as a downloadable file so that people who are
interested in finishing the work can do so?
On Tue, Sep 7, 2010 at 7:55 AM, Renato Golin <rengolin at systemcall.org>wrote:
> On 7 September 2010 15:36, Anton Korobeynikov <anton at korobeynikov.info>
> wrote:
> >
2011 Feb 18
0
[LLVMdev] DIFactory
I didn't know DIFactory existed until you mentioned it just now.
And if folks are adding brand new classes to LLVM, can we not follow the
naming conventions in the developer guidelines?
On Fri, Feb 18, 2011 at 5:14 AM, Renato Golin <rengolin at systemcall.org>wrote:
> Seems the last use of DIFactory in LLVM/Clang is in:
>
> clang/lib/CodeGen/CGDebugInfo.cpp to get the enums
2010 Sep 26
2
[LLVMdev] LLVM Exception Handling
On Sun, Sep 26, 2010 at 1:44 PM, Renato Golin <rengolin at systemcall.org>wrote:
> On 26 September 2010 20:13, Nathan Jeffords <blunted2night at gmail.com>
> wrote:
> > I believe the perceived problem with using eh.exception is that
> > is disassociates the source of the value with the invoke instruction that
> > generated it. As far as reusing the landing pad,
2010 Sep 26
3
[LLVMdev] LLVM Exception Handling
On Sun, Sep 26, 2010 at 11:27 AM, Renato Golin <rengolin at systemcall.org>wrote:
> On 26 September 2010 18:56, Nathan Jeffords <blunted2night at gmail.com>
> wrote:
> > The syntax for the invoke instruction is a little misleading. %x is a
> value
> > that is being generated by the instruction, not passed to is. It is no
> > different in that regard as to
2010 Sep 21
3
[LLVMdev] IR type safety
On 21 September 2010 18:39, Andrew Lenharth <andrewl at lenharth.org> wrote:
> Type names don't have meaning. If you want this not to happen, you
> can generate a different opaque type for each type in your language to
> prevent merging.
Hi Andrew,
Why create opaque types to avoid something that should be taken from
granted (in a said "type-safe" representation)?
I
2010 Sep 26
2
[LLVMdev] LLVM Exception Handling
Ok, I see it. Works for me.
On Sun, Sep 26, 2010 at 3:01 PM, Renato Golin <rengolin at systemcall.org>wrote:
> On 26 September 2010 22:11, Nathan Jeffords <blunted2night at gmail.com>
> wrote:
> > The "exception" value will *always* be i8*, it is not possible for it to
> be
> > anything different.
> > In the end, this a minor parser detail and it
2010 Sep 10
3
[LLVMdev] Cross-compiling the ARM toolchain
On 10 September 2010 04:47, Liu <proljc at gmail.com> wrote:
> trying this:
> clang -march=armv7-a -mcpu=cortex-a9 -ccc-host-triple
> arm-none-linux -ccc-gcc-name arm-none-linux-gnueabi-gcc a.c
Hi Liu,
That doesn't work for me.
$ clang -march=armv7-a -mcpu=cortex-a9 -ccc-host-triple arm-none-linux
-ccc-gcc-name arm-none-linux-gnueabi-gcc alias.c
clang: warning: unknown
2010 Sep 26
0
[LLVMdev] LLVM Exception Handling
On 26 September 2010 20:13, Nathan Jeffords <blunted2night at gmail.com> wrote:
> I believe the perceived problem with using eh.exception is that
> is disassociates the source of the value with the invoke instruction that
> generated it. As far as reusing the landing pad, that is still possible, it
> would just require a phi node in the landing pad to bring all the different
>
2010 Sep 21
0
[LLVMdev] IR type safety
On Tue, Sep 21, 2010 at 12:27 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 21 September 2010 17:48, Devang Patel <dpatel at apple.com> wrote:
>> In the combined llvm IR, @p3 and @p won't match as expected.
>
> Hi Devang,
>
> That's not quite what I was thinking... Maybe I explained badly...
>
> Imagine this:
>
> -- a.ll --
>
2010 Sep 07
2
[LLVMdev] More DIFactory questions - still stumped
On Tue, Sep 7, 2010 at 1:56 AM, Renato Golin <rengolin at systemcall.org>wrote:
> On 6 September 2010 01:05, Talin <viridia at gmail.com> wrote:
> > DISubprogram CodeGenerator::genDISubprogram(const FunctionDefn * fn,
> (...)
> > false /* isDefinition */,
> (...)
>
> Hi Talin,
>
> The only difference from what I'm doing is that I only