[llvm-commits] [llvm] r47121 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/

2008-02-14 Thread Nate Begeman
Author: sampo Date: Thu Feb 14 02:57:00 2008 New Revision: 47121 URL: http://llvm.org/viewvc/llvm-project?rev=47121view=rev Log: Change how FP immediates are handled. 1) ConstantFP is now expand by default 2) ConstantFP is not turned into TargetConstantFP during Legalize if it is legal.

[llvm-commits] test/C++Frontend/2008-02-13-sret.cpp

2008-02-14 Thread Duncan Sands
Hi Dale, this test is failing for me (x86-32 linux): there is nothing called retval. // RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep retval | grep S242 | grep {i32 1} | count 2 Ciao, Duncan. ; ModuleID = '2008-02-13-sret.cpp' target datalayout =

[llvm-commits] [llvm] r47122 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/CodeGen/SelectionDAG/Targ

2008-02-14 Thread Duncan Sands
Author: baldrick Date: Thu Feb 14 11:28:50 2008 New Revision: 47122 URL: http://llvm.org/viewvc/llvm-project?rev=47122view=rev Log: In TargetLowering::LowerCallTo, don't assert that the return value is zero-extended if it isn't sign-extended. It may also be any-extended. Also, if a floating

[llvm-commits] [llvm] r47124 - in /llvm/trunk: Xcode/LLVM.xcodeproj/project.pbxproj docs/CFEBuildInstrs.html docs/GCCFEBuildInstrs.html docs/GettingStarted.html docs/index.html

2008-02-14 Thread Duncan Sands
Author: baldrick Date: Thu Feb 14 11:53:22 2008 New Revision: 47124 URL: http://llvm.org/viewvc/llvm-project?rev=47124view=rev Log: Rename CFEBuildInstrs.html to GCCFEBuildInstrs.html. Update all references to it and place a redirection page at the old address. Added:

Re: [llvm-commits] test/C++Frontend/2008-02-13-sret.cpp

2008-02-14 Thread Dale Johannesen
On Feb 14, 2008, at 6:52 AM, Duncan Sands wrote: Hi Dale, this test is failing for me (x86-32 linux): there is nothing called retval. // RUN: %llvmgxx -S -O0 -emit-llvm %s -o - | grep retval | grep S242 | grep {i32 1} | count 2 OK, that's because Linux returns S242 by the sret mechanism

[llvm-commits] CVS: llvm-www/releases/download.html

2008-02-14 Thread Chris Lattner
Changes in directory llvm-www/releases: download.html updated: 1.49 - 1.50 --- Log message: update the one reference to CFEBuildInstrs.html that I see. --- Diffs of the changes: (+2 -2) download.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

[llvm-commits] [llvm] r47128 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAG.cpp test/CodeGen/X86/2008-02-14-BitMiscompile.ll

2008-02-14 Thread Chris Lattner
Author: lattner Date: Thu Feb 14 12:48:56 2008 New Revision: 47128 URL: http://llvm.org/viewvc/llvm-project?rev=47128view=rev Log: Fix a miscompilation from Dan's recent apintification. Added: llvm/trunk/test/CodeGen/X86/2008-02-14-BitMiscompile.ll Modified:

[llvm-commits] [llvm] r47127 - in /llvm/trunk/lib/Target/CellSPU: SPUISelLowering.cpp SPUISelLowering.h SPUInstrInfo.td

2008-02-14 Thread Nate Begeman
Author: sampo Date: Thu Feb 14 12:43:04 2008 New Revision: 47127 URL: http://llvm.org/viewvc/llvm-project?rev=47127view=rev Log: Fix single precision FP constants on SPU. They are actually legal, which allows us to kill a target-specific node. Modified:

[llvm-commits] [llvm] r47129 - in /llvm/trunk: lib/Transforms/Utils/LowerInvoke.cpp test/Transforms/LowerInvoke/2008-02-14-CritEdgePhiCrash.ll

2008-02-14 Thread Chris Lattner
Author: lattner Date: Thu Feb 14 13:18:13 2008 New Revision: 47129 URL: http://llvm.org/viewvc/llvm-project?rev=47129view=rev Log: Fix PR2029 Added: llvm/trunk/test/Transforms/LowerInvoke/2008-02-14-CritEdgePhiCrash.ll Modified: llvm/trunk/lib/Transforms/Utils/LowerInvoke.cpp Modified:

[llvm-commits] [poolalloc] r47132 - /poolalloc/trunk/include/poolalloc/PoolAllocate.h

2008-02-14 Thread John Criswell
Author: criswell Date: Thu Feb 14 14:23:37 2008 New Revision: 47132 URL: http://llvm.org/viewvc/llvm-project?rev=47132view=rev Log: Change the getPoolType() method to switch between different pool sizes depending upon whether we're compiling for use with SAFECode. Modified:

[llvm-commits] [poolalloc] r47133 - in /poolalloc/trunk/lib/PoolAllocate: PoolAllocate.cpp TransformFunctionBody.cpp

