- Feb 11, 2008
-
-
Dan Gohman authored
llvm-svn: 46961
-
Wojciech Matyjewicz authored
to the RHS. This simple change allows to compute loop iteration count for loops with condition similar to the one in the testcase (which seems to be quite common). llvm-svn: 46959
-
Ted Kremenek authored
Added member template "Add" to FoldingSetNodeID that allows "adding" arbitrary objects to a profile via dispatch to FoldingSetTrait<T>::Profile(). Removed FoldingSetNodeID::AddAPFloat and FoldingSetNodeID::APInt, as their functionality is now replaced using the above mentioned member template. llvm-svn: 46957
-
Wojciech Matyjewicz authored
arbitrary iteration. The patch: 1) changes SCEVSDivExpr into SCEVUDivExpr, 2) replaces PartialFact() function with BinomialCoefficient(); the computations (essentially, the division) in BinomialCoefficient() are performed with the apprioprate bitwidth necessary to avoid overflow; unsigned division is used instead of the signed one. Computations in BinomialCoefficient() require support from the code generator for APInts. Currently, we use a hack rounding up the neccessary bitwidth to the nearest power of 2. The hack is easy to turn off in future. One remaining issue: we assume the divisor of the binomial coefficient formula can be computed accurately using 16 bits. It means we can handle AddRecs of length up to 9. In future, we should use APInts to evaluate the divisor. Thanks to Nicholas for cooperation! llvm-svn: 46955
-
Duncan Sands authored
llvm-svn: 46954
-
Evan Cheng authored
Determine whether a spill kills the register it's spilling before insertion rather than trying to undo the kill marker afterwards. llvm-svn: 46953
-
Nate Begeman authored
Add some notes to the README. llvm-svn: 46949
-
Nate Begeman authored
llvm-svn: 46948
-
- Feb 10, 2008
-
-
Chris Lattner authored
This fixes the store case, my previous patch just fixed the load case. rdar://5707076. llvm-svn: 46932
-
Nate Begeman authored
llvm-svn: 46931
-
Dan Gohman authored
llvm-svn: 46930
-
Duncan Sands authored
llvm-svn: 46926
-
Bill Wendling authored
no-op). llvm-svn: 46922
-
Chris Lattner authored
llvm-svn: 46918
-
Nick Lewycky authored
llvm-svn: 46916
-
Nate Begeman authored
pabs{b,w,d} are not two address fix extract-to-mem sse4 ops add sse4 vector sign extend nodes llvm-svn: 46915
-
- Feb 09, 2008
-
-
Wojciech Matyjewicz authored
llvm-svn: 46908
-
Evan Cheng authored
llvm-svn: 46903
-
Nate Begeman authored
llvm-svn: 46902
-
Nate Begeman authored
llvm-svn: 46901
-
Chris Lattner authored
common problem of putting two terminators in the same block. I can't write a testcase for this because the .ll parser rejects this before the verifier can, but this can occur when generating IR. llvm-svn: 46900
-
- Feb 08, 2008
-
-
Dan Gohman authored
begin adding some methods to use it this way. llvm-svn: 46899
-
Devang Patel authored
llvm-svn: 46898
-
Evan Cheng authored
llvm-svn: 46896
-
Evan Cheng authored
llvm-svn: 46895
-
Evan Cheng authored
It's not always safe to fold movsd into xorpd, etc. Check the alignment of the load address first to make sure it's 16 byte aligned. llvm-svn: 46893
-
Dale Johannesen authored
128-bit vectors need it only when SSE is on. llvm-svn: 46890
-
Dan Gohman authored
llvm-svn: 46877
-
Dan Gohman authored
llvm-svn: 46876
-
Evan Cheng authored
llvm-svn: 46866
-
- Feb 07, 2008
-
-
Evan Cheng authored
llvm-svn: 46861
-
Dan Gohman authored
to return pointers instead of references, since this is always what is needed. llvm-svn: 46857
-
Dan Gohman authored
llvm-svn: 46854
-
Dan Gohman authored
as <unknown>. And make some minor adjustments to the MemOperand dump format. llvm-svn: 46853
-
Evan Cheng authored
Before: _main: subq $8, %rsp leaq _X(%rip), %rax movsd 8(%rax), %xmm1 movss _X(%rip), %xmm0 call _t xorl %ecx, %ecx movl %ecx, %eax addq $8, %rsp ret Now: _main: subq $8, %rsp movsd _X+8(%rip), %xmm1 movss _X(%rip), %xmm0 call _t xorl %ecx, %ecx movl %ecx, %eax addq $8, %rsp ret Notice there is another idiotic codegen issue that needs to be fixed asap: xorl %ecx, %ecx movl %ecx, %eax llvm-svn: 46850
-
Evan Cheng authored
llvm-svn: 46849
-
Nick Lewycky authored
llvm-svn: 46848
-
Dan Gohman authored
llvm-svn: 46836
-
Dan Gohman authored
llvm-svn: 46833
-
- Feb 06, 2008
-
-
Dan Gohman authored
initializer problem, a minor tweak to the way the DAGISelEmitter finds load/store nodes, and a renaming of the new PseudoSourceValue objects. llvm-svn: 46827
-