Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] make check for clang/llvm"
2013 May 21
3
[LLVMdev] debugging llvm from clang using gdb
I've always debugged the backend llc by running it as a separate executable.
I'm seeing a bug that only happens when I run the compiler from clang.
How do you debug this from gdb?
I can put a breakpoint but it never stops when I say "run ...."
Tia.
Reed
2013 May 21
0
[LLVMdev] debugging llvm from clang using gdb
Are you debugging the driver process or the -cc1 process? To get the -cc1
process, unfortunately you have to go through the dance of passing -### to
get the -cc1 line and then run that in gdb (or write one manually).
Alternatively in gdb you can say "set follow-fork child" (or something,
check the docs) to automatically follow into the -cc1 child.
On Tue, May 21, 2013 at 8:00 AM,
2013 Jan 12
2
[LLVMdev] running a single test of "make check"
Is there a way to just run one test with "make check" for either the
llvm or clang test suites?
Tia.
Reed
2013 Feb 23
3
[LLVMdev] -Os
On 02/23/2013 04:28 AM, David Chisnall wrote:
> Hi Reed,
>
> -Os could do with some love. It is more or less the same set of passes as -O2, but with a few things that are most likely to increase code size removed. We have had problems with it in the past for FreeBSD's bootloader. By tweaking the set of default passes added for -Os, I got the size down by about 20%, but I didn't
2013 Feb 23
0
[LLVMdev] -Os
At one of the BOFS during the llvm conference a few years back, one of
the Apple managers stated in effect that their view of -Os was to get
some modest savings but only if performance has near 0 impact.
On 02/23/2013 09:45 AM, Reed Kotler wrote:
> On 02/23/2013 04:28 AM, David Chisnall wrote:
>> Hi Reed,
>>
>> -Os could do with some love. It is more or less the same set
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
I see what my problem is here....
I'll continue to move further.
Seems like Richards fix is still okay.
On 02/25/2014 02:42 PM, Eric Christopher wrote:
> On Tue, Feb 25, 2014 at 2:41 PM, reed kotler <rkotler at mips.com> wrote:
>> On 02/25/2014 02:38 PM, Eric Christopher wrote:
>>> On Tue, Feb 25, 2014 at 2:32 PM, reed kotler <rkotler at mips.com> wrote:
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/25/2014 02:38 PM, Eric Christopher wrote:
> On Tue, Feb 25, 2014 at 2:32 PM, reed kotler <rkotler at mips.com> wrote:
>> On 02/25/2014 09:30 AM, Richard Sandiford wrote:
>>> reed kotler <rkotler at mips.com> writes:
>>>> On 02/24/2014 04:42 PM, Eric Christopher wrote:
>>>>> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/24/2014 04:42 PM, Eric Christopher wrote:
> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at mips.com> wrote:
>> I need to leave soon and will take a look in the morning.
>>
>> I did look at the autoconf input files configure.ac
>>
>> There is a disable-zlib but not a disable-valgrind, even though it seems
>> like there used to be.
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
On 02/25/2014 09:30 AM, Richard Sandiford wrote:
> reed kotler <rkotler at mips.com> writes:
>> On 02/24/2014 04:42 PM, Eric Christopher wrote:
>>> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at mips.com> wrote:
>>>> I need to leave soon and will take a look in the morning.
>>>>
>>>> I did look at the autoconf input files
2013 Jan 12
0
[LLVMdev] running a single test of "make check"
`llvm-lit path/to/test/file/here`
Joey
On 12 January 2013 12:08, Reed Kotler <rkotler at mips.com> wrote:
> Is there a way to just run one test with "make check" for either the llvm
> or clang test suites?
>
> Tia.
>
> Reed
> ______________________________**_________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
I need to leave soon and will take a look in the morning.
I did look at the autoconf input files configure.ac
There is a disable-zlib but not a disable-valgrind, even though it seems
like there used to be.
You can find scripts on the internet when you google of people adding
disable-valgrind to configure.
I can probably implement disable-valgrind in configure.ac.
Reed
On 02/24/2014 04:33
2014 Feb 15
3
[LLVMdev] cmake and make check?
On 02/13/2014 11:35 AM, Tim Northover wrote:
> Hi Reed,
>
>> but then many tests fail when i do a "make check"
>
> That's not normal (all tests pass for me on Linux and OS X). Is this
> on your build machine, or a MIPS board with some odd
> cross-compilation? The latter is more likely to have weird CMake
> issues (I know AArch64 does if you're not
2013 Jun 13
1
[LLVMdev] running make check with verify options
Is there a way to run make check and force it to add verify-machineinstr
on each llvm assembly file?
Tia.
Reed
2013 Feb 23
3
[LLVMdev] -Os
Mips 16 is basically to save space.
I want to start comparing real benchmarks with llvm and gcc -mips16.
Does -Os have any meaning currently to clang? llvm?
What about inlining? Is inlining turned off?
Tia.
Reed
2013 Aug 16
2
[LLVMdev] ctlz pattern
Does anyone know some simple c/c++ code or .ll code which will cause
this ctlz pattern to be emitted?
Tia.
Reed
2014 Feb 21
3
[LLVMdev] make check issue with llvm-cov
If you can help get it working on big-endian systems, we should be able to remove the XFAIL. That seems like the cleanest way out of this. Yuchen sent a patch to llvm-commits on 12/19/13. (I can resend it to you if you don’t have that.) Can you try that out on a BE mips system?
On Feb 21, 2014, at 7:11 AM, Reed Kotler <Reed.Kotler at imgtec.com> wrote:
> On 02/21/2014 02:58 AM, Daniel
2013 Apr 20
2
[LLVMdev] minimum function ir
On 04/20/2013 02:04 PM, Reed Kotler wrote:
> On 04/20/2013 01:30 PM, reed kotler wrote:
>> Can I create a "naked" function that has only inline assembler and no
>> return IR for example?
>>
>> If I create just a function will an empty basic block, it's core dumps.
>>
>> I'm debugging it now.
>
> Seems that you have to have at least a
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
On 02/24/2014 04:19 PM, Eric Christopher wrote:
> On Mon, Feb 24, 2014 at 4:14 PM, reed kotler <rkotler at mips.com> wrote:
>> I'm trying to build a native hosted mips compiler on ubuntu x86.
>>
>> When I run configure with clang/llvm as the compiler, configure thinks that
>> zlib is present and that valgrind is.
>>
>> But later on the make it
2013 Aug 16
2
[LLVMdev] running spec2006 with clang
On 16 August 2013 20:02, reed kotler <rkotler at mips.com> wrote:
> -std=gnu89 is not valid for c++
>
I think the point here is that this is the default std for GCC but not
Clang, so you have to force clang to behave like GCC. For C++, you'll have
to force whatever default GCC has for it's C++ standard.
Though, GCC 4.8 is getting very close to Clang's behaviour, so
2013 Aug 16
5
[LLVMdev] workflow for linking clang
the good news is that (thanks to Simon) the clang driver is working so
well for Mips now that we are more or less switching away from using llc
during development for all our various host/target configurations.
the bad news is that we have make clang all the time and it is really
slow to do that.
we used to be able to just make in the lib/target/Mips and then in llc
and it was really fast.