2008-02-14 Thread John Criswell
Author: criswell Date: Thu Feb 14 14:24:14 2008 New Revision: 47133 URL: http://llvm.org/viewvc/llvm-project?rev=47133view=rev Log: Use getPoolType() to determine the type of the pool descriptor. Modified: poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp

[llvm-commits] [poolalloc] r47134 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp

2008-02-14 Thread John Criswell
Author: criswell Date: Thu Feb 14 14:42:17 2008 New Revision: 47134 URL: http://llvm.org/viewvc/llvm-project?rev=47134view=rev Log: Fixed formatting; no functionality changes. Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Modified:

[llvm-commits] [llvm] r47138 - /llvm/trunk/lib/Support/APInt.cpp

2008-02-14 Thread Dan Gohman
Author: djg Date: Thu Feb 14 16:38:45 2008 New Revision: 47138 URL: http://llvm.org/viewvc/llvm-project?rev=47138view=rev Log: Fix a warning about comparison between signed and unsigned, being consistent with the rest of the APInt implementation. Modified: llvm/trunk/lib/Support/APInt.cpp

[llvm-commits] [llvm] r47141 - in /llvm/trunk: lib/Transforms/Scalar/LoopIndexSplit.cpp test/Transforms/LoopIndexSplit/2008-02-14-Crash.ll

2008-02-14 Thread Devang Patel
Author: dpatel Date: Thu Feb 14 17:18:47 2008 New Revision: 47141 URL: http://llvm.org/viewvc/llvm-project?rev=47141view=rev Log: If loop header is also loop exiting block then OrigPN is incoming value for B loop header. Fixes PR 2030. Added:

Re: [llvm-commits] [llvm] r47121 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/PowerPC/ lib/Target/Sparc/

2008-02-14 Thread Evan Cheng
This is not a new issue. But I am wondering if this may be a compile time issue if the number of legal FP immediate is sufficiently large? Should we build a hash table for it instead? Evan On Feb 14, 2008, at 12:57 AM, Nate Begeman wrote: switch

Re: [llvm-commits] [llvm] r47122 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/CodeGen/SelectionDAG/

2008-02-14 Thread Evan Cheng
On Feb 14, 2008, at 9:28 AM, Duncan Sands wrote: Author: baldrick Date: Thu Feb 14 11:28:50 2008 New Revision: 47122 URL: http://llvm.org/viewvc/llvm-project?rev=47122view=rev Log: In TargetLowering::LowerCallTo, don't assert that the return value is zero-extended if it isn't

[llvm-commits] [llvm] r47143 - in /llvm/trunk: lib/Target/CellSPU/SPUSubtarget.h lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/PowerPC/PPCSubtarget.cpp lib/Target/PowerPC/PPCSubtarget.h utils/TableG

2008-02-14 Thread Dale Johannesen
Author: johannes Date: Thu Feb 14 17:35:16 2008 New Revision: 47143 URL: http://llvm.org/viewvc/llvm-project?rev=47143view=rev Log: Rewrite tblgen handling of subtarget features so it follows the order of the enum, not alphabetical. The motivation is to make -mattr=+ssse3,+sse41 select SSE41 as

Re: [llvm-commits] [llvm] r47143 - in /llvm/trunk: lib/Target/CellSPU/SPUSubtarget.h lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/PowerPC/PPCSubtarget.cpp lib/Target/PowerPC/PPCSubtarget.h utils/Ta

2008-02-14 Thread Evan Cheng
Thanks. Since you are hacking on this, can you check something for me? I seem to be getting this annoying warning (something like generating 64-bit code for 32-bit cpu) when I do (for example) -march=x86-64 - mattr=-sse41. Any idea what's causing this bogus warning? Is it when - mattr is

[llvm-commits] [test-suite] r47144 - in /test-suite/trunk: DiffOutput.sh RunSafely.sh RunSafelyAndStable.sh TimeProgram.sh TimedExec.sh

2008-02-14 Thread Lauro Ramos Venancio
Author: laurov Date: Thu Feb 14 17:43:19 2008 New Revision: 47144 URL: http://llvm.org/viewvc/llvm-project?rev=47144view=rev Log: Shell scripts are not binary files. Modified: test-suite/trunk/DiffOutput.sh (props changed) test-suite/trunk/RunSafely.sh (props changed)

[llvm-commits] [test-suite] r47145 - /test-suite/trunk/RunSafely.sh

2008-02-14 Thread Lauro Ramos Venancio
Author: laurov Date: Thu Feb 14 17:46:20 2008 New Revision: 47145 URL: http://llvm.org/viewvc/llvm-project?rev=47145view=rev Log: Fix PR1437 and limit stack size. Modified: test-suite/trunk/RunSafely.sh Modified: test-suite/trunk/RunSafely.sh URL:

[llvm-commits] [llvm] r47148 - /llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp

