Author: evancheng
Date: Wed Feb 13 02:41:08 2008
New Revision: 47056
URL: http://llvm.org/viewvc/llvm-project?rev=47056view=rev
Log:
* Cannot safely commute an instruction there are other defs which can reach its
uses.
* Ignore copy instructions which have already been coalesced.
Modified:
Author: evancheng
Date: Wed Feb 13 03:06:18 2008
New Revision: 47057
URL: http://llvm.org/viewvc/llvm-project?rev=47057view=rev
Log:
Fix a potential serious problem where kills belonging to the val# defined by a
two-address instruction is also on the val# that defines the input.
Modified:
On Feb 12, 2008, at 9:59 PM, Chris Lattner wrote:
On Feb 12, 2008, at 6:46 PM, Evan Cheng wrote:
Author: evancheng
Date: Tue Feb 12 20:46:49 2008
New Revision: 47043
URL: http://llvm.org/viewvc/llvm-project?rev=47043view=rev
Log:
commuteInstr() can now commute non-ssa machine instrs.
Author: evancheng
Date: Wed Feb 13 03:13:21 2008
New Revision: 47058
URL: http://llvm.org/viewvc/llvm-project?rev=47058view=rev
Log:
Simplify.
Modified:
llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp
URL:
Author: evancheng
Date: Wed Feb 13 03:18:16 2008
New Revision: 47059
URL: http://llvm.org/viewvc/llvm-project?rev=47059view=rev
Log:
Simplify.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL:
Author: evancheng
Date: Wed Feb 13 03:56:03 2008
New Revision: 47060
URL: http://llvm.org/viewvc/llvm-project?rev=47060view=rev
Log:
Some code clean up.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
URL:
On Feb 12, 2008, at 9:56 PM, Chris Lattner wrote:
On Feb 12, 2008, at 7:01 PM, Evan Cheng wrote:
Author: evancheng
Date: Tue Feb 12 21:01:43 2008
New Revision: 47046
URL: http://llvm.org/viewvc/llvm-project?rev=47046view=rev
Log:
Initial support for copy elimination by commuting its
Chris Lattner wrote:
Very nice, please add a comment above the code explaining what is
going on though :)
Done.
Wojtek
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Author: wmat
Date: Wed Feb 13 05:51:34 2008
New Revision: 47061
URL: http://llvm.org/viewvc/llvm-project?rev=47061view=rev
Log:
Add comments as per review feedback.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL:
+// treat m-n as signed nor unsinged due to overflow possibility.
unsinged - unsigned
Ciao,
D.
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Author: wmat
Date: Wed Feb 13 06:21:32 2008
New Revision: 47062
URL: http://llvm.org/viewvc/llvm-project?rev=47062view=rev
Log:
Fix typo. Thanks to Duncan for noticing.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL:
Hi Nate,
Nate Begeman wrote:
Author: sampo
Date: Tue Feb 12 20:58:33 2008
New Revision: 47045
URL: http://llvm.org/viewvc/llvm-project?rev=47045view=rev
Log:
Make register scavenging happy by not using a reg (CR0) that isn't defined
I don't know about darwin, but this breaks
Author: baldrick
Date: Wed Feb 13 10:46:10 2008
New Revision: 47063
URL: http://llvm.org/viewvc/llvm-project?rev=47063view=rev
Log:
Add notes on Ada compilers that can be used for
the build. Put all items that the user should
specify in bold. Make it a debug build.
Modified:
On Feb 13, 2008, at 3:51 AM, Wojciech Matyjewicz wrote:
Chris Lattner wrote:
Very nice, please add a comment above the code explaining what is
going on though :)
Done.
Very nice, thanks!
-Chris
___
llvm-commits mailing list
Bonus points for making tblgen reject instructions marked commutable
that don't start with three register operands.
That's too restrictive. It's entirely legal for target instruction
that don't start with 3 register operands to be commutable. That's why
we allow target specific code to
I don't know about darwin, but this breaks linux/ppc32 JIT (llc works
fine). On a simple test case:
define i32 @main(i32 %argc) {
entry:
%tmp2 = add i32 2, %argc
ret i32 %tmp2
}
Yep, this was broken on darwin as well. I just committed a fix which
makes it work for me,
Author: lattner
Date: Wed Feb 13 11:18:26 2008
New Revision: 47066
URL: http://llvm.org/viewvc/llvm-project?rev=47066view=rev
Log:
remove some dead code.
Modified:
llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp
Modified: llvm/trunk/lib/Transforms/IPO/ConstantMerge.cpp
URL:
Author: lattner
Date: Wed Feb 13 11:24:14 2008
New Revision: 47067
URL: http://llvm.org/viewvc/llvm-project?rev=47067view=rev
Log:
Fix the PPC JIT regressions by encoding zeroreg as 0 for BLR.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp
Modified:
Author: lattner
Date: Wed Feb 13 11:50:24 2008
New Revision: 47073
URL: http://llvm.org/viewvc/llvm-project?rev=47073view=rev
Log:
gcc 3.2.3 is also bad.
Modified:
llvm/trunk/docs/GettingStarted.html
Modified: llvm/trunk/docs/GettingStarted.html
URL:
On Feb 13, 2008, at 1:47 AM, Evan Cheng wrote:
Very nice, does it also help shootout/fib?
bh speedup doesn't seem real. It doesn't help fib.
Ok, once things have settled, please take a look at the comments in
the bugzilla to see if there are other cases being missed.
This idiom happens a
Does this mean some of the custom lowering in X86ISelLowering.cpp can
be eliminated?
Thanks,
Evan
On Feb 12, 2008, at 10:43 PM, Nate Begeman wrote:
Author: sampo
Date: Wed Feb 13 00:43:04 2008
New Revision: 47048
URL: http://llvm.org/viewvc/llvm-project?rev=47048view=rev
Log:
Support
On Feb 13, 2008, at 9:31 AM, Chris Lattner wrote:
On Feb 13, 2008, at 1:47 AM, Evan Cheng wrote:
Very nice, does it also help shootout/fib?
bh speedup doesn't seem real. It doesn't help fib.
Ok, once things have settled, please take a look at the comments in
the bugzilla to see if there
Author: johannes
Date: Wed Feb 13 12:36:09 2008
New Revision: 47077
URL: http://llvm.org/viewvc/llvm-project?rev=47077view=rev
Log:
Don't omit copying of PaddingElements; this causes
wrong code when structs are identical except that
one has padding in the same place another has a
real field.
Author: baldrick
Date: Wed Feb 13 12:01:53 2008
New Revision: 47075
URL: http://llvm.org/viewvc/llvm-project?rev=47075view=rev
Log:
Teach LegalizeTypes how to expand and promote CTLZ,
CTTZ and CTPOP. The expansion code differs from
that in LegalizeDAG in that it chooses to take the
CTLZ/CTTZ
Author: johannes
Date: Wed Feb 13 12:36:48 2008
New Revision: 47078
URL: http://llvm.org/viewvc/llvm-project?rev=47078view=rev
Log:
New test, see comments.
Added:
llvm/trunk/test/C++Frontend/2008-02-13-sret.cpp
Added: llvm/trunk/test/C++Frontend/2008-02-13-sret.cpp
URL:
Author: geoffray
Date: Wed Feb 13 12:39:37 2008
New Revision: 47079
URL: http://llvm.org/viewvc/llvm-project?rev=47079view=rev
Log:
Enable exception handling int JIT
Added:
llvm/trunk/lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp
llvm/trunk/lib/ExecutionEngine/JIT/JITDwarfEmitter.h
Thanks Chris, it works just fine now.
Chris Lattner wrote:
I don't know about darwin, but this breaks linux/ppc32 JIT (llc works
fine). On a simple test case:
define i32 @main(i32 %argc) {
entry:
%tmp2 = add i32 2, %argc
ret i32 %tmp2
}
Yep, this was broken on darwin
Hi Chris,
On Feb 12, 2008, at 11:39 PM, Chris Lattner wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=47054view=rev
Log:
In SDISel, for targets that support FORMAL_ARGUMENTS nodes, lower this
node as soon as we create it in SDISel. Previously we would lower
it in
legalize. The
Author: johannes
Date: Wed Feb 13 13:30:03 2008
New Revision: 47081
URL: http://llvm.org/viewvc/llvm-project?rev=47081view=rev
Log:
Whitespace change to have a place to put this
comment, which belonged on 47077:
Fixes t001 and t029 in struct-layout-1 in g++ testsuite.
Modified:
Author: dpatel
Date: Wed Feb 13 13:12:16 2008
New Revision: 47080
URL: http://llvm.org/viewvc/llvm-project?rev=47080view=rev
Log:
Add hook to dump .bc file before module level optimizer is run. This helps
investigate optimizer and code generator bugs which are not easily reproducible
using
Author: dpatel
Date: Wed Feb 13 13:48:48 2008
New Revision: 47082
URL: http://llvm.org/viewvc/llvm-project?rev=47082view=rev
Log:
Keep track of exit value operand number when operands are swapped.
Added:
llvm/trunk/test/Transforms/LoopIndexSplit/2008-02-13-ExitValueNum.ll
Modified:
Hi Devang, nice idea.
+ // Emit intermediate .bc file before module level optimization passes
are run. + if (emit_llvm_bc flag_debug_llvm_module_opt) {
Why condition this on emit_llvm_bc?
+static PassManager *IntermediatePM = new PassManager();
+IntermediatePM-add(new
Author: djg
Date: Wed Feb 13 14:54:54 2008
New Revision: 47084
URL: http://llvm.org/viewvc/llvm-project?rev=47084view=rev
Log:
Add count{Leading,Trailing}Ones_{32,64} functions with simple implementations.
Modified:
llvm/trunk/include/llvm/Support/MathExtras.h
Modified:
On Feb 13, 2008, at 11:52 AM, Duncan Sands wrote:
Hi Devang, nice idea.
+ // Emit intermediate .bc file before module level optimization
passes
are run. + if (emit_llvm_bc flag_debug_llvm_module_opt) {
Why condition this on emit_llvm_bc?
In the next patch I used emit_llvm_bc
Author: dpatel
Date: Wed Feb 13 14:47:35 2008
New Revision: 47083
URL: http://llvm.org/viewvc/llvm-project?rev=47083view=rev
Log:
Selectively print llvm asm file or write bit code file
as an intermediate file based on input command line options.
Modified:
Author: djg
Date: Wed Feb 13 14:56:53 2008
New Revision: 47085
URL: http://llvm.org/viewvc/llvm-project?rev=47085view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
Modified: llvm/trunk/include/llvm/ADT/APInt.h
URL:
On Feb 13, 2008, at 10:16 AM, Dan Gohman wrote:
Hi Chris,
On Feb 12, 2008, at 11:39 PM, Chris Lattner wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=47054view=rev
Log:
In SDISel, for targets that support FORMAL_ARGUMENTS nodes, lower
this
node as soon as we create it in SDISel.
On Feb 13, 2008, at 10:58 AM, Evan Cheng wrote:
Ah, I see. Well this seems like an independently useful change that
will both speed up and simplify coalescing. Are you interested in
tackling it as part of this project?
That's the plan. Without RAUW change, I can't enable this
Author: djg
Date: Wed Feb 13 15:11:05 2008
New Revision: 47086
URL: http://llvm.org/viewvc/llvm-project?rev=47086view=rev
Log:
Add countTrailingOnes member functions to APInt.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
llvm/trunk/lib/Support/APInt.cpp
Modified:
Author: criswell
Date: Wed Feb 13 16:22:22 2008
New Revision: 47092
URL: http://llvm.org/viewvc/llvm-project?rev=47092view=rev
Log:
Fix compilation when SAFECODE is defined.
Due to some strange errors when the C++ compiler tries to create a copy
constructor for struct FuncInfo, I cannot make
Author: dpatel
Date: Wed Feb 13 16:23:07 2008
New Revision: 47093
URL: http://llvm.org/viewvc/llvm-project?rev=47093view=rev
Log:
A loop latch phi node may have uses inside loop, not just in loop header.
Added:
llvm/trunk/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatchPHI.ll
Modified:
Author: criswell
Date: Wed Feb 13 16:23:55 2008
New Revision: 47094
URL: http://llvm.org/viewvc/llvm-project?rev=47094view=rev
Log:
Added the --with-safecodeobj option to configure the location of SAFECode's
object tree.
Fixed Makefiles so that they can now enable SAFECode builds properly.
Author: criswell
Date: Wed Feb 13 16:25:17 2008
New Revision: 47095
URL: http://llvm.org/viewvc/llvm-project?rev=47095view=rev
Log:
Enhanced Makefiles so that building with SAFECode works.
Modified:
poolalloc/trunk/Makefile.common.in
Modified: poolalloc/trunk/Makefile.common.in
URL:
Author: djg
Date: Wed Feb 13 16:28:48 2008
New Revision: 47096
URL: http://llvm.org/viewvc/llvm-project?rev=47096view=rev
Log:
Simplify some logic in ComputeMaskedBits. And change ComputeMaskedBits
to pass the mask APInt by value, not by reference.
Modified:
Author: djg
Date: Wed Feb 13 16:09:18 2008
New Revision: 47090
URL: http://llvm.org/viewvc/llvm-project?rev=47090view=rev
Log:
Rename APInt's isPositive to isNonNegative, to reflect what it
actually does.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
Author: dpatel
Date: Wed Feb 13 16:06:36 2008
New Revision: 47089
URL: http://llvm.org/viewvc/llvm-project?rev=47089view=rev
Log:
While moving exit condition, do not drop loop latch on the floor.
Added:
llvm/trunk/test/Transforms/LoopIndexSplit/2008-02-13-LoopLatch.ll
Modified:
Author: djg
Date: Wed Feb 13 16:32:12 2008
New Revision: 47097
URL: http://llvm.org/viewvc/llvm-project?rev=47097view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
Modified: llvm/trunk/include/llvm/ADT/APInt.h
URL:
Author: djg
Date: Wed Feb 13 17:13:32 2008
New Revision: 47101
URL: http://llvm.org/viewvc/llvm-project?rev=47101view=rev
Log:
Allow the APInt form of ComputeMaskedBits to operate on i128 types.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified:
On Feb 13, 2008, at 2:28 PM, Dan Gohman wrote:
Author: djg
Date: Wed Feb 13 16:28:48 2008
New Revision: 47096
URL: http://llvm.org/viewvc/llvm-project?rev=47096view=rev
Log:
Simplify some logic in ComputeMaskedBits. And change ComputeMaskedBits
to pass the mask APInt by value, not by
Author: djg
Date: Wed Feb 13 17:07:24 2008
New Revision: 47099
URL: http://llvm.org/viewvc/llvm-project?rev=47099view=rev
Log:
Assigning an APInt to 0 with plain assignment gives it a one-bit
size. Initialize these APInts to properly-sized zero values.
Modified:
Hi Dan,
+uint32_t APInt::countTrailingOnes() const {
+ if (isSingleWord())
+return std::min(uint32_t(CountTrailingOnes_64(VAL)), BitWidth);
+ uint32_t Count = 0;
+ uint32_t i = 0;
+ for (; i getNumWords() pVal[i] == -1; ++i)
This compare leads to this warning:
llvm[1]: Compiling
Author: evancheng
Date: Wed Feb 13 19:32:53 2008
New Revision: 47102
URL: http://llvm.org/viewvc/llvm-project?rev=47102view=rev
Log:
Fix test.
Modified:
llvm/trunk/test/CodeGen/X86/arg-cast.ll
Modified: llvm/trunk/test/CodeGen/X86/arg-cast.ll
URL:
On Feb 13, 2008, at 5:32 PM, Evan Cheng wrote:
Author: evancheng
Date: Wed Feb 13 19:32:53 2008
New Revision: 47102
URL: http://llvm.org/viewvc/llvm-project?rev=47102view=rev
Log:
Fix test.
Doh, thanks Evan.
-Chris
___
llvm-commits mailing
Author: nicholas
Date: Wed Feb 13 23:01:46 2008
New Revision: 47105
URL: http://llvm.org/viewvc/llvm-project?rev=47105view=rev
Log:
PR2027, Fix bugpoint's -find-bugs option, clean up the code.
Modified:
llvm/trunk/tools/bugpoint/FindBugs.cpp
Modified: llvm/trunk/tools/bugpoint/FindBugs.cpp
Author: lattner
Date: Wed Feb 13 23:39:46 2008
New Revision: 47106
URL: http://llvm.org/viewvc/llvm-project?rev=47106view=rev
Log:
This readme entry is done, testcase here: CodeGen/X86/zero-remat.ll
Modified:
llvm/trunk/lib/Target/X86/README-FPStack.txt
Author: lattner
Date: Wed Feb 13 23:43:18 2008
New Revision: 47108
URL: http://llvm.org/viewvc/llvm-project?rev=47108view=rev
Log:
the mid-level optimizer removes this stuff.
Modified:
llvm/trunk/lib/Target/X86/README-MMX.txt
Modified: llvm/trunk/lib/Target/X86/README-MMX.txt
URL:
Author: lattner
Date: Wed Feb 13 23:41:38 2008
New Revision: 47107
URL: http://llvm.org/viewvc/llvm-project?rev=47107view=rev
Log:
this one is easy.
Modified:
llvm/trunk/lib/Target/X86/README-FPStack.txt
Modified: llvm/trunk/lib/Target/X86/README-FPStack.txt
URL:
Author: lattner
Date: Thu Feb 14 00:19:02 2008
New Revision: 47109
URL: http://llvm.org/viewvc/llvm-project?rev=47109view=rev
Log:
upgrade some entries, remove stuff that is done.
Modified:
llvm/trunk/lib/Target/X86/README-SSE.txt
llvm/trunk/lib/Target/X86/README.txt
Modified:
Author: nicholas
Date: Thu Feb 14 01:11:24 2008
New Revision: 47111
URL: http://llvm.org/viewvc/llvm-project?rev=47111view=rev
Log:
Fix PR2032. Inform the alias analysis of changes to the underlying program.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified:
Author: nicholas
Date: Thu Feb 14 01:15:11 2008
New Revision: 47113
URL: http://llvm.org/viewvc/llvm-project?rev=47113view=rev
Log:
Testcase for PR2032.
Added:
llvm/trunk/test/Transforms/GVN/2008-02-13-NewPHI.ll
Added: llvm/trunk/test/Transforms/GVN/2008-02-13-NewPHI.ll
URL:
Author: sampo
Date: Thu Feb 14 01:23:11 2008
New Revision: 47114
URL: http://llvm.org/viewvc/llvm-project?rev=47114view=rev
Log:
Nuke dead comment
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL:
Author: sampo
Date: Thu Feb 14 01:25:46 2008
New Revision: 47115
URL: http://llvm.org/viewvc/llvm-project?rev=47115view=rev
Log:
Move some useful operands up into the all-targets .td
Modified:
llvm/trunk/lib/Target/CellSPU/SPUOperands.td
llvm/trunk/lib/Target/Target.td
Modified:
Author: lattner
Date: Thu Feb 14 01:39:01 2008
New Revision: 47116
URL: http://llvm.org/viewvc/llvm-project?rev=47116view=rev
Log:
simplify code, no functionality change.
Modified:
llvm/trunk/lib/Transforms/Scalar/SimplifyCFG.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SimplifyCFG.cpp
Author: sampo
Date: Thu Feb 14 01:39:30 2008
New Revision: 47117
URL: http://llvm.org/viewvc/llvm-project?rev=47117view=rev
Log:
Support a new type of MachineOperand, MO_FPImmediate, used for holding
FP Immediates, crazily enough
Modified:
llvm/trunk/include/llvm/CodeGen/MachineOperand.h
64 matches
Mail list logo