Hi Evan,
> Can you get me a test case? I need to see what gcc is doing. Thanks,
Sure. Zero sized fields in structs may not be very useful, but it is
still legal to use them, in particular you can take their address,
like this:
struct Z {};
struct Y {
int i;
struct Z z;
};
void
On Jan 27, 2008, at 1:03 AM, Duncan Sands wrote:
> Hi Evan,
>
>> Can you get me a test case? I need to see what gcc is doing. Thanks,
>
> Sure. Zero sized fields in structs may not be very useful, but it is
> still legal to use them, in particular you can take their address,
> like this:
>
> stru
> I'm running into this problem as well -- it crashing while compiling
> gcov.c on my PPC G4.
While r46381 seems the obvious culprit, to tell the truth I didn't check
whether reverting this patch fixes the problem - so I could be wrong.
Ciao,
Duncan.
___
On Jan 26, 2008, at 11:18 PM, Chris Lattner wrote:
> Author: lattner
> Date: Sun Jan 27 01:18:20 2008
> New Revision: 46412
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46412&view=rev
> Log:
> Change x86-32 aggregate passing code to pass many aggregates "by
> pieces"
> instead of passing th
Author: baldrick
Date: Sun Jan 27 12:11:13 2008
New Revision: 46415
URL: http://llvm.org/viewvc/llvm-project?rev=46415&view=rev
Log:
Do not mark a function readnone or readonly if it has
a byval parameter.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-
Author: baldrick
Date: Sun Jan 27 12:12:58 2008
New Revision: 46416
URL: http://llvm.org/viewvc/llvm-project?rev=46416&view=rev
Log:
Revert r46393: readonly/readnone functions are no
longer allowed to write through byval arguments.
Modified:
llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp
Author: lattner
Date: Sun Jan 27 11:42:27 2008
New Revision: 46414
URL: http://llvm.org/viewvc/llvm-project?rev=46414&view=rev
Log:
Implement some dag combines that allow doing fneg/fabs/fcopysign in integer
registers if used by a bitconvert or using a bitconvert. This allows us to
avoid constant
Author: nicholas
Date: Sun Jan 27 12:35:00 2008
New Revision: 46417
URL: http://llvm.org/viewvc/llvm-project?rev=46417&view=rev
Log:
Be more careful modifying the use_list while also iterating through it.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp
llvm/trunk/test/Transforms
> URL: http://llvm.org/viewvc/llvm-project?rev=46415&view=rev
> Log:
> Do not mark a function readnone or readonly if it has
> a byval parameter.
Thanks Duncan:
> +uint16_t &RAttrs = Attrs[0].attrs;
> +RAttrs &= ~(ParamAttr::ReadNone | ParamAttr::ReadOnly);
> +if (RAttrs == ParamAttr:
> How about:
>
> if (RAttrs == ParamAttr::None)
>Attrs.erase(Attrs.begin());
Now you see that I really don't know anything about std::vector :)
I will change it.
Ciao,
Duncan.
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.
Author: baldrick
Date: Sun Jan 27 12:58:34 2008
New Revision: 46418
URL: http://llvm.org/viewvc/llvm-project?rev=46418&view=rev
Log:
Baldrick discovers "erase".
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
URL:
http://llvm.org/viewvc/llvm-p
Author: resistor
Date: Sun Jan 27 13:51:03 2008
New Revision: 46419
URL: http://llvm.org/viewvc/llvm-project?rev=46419&view=rev
Log:
Fixes for BreakCriticalMachineCodeEdge by Fernando.
Modified:
llvm/trunk/include/llvm/CodeGen/BreakCriticalMachineEdge.h
Modified: llvm/trunk/include/llvm/Code
Author: resistor
Date: Sun Jan 27 16:00:00 2008
New Revision: 46420
URL: http://llvm.org/viewvc/llvm-project?rev=46420&view=rev
Log:
Reg alloc doesn't really need LiveVariables.
Modified:
llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
Modified: llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
URL:
http:/
Sorry I have been away from my computer for the last two days. I'll
look at this later tonight.
Evan
On Jan 27, 2008, at 10:02 AM, Duncan Sands <[EMAIL PROTECTED]> wrote:
>> I'm running into this problem as well -- it crashing while compiling
>> gcov.c on my PPC G4.
>
> While r46381 seems the
On Jan 27, 2008, at 10:09 AM, Dale Johannesen wrote:
> On Jan 26, 2008, at 11:18 PM, Chris Lattner wrote:
>> Author: lattner
>> Date: Sun Jan 27 01:18:20 2008
>> New Revision: 46412
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=46412&view=rev
>> Log:
>> Change x86-32 aggregate passing code to
Author: lattner
Date: Sun Jan 27 16:58:59 2008
New Revision: 46421
URL: http://llvm.org/viewvc/llvm-project?rev=46421&view=rev
Log:
Add support for frameworks. Patch by Shantonu Sen!
Modified:
llvm/trunk/tools/llvm-ld/llvm-ld.cpp
Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp
URL:
http://l
Author: lattner
Date: Sun Jan 27 17:21:58 2008
New Revision: 46422
URL: http://llvm.org/viewvc/llvm-project?rev=46422&view=rev
Log:
fix a crash on CodeGen/X86/vector-rem.ll
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner
Author: lattner
Date: Sun Jan 27 17:26:37 2008
New Revision: 46423
URL: http://llvm.org/viewvc/llvm-project?rev=46423&view=rev
Log:
Update this test. Due to dag combiner improvements, we now compile
f7/f11 to:
_f7:
eor r0, r0, #2, 2 @ -2147483648
bx lr
_f11:
bic r0, r0, #
Author: lattner
Date: Sun Jan 27 17:43:26 2008
New Revision: 46425
URL: http://llvm.org/viewvc/llvm-project?rev=46425&view=rev
Log:
Always for PACKAGEVERSION to 'mainline' for teh llvm web page.
Modified:
llvm/trunk/docs/Makefile
Modified: llvm/trunk/docs/Makefile
URL:
http://llvm.org/viewv
Author: lattner
Date: Sun Jan 27 17:32:17 2008
New Revision: 46424
URL: http://llvm.org/viewvc/llvm-project?rev=46424&view=rev
Log:
Fix PowerPC/./2007-10-18-PtrArithmetic.ll
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombine
On Jan 27, 2008, at 1:03 AM, Duncan Sands <[EMAIL PROTECTED]> wrote:
> Hi Evan,
>
>> Can you get me a test case? I need to see what gcc is doing. Thanks,
>
> Sure. Zero sized fields in structs may not be very useful, but it is
> still legal to use them, in particular you can take their address,
Author: lattner
Date: Sun Jan 27 18:32:30 2008
New Revision: 46427
URL: http://llvm.org/viewvc/llvm-project?rev=46427&view=rev
Log:
Fix PR1938 by forcing the code that uses an undefined value to branch one
way or the other. Rewriting the code itself prevents subsequent analysis
passes from making
Author: lattner
Date: Sun Jan 27 18:36:27 2008
New Revision: 46428
URL: http://llvm.org/viewvc/llvm-project?rev=46428&view=rev
Log:
make handling of overflow and undefined results much more clear.
Patch by Eli Friedman, thanks!
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/do
Author: lattner
Date: Sun Jan 27 18:58:18 2008
New Revision: 46429
URL: http://llvm.org/viewvc/llvm-project?rev=46429&view=rev
Log:
Fix PR1932 by disabling an xform invalid for fdiv.
Added:
llvm/trunk/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll
Modified:
llvm/trunk/lib/Transform
Author: nicholas
Date: Sun Jan 27 21:48:02 2008
New Revision: 46431
URL: http://llvm.org/viewvc/llvm-project?rev=46431&view=rev
Log:
Handle some more combinations of extend and icmp. Fixes PR1940.
Added:
llvm/trunk/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll
Modified:
Author: lattner
Date: Sun Jan 27 22:18:41 2008
New Revision: 46432
URL: http://llvm.org/viewvc/llvm-project?rev=46432&view=rev
Log:
reduce duplicate -I flags passed to the compiler, cleaning up the VERBOSE
output. Patch contributed by Sam Bishop!
Modified:
llvm/trunk/Makefile.rules
Modified
On Jan 15, 2008, at 9:07 AM, Sam Bishop wrote:
> The attached patch makes VERBOSE builds easier to wade through.
> It's likely
> to also permute the PROJ_* and LLVM_* includes, but I don't think that
> should matter. I've done a full-tree compile and everything seems
> to be
> working.
App
>>> + BuildMI(MBB, MBB.end(), TM.getInstrInfo()->get(PPC::NOP));
>>> + }
>>
>> Is there any reason to actually make a machineinstr here? It seems
>> like it would be possible to just emit "nop" to the .s file. The JIT
>> doesn't need this.
>>
> I initially had that, but I thought that it wo
Author: lattner
Date: Sun Jan 27 22:41:43 2008
New Revision: 46433
URL: http://llvm.org/viewvc/llvm-project?rev=46433&view=rev
Log:
Transform calls to memcpy into llvm.memcpy calls, patch by Eli Friedman.
Modified:
llvm/trunk/lib/Transforms/IPO/SimplifyLibCalls.cpp
Modified: llvm/trunk/lib/T
Author: lattner
Date: Sun Jan 27 23:17:19 2008
New Revision: 46434
URL: http://llvm.org/viewvc/llvm-project?rev=46434&view=rev
Log:
add a benchmark from 'VersaBench'.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/
test-suite/trunk/MultiSource/Benchmarks/VersaBench/README.txt
Author: lattner
Date: Sun Jan 27 23:23:39 2008
New Revision: 46435
URL: http://llvm.org/viewvc/llvm-project?rev=46435&view=rev
Log:
add a VersaBench benchmark.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/dbms/Makefile
test-suite/trunk/MultiSource/Benchmarks/VersaBench/dbms/c
Author: lattner
Date: Sun Jan 27 23:35:03 2008
New Revision: 46436
URL: http://llvm.org/viewvc/llvm-project?rev=46436&view=rev
Log:
add the 8b10b benchmark, hacked to take enough time to run to be interesting.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/8b10b/
test-suite/tru
Author: lattner
Date: Mon Jan 28 00:10:47 2008
New Revision: 46438
URL: http://llvm.org/viewvc/llvm-project?rev=46438&view=rev
Log:
add the bmm benchmark, hacked to not produce huge output nor use huge input.
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/bmm/
test-suite/trunk/
Author: lattner
Date: Mon Jan 28 00:14:28 2008
New Revision: 46439
URL: http://llvm.org/viewvc/llvm-project?rev=46439&view=rev
Log:
run versabench by default
Added:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/Makefile
Modified:
test-suite/trunk/MultiSource/Benchmarks/Makefile
t
Author: lattner
Date: Mon Jan 28 00:27:00 2008
New Revision: 46440
URL: http://llvm.org/viewvc/llvm-project?rev=46440&view=rev
Log:
Add a benchmark from the trimaran collection
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-3d
Author: lattner
Date: Mon Jan 28 00:36:10 2008
New Revision: 46441
URL: http://llvm.org/viewvc/llvm-project?rev=46441&view=rev
Log:
add an adapted version of md5
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-md5/
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-md5/Makef
Author: lattner
Date: Mon Jan 28 00:52:21 2008
New Revision: 46442
URL: http://llvm.org/viewvc/llvm-project?rev=46442&view=rev
Log:
add a really scary benchmark
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-pc1/
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-pc1/Makefi
Author: lattner
Date: Mon Jan 28 00:56:33 2008
New Revision: 46443
URL: http://llvm.org/viewvc/llvm-project?rev=46443&view=rev
Log:
add a new benchmark.
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4/
test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4/Makefile
t
Author: nicholas
Date: Mon Jan 28 01:16:22 2008
New Revision: 46445
URL: http://llvm.org/viewvc/llvm-project?rev=46445&view=rev
Log:
Make this test a little more forgiving.
Modified:
test-suite/trunk/MultiSource/Benchmarks/VersaBench/beamformer/Makefile
Modified: test-suite/trunk/MultiSource
Author: lattner
Date: Mon Jan 28 01:23:41 2008
New Revision: 46447
URL: http://llvm.org/viewvc/llvm-project?rev=46447&view=rev
Log:
make this program not read random memory
Modified:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-url/packet.c
test-suite/trunk/MultiSource/Benchm
Author: lattner
Date: Mon Jan 28 01:26:07 2008
New Revision: 46448
URL: http://llvm.org/viewvc/llvm-project?rev=46448&view=rev
Log:
Build trimaran benchmarks by default
Added:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/Makefile
test-suite/trunk/MultiSource/Benchmarks/Trimaran/README
41 matches
Mail list logo