2008-02-14 Thread Chris Lattner
Author: lattner Date: Thu Feb 14 18:57:28 2008 New Revision: 47148 URL: http://llvm.org/viewvc/llvm-project?rev=47148view=rev Log: Support vector constant zeros, thanks to Zack Rusin for the testcase. Modified: llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp Modified:

[llvm-commits] [llvm] r47149 - /llvm/trunk/lib/Target/X86/X86.td

2008-02-14 Thread Dale Johannesen
Author: johannes Date: Thu Feb 14 19:22:41 2008 New Revision: 47149 URL: http://llvm.org/viewvc/llvm-project?rev=47149view=rev Log: nocona, core2 and penryn support 64 bit. Modified: llvm/trunk/lib/Target/X86/X86.td Modified: llvm/trunk/lib/Target/X86/X86.td URL:

Re: [llvm-commits] [llvm] r47143 - in /llvm/trunk: lib/Target/CellSPU/SPUSubtarget.h lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/PowerPC/PPCSubtarget.cpp lib/Target/PowerPC/PPCSubtarget.h utils/Ta

2008-02-14 Thread Dale Johannesen
On Feb 14, 2008, at 3:40 PM, Evan Cheng wrote: Thanks. Since you are hacking on this, can you check something for me? I seem to be getting this annoying warning (something like generating 64-bit code for 32-bit cpu) when I do (for example) -march=x86-64 - mattr=-sse41. Any idea what's

[llvm-commits] [llvm] r47150 - in /llvm/trunk: lib/Transforms/Scalar/LoopRotation.cpp test/Other/2008-02-14-PassManager.ll

2008-02-14 Thread Devang Patel
Author: dpatel Date: Thu Feb 14 19:24:49 2008 New Revision: 47150 URL: http://llvm.org/viewvc/llvm-project?rev=47150view=rev Log: Fix PR2028 Added: llvm/trunk/test/Other/2008-02-14-PassManager.ll Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp Modified:

Re: [llvm-commits] [llvm] r46827 - memoperands #1

2008-02-14 Thread Dan Gohman
On Feb 12, 2008, at 1:42 PM, Chris Lattner wrote: On Feb 12, 2008, at 11:27 AM, Dan Gohman wrote: Hi Chris, Thanks for the careful review! I've responded to parts of it already, and I'll be responding to more soon. Thanks Dan! On Feb 10, 2008, at 11:56 AM, Chris Lattner wrote:

[llvm-commits] [llvm] r47151 - /llvm/trunk/include/llvm/CodeGen/MemOperand.h

2008-02-14 Thread Dan Gohman
Author: djg Date: Thu Feb 14 19:29:57 2008 New Revision: 47151 URL: http://llvm.org/viewvc/llvm-project?rev=47151view=rev Log: Change MemOperand's size and offset to be 64-bit. Modified: llvm/trunk/include/llvm/CodeGen/MemOperand.h Modified: llvm/trunk/include/llvm/CodeGen/MemOperand.h URL:

Re: [llvm-commits] [llvm] r47143 - in /llvm/trunk: lib/Target/CellSPU/SPUSubtarget.h lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/PowerPC/PPCSubtarget.cpp lib/Target/PowerPC/PPCSubtarget.h utils/Ta

2008-02-14 Thread Chris Lattner
On Feb 14, 2008, at 5:23 PM, Dale Johannesen wrote: n Feb 14, 2008, at 3:40 PM, Evan Cheng wrote: Thanks. Since you are hacking on this, can you check something for me? I seem to be getting this annoying warning (something like generating 64-bit code for 32-bit cpu) when I do (for

Re: [llvm-commits] [llvm] r47121 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/PowerPC/ lib/Target/Sparc/

2008-02-14 Thread Chris Lattner
On Feb 14, 2008, at 3:30 PM, Evan Cheng wrote: This is not a new issue. But I am wondering if this may be a compile time issue if the number of legal FP immediate is sufficiently large? Should we build a hash table for it instead? If a target had a huge number of legal fp immediates, it

Re: [llvm-commits] CVS: llvm-www/releases/download.html

2008-02-14 Thread Duncan Sands
update the one reference to CFEBuildInstrs.html that I see. Thanks Chris! Can you please also update the 2.2 release notes, and where it says (about Ada and Fortran) they need to be built from source, make that a link to GCCFEBuildIntrs. Ciao, Duncan.

Re: [llvm-commits] [llvm] r47122 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/CodeGen/SelectionDAG/

2008-02-14 Thread Duncan Sands
Hi Evan, Finally, when doing libcalls, set isZExt on a parameter if it is unsigned. Currently isSExt is set when signed, and nothing is set otherwise. This should be right for all calls to standard library routines. I am not sure I totally understand the reason for this. Is it

Re: [llvm-commits] [test-suite] r47145 - /test-suite/trunk/RunSafely.sh

2008-02-14 Thread Duncan Sands
+# stack size: 100 MB should be enough for anybody. ;) +ULIMITCMD=$ULIMITCMD ulimit -s 10; What about over-all virtual memory (-v)? D. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu