Author: djg
Date: Mon Feb 18 13:34:53 2008
New Revision: 47282
URL: http://llvm.org/viewvc/llvm-project?rev=47282&view=rev
Log:
Chris pointed out that it's not necessary to set i64 MUL to Expand
on x86-32 since i64 itself is not a Legal type. And, update some
comments.
Modified:
llvm/trunk/li
Author: djg
Date: Mon Feb 18 11:55:26 2008
New Revision: 47277
URL: http://llvm.org/viewvc/llvm-project?rev=47277&view=rev
Log:
Don't mark scalar integer multiplication as Expand on x86, since x86
has plain one-result scalar integer multiplication instructions.
This avoids expanding such instructi
Author: djg
Date: Mon Feb 18 11:15:45 2008
New Revision: 47271
URL: http://llvm.org/viewvc/llvm-project?rev=47271&view=rev
Log:
Fix a missing space in the description of the find-bugs option.
Modified:
llvm/trunk/tools/bugpoint/bugpoint.cpp
Modified: llvm/trunk/tools/bugpoint/bugpoint.cpp
UR
Author: djg
Date: Fri Feb 15 18:36:48 2008
New Revision: 47198
URL: http://llvm.org/viewvc/llvm-project?rev=47198&view=rev
Log:
Rename CountMemOperands to ComputeMemOperandsEnd to reflect what
it actually does. Simplify CountOperands a little by reusing
ComputeMemOperandsEnd. And reword some comme
heng wrote:
> Hi Dan,
>
> This is not right. You are assuming def operands must be first in the
> operand list. But that's not necessary the case.
>
> Evan
>
> On Feb 15, 2008, at 12:59 PM, Dan Gohman wrote:
>
>> Author: djg
>> Date: Fri Feb 15 14:59:17
Author: djg
Date: Fri Feb 15 18:25:40 2008
New Revision: 47196
URL: http://llvm.org/viewvc/llvm-project?rev=47196&view=rev
Log:
Revert 47177, which was incorrect.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRLi
Author: djg
Date: Fri Feb 15 14:59:17 2008
New Revision: 47177
URL: http://llvm.org/viewvc/llvm-project?rev=47177&view=rev
Log:
Skip over the defs and start at the uses when looking for operands
with the TIED_TO attribute.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
M
Author: djg
Date: Fri Feb 15 14:50:13 2008
New Revision: 47176
URL: http://llvm.org/viewvc/llvm-project?rev=47176&view=rev
Log:
Use the TargetInstrDescr to determine the number of operands
that should be checked for the TIED_TO attribute instead of
using CountOperands.
Modified:
llvm/trunk/li
Author: djg
Date: Fri Feb 15 12:11:59 2008
New Revision: 47163
URL: http://llvm.org/viewvc/llvm-project?rev=47163&view=rev
Log:
Use StoreSDNode::getValue instead of calling getOperand directly
with a hard-coded operand number.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Mod
Author: djg
Date: Thu Feb 14 19:29:57 2008
New Revision: 47151
URL: http://llvm.org/viewvc/llvm-project?rev=47151&view=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:
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.
>
&g
Author: djg
Date: Thu Feb 14 16:38:45 2008
New Revision: 47138
URL: http://llvm.org/viewvc/llvm-project?rev=47138&view=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
M
On Feb 12, 2008, at 10:50 PM, Chris Lattner wrote:
> On Feb 12, 2008, at 4:35 PM, Dan Gohman wrote:
>>
>> +++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Tue Feb 12
>> 18:35:47 2008
>> @@ -556,6 +556,12 @@
>> /// bitsets. This code only analyzes bits in M
Author: djg
Date: Wed Feb 13 17:13:32 2008
New Revision: 47101
URL: http://llvm.org/viewvc/llvm-project?rev=47101&view=rev
Log:
Allow the APInt form of ComputeMaskedBits to operate on i128 types.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/lib/CodeGen/
Author: djg
Date: Wed Feb 13 17:07:24 2008
New Revision: 47099
URL: http://llvm.org/viewvc/llvm-project?rev=47099&view=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:
llvm/trunk/lib/Target/X86/X86
Author: djg
Date: Wed Feb 13 16:43:25 2008
New Revision: 47098
URL: http://llvm.org/viewvc/llvm-project?rev=47098&view=rev
Log:
Avoid setting bits that aren't demanded.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.c
Author: djg
Date: Wed Feb 13 16:32:12 2008
New Revision: 47097
URL: http://llvm.org/viewvc/llvm-project?rev=47097&view=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:
http://llvm.org/viewvc/llvm-project/llvm/
Author: djg
Date: Wed Feb 13 16:28:48 2008
New Revision: 47096
URL: http://llvm.org/viewvc/llvm-project?rev=47096&view=rev
Log:
Simplify some logic in ComputeMaskedBits. And change ComputeMaskedBits
to pass the mask APInt by value, not by reference.
Modified:
llvm/trunk/include/llvm/CodeGen/
Author: djg
Date: Wed Feb 13 16:09:18 2008
New Revision: 47090
URL: http://llvm.org/viewvc/llvm-project?rev=47090&view=rev
Log:
Rename APInt's isPositive to isNonNegative, to reflect what it
actually does.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
llvm/trunk/lib/Transforms/Scalar/Inst
Author: djg
Date: Wed Feb 13 15:11:05 2008
New Revision: 47086
URL: http://llvm.org/viewvc/llvm-project?rev=47086&view=rev
Log:
Add countTrailingOnes member functions to APInt.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
llvm/trunk/lib/Support/APInt.cpp
Modified: llvm/trunk/include/llv
Author: djg
Date: Wed Feb 13 14:56:53 2008
New Revision: 47085
URL: http://llvm.org/viewvc/llvm-project?rev=47085&view=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:
http://llvm.org/viewvc/llvm-project/llvm/
Author: djg
Date: Wed Feb 13 14:54:54 2008
New Revision: 47084
URL: http://llvm.org/viewvc/llvm-project?rev=47084&view=rev
Log:
Add count{Leading,Trailing}Ones_{32,64} functions with simple implementations.
Modified:
llvm/trunk/include/llvm/Support/MathExtras.h
Modified: llvm/trunk/include/l
Hi Chris,
On Feb 12, 2008, at 11:39 PM, Chris Lattner wrote:
>
> URL: http://llvm.org/viewvc/llvm-project?rev=47054&view=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. T
Author: djg
Date: Tue Feb 12 18:35:47 2008
New Revision: 47039
URL: http://llvm.org/viewvc/llvm-project?rev=47039&view=rev
Log:
Convert SelectionDAG::ComputeMaskedBits to use APInt instead of uint64_t.
Add an overload that supports the uint64_t interface for use by clients
that haven't been update
Author: djg
Date: Tue Feb 12 15:47:33 2008
New Revision: 47032
URL: http://llvm.org/viewvc/llvm-project?rev=47032&view=rev
Log:
Change APInt::getBitsSet to accept a "half-open" range, where the
hiBit parameter marks the index one past the last desired set bit.
Modified:
llvm/trunk/include/llv
Hi Chris,
Thanks for the careful review! I've responded to parts of it already,
and I'll
be responding to more soon.
On Feb 10, 2008, at 11:56 AM, Chris Lattner wrote:
>
> Instead of Size here, would it make sense to store an MVT? That would
> seem to capture strictly more information, though
Author: djg
Date: Tue Feb 12 12:52:52 2008
New Revision: 47015
URL: http://llvm.org/viewvc/llvm-project?rev=47015&view=rev
Log:
Add a doxygen comment for SrcValueSDNode, to make its purpose
clear and to clarify how it differs from MemOperandSDNode.
Modified:
llvm/trunk/include/llvm/CodeGen/Se
On Feb 12, 2008, at 12:12 AM, Evan Cheng wrote:
>>>
>>> +
>>> +// Save loads/stores matched by a pattern.
>>> +if (!N->isLeaf() && N->getName().empty()) {
>>> + std::string EnumName = N->getOperator()-
>>> >getValueAsString("Opcode");
>>> + if (EnumName == "ISD::LOAD" ||
>>> +
Hi Eli,
Could you add a regression test from the testcase in the PR, to
verify that the load is optimized out?
Thanks,
Dan
On Feb 12, 2008, at 4:08 AM, Eli Friedman wrote:
> Author: efriedma
> Date: Tue Feb 12 06:08:14 2008
> New Revision: 47006
>
> URL: http://llvm.org/viewvc/llvm-project?rev
Author: djg
Date: Mon Feb 11 17:45:14 2008
New Revision: 46978
URL: http://llvm.org/viewvc/llvm-project?rev=46978&view=rev
Log:
Correct the order of the arguments in the examples in the comments
for APInt::getBitsSet. And fix an off-by-one bug in "wrapping" mode.
Modified:
llvm/trunk/include/
Author: djg
Date: Mon Feb 11 13:00:34 2008
New Revision: 46964
URL: http://llvm.org/viewvc/llvm-project?rev=46964&view=rev
Log:
>From Chris' review: use isa instead of explicitly using classof.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Modified: llvm/trunk/lib/CodeGen/Sel
Author: djg
Date: Mon Feb 11 13:00:03 2008
New Revision: 46963
URL: http://llvm.org/viewvc/llvm-project?rev=46963&view=rev
Log:
>From Chris' review: minor corrections in comments.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Sche
Author: djg
Date: Mon Feb 11 12:58:42 2008
New Revision: 46962
URL: http://llvm.org/viewvc/llvm-project?rev=46962&view=rev
Log:
>From Chris' review: use cast instead of dyn_cast with an assert.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/Sel
Author: djg
Date: Mon Feb 11 12:57:43 2008
New Revision: 46961
URL: http://llvm.org/viewvc/llvm-project?rev=46961&view=rev
Log:
>From Chris' review: fix 80 column violations
Modified:
llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp
Modified: llvm/trunk/lib/CodeGen/PseudoSourceValue.cpp
URL:
ht
Author: djg
Date: Mon Feb 11 12:56:50 2008
New Revision: 46960
URL: http://llvm.org/viewvc/llvm-project?rev=46960&view=rev
Log:
>From Chris' review: change MemOperandSDNode's constructor to pass its
argument by reference, rather than by value.
Modified:
llvm/trunk/include/llvm/CodeGen/Select
Hi Evan,
This breaks these:
test/CodeGen/X86/fold-mul-lohi.ll
test/CodeGen/X86/stride-nine-with-base-reg.ll
test/CodeGen/X86/stride-reuse.ll
on Linux. These tests should probably explicitly set the relocation
model to
static so that they always test what they're intended to test.
Dan
On Feb
Author: djg
Date: Fri Feb 8 16:59:30 2008
New Revision: 46899
URL: http://llvm.org/viewvc/llvm-project?rev=46899&view=rev
Log:
Change ConstantSDNode to store an APInt instead of a uint64_t, and
begin adding some methods to use it this way.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionD
Author: djg
Date: Fri Feb 8 15:58:15 2008
New Revision: 46894
URL: http://llvm.org/viewvc/llvm-project?rev=46894&view=rev
Log:
Add an isSignedIntN, like isIntN but for signed integer values instead of
unsigned.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
Modified: llvm/trunk/include/llvm/
Author: djg
Date: Thu Feb 7 21:29:40 2008
New Revision: 46877
URL: http://llvm.org/viewvc/llvm-project?rev=46877&view=rev
Log:
Avoid needlessly casting away const qualifiers.
Modified:
llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/tru
Author: djg
Date: Thu Feb 7 21:26:46 2008
New Revision: 46876
URL: http://llvm.org/viewvc/llvm-project?rev=46876&view=rev
Log:
Avoid needlessly casting away const qualifiers.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cp
Author: djg
Date: Thu Feb 7 12:41:25 2008
New Revision: 46857
URL: http://llvm.org/viewvc/llvm-project?rev=46857&view=rev
Log:
Follow Chris' suggestion; change the PseudoSourceValue accessors
to return pointers instead of references, since this is always what
is needed.
Modified:
llvm/trunk/
Author: djg
Date: Thu Feb 7 10:28:05 2008
New Revision: 46854
URL: http://llvm.org/viewvc/llvm-project?rev=46854&view=rev
Log:
Add SourceValue information for outgoing argument stores on x86.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISel
Author: djg
Date: Thu Feb 7 10:18:00 2008
New Revision: 46853
URL: http://llvm.org/viewvc/llvm-project?rev=46853&view=rev
Log:
Don't abort if a MemOperand is missing a SourceValue; just print it
as . And make some minor adjustments to the MemOperand
dump format.
Modified:
llvm/trunk/lib/Cod
Author: djg
Date: Wed Feb 6 20:30:40 2008
New Revision: 46836
URL: http://llvm.org/viewvc/llvm-project?rev=46836&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/lib/VMCore/Constants.cpp
Modified: llvm/trunk/lib/VMCore/Constants.cpp
URL:
http://llvm.org/viewvc/llvm-project/llvm/
Author: djg
Date: Wed Feb 6 17:09:15 2008
New Revision: 46833
URL: http://llvm.org/viewvc/llvm-project?rev=46833&view=rev
Log:
Add support to FoldingSet for hashing APInt objects.
Modified:
llvm/trunk/include/llvm/ADT/FoldingSet.h
llvm/trunk/lib/Support/FoldingSet.cpp
Modified: llvm/tru
> Some comments on the patch:
> > + > + // Save loads/stores matched by a pattern.
> + if (!N->isLeaf() && N->getName().empty() &&
> + ((N->getOperator()->getName() == "ld") ||
> + (N->getOperator()->getName() == "st") ||
> + (N->getOperator()->getName() == "ist"))) {
> + LSI.push_back(Root
> How about changing it to FLT_ROUND (no s) or something else? Using a
> trailing '_' seems silly.
FLT_ROUNDS is a specific standard macro, and the opcode in question
is for implementing it. I'd prefer to not change any letters in the
spelling. FWIW, it's consisten
tInt::getTrue() handle's the 'i1
> 1' singleton for example.
Thanks. I'll take a look at it.
Dan
--
Dan Gohman, Cray Inc.
___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Author: djg
Date: Wed Jan 30 19:05:10 2008
New Revision: 46591
URL: http://llvm.org/viewvc/llvm-project?rev=46591&view=rev
Log:
Avoid unnecessarily casting away const, fixing a FIXME.
Modified:
llvm/trunk/include/llvm/Analysis/ConstantFolding.h
llvm/trunk/lib/Analysis/ConstantFolding.cpp
Author: djg
Date: Wed Jan 30 19:01:48 2008
New Revision: 46590
URL: http://llvm.org/viewvc/llvm-project?rev=46590&view=rev
Log:
Avoid unnecessarily casting away const.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL:
http:/
Author: djg
Date: Wed Jan 30 18:44:33 2008
New Revision: 46588
URL: http://llvm.org/viewvc/llvm-project?rev=46588&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveVariables.h
URL:
http://llvm.org/v
Author: djg
Date: Wed Jan 30 18:41:03 2008
New Revision: 46587
URL: http://llvm.org/viewvc/llvm-project?rev=46587&view=rev
Log:
Rename ISD::FLT_ROUNDS to ISD::FLT_ROUNDS_ to avoid conflicting
with the real FLT_ROUNDS (defined in ).
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Author: djg
Date: Wed Jan 30 10:35:31 2008
New Revision: 46556
URL: http://llvm.org/viewvc/llvm-project?rev=46556&view=rev
Log:
Add a new PseudoSourceValue class, which will be used to help track
memory reference information in the backend. Most of this was written by
Florian Brander, cleanup and
Author: djg
Date: Tue Jan 29 18:15:11 2008
New Revision: 46538
URL: http://llvm.org/viewvc/llvm-project?rev=46538&view=rev
Log:
Factor the addressing mode and the load/store VT out of LoadSDNode
and StoreSDNode into their common base class LSBaseSDNode. Member
functions getLoadedVT and getStoredVT
Author: djg
Date: Tue Jan 29 07:02:09 2008
New Revision: 46514
URL: http://llvm.org/viewvc/llvm-project?rev=46514&view=rev
Log:
Use empty() instead of comparing size() with zero.
Modified:
llvm/trunk/lib/Archive/ArchiveReader.cpp
llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/tr
Author: djg
Date: Tue Jan 29 06:43:50 2008
New Revision: 46513
URL: http://llvm.org/viewvc/llvm-project?rev=46513&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
URL
Author: djg
Date: Tue Jan 29 06:35:50 2008
New Revision: 46512
URL: http://llvm.org/viewvc/llvm-project?rev=46512&view=rev
Log:
Update this file for 2.0 syntax.
Modified:
llvm/trunk/utils/vim/llvm.vim
Modified: llvm/trunk/utils/vim/llvm.vim
URL:
http://llvm.org/viewvc/llvm-project/llvm/trun
Author: djg
Date: Tue Jan 29 06:12:40 2008
New Revision: 46511
URL: http://llvm.org/viewvc/llvm-project?rev=46511&view=rev
Log:
Add comments describing what the loop depth values mean. Also, make a
minor simplification to the loop depth calculation code.
Modified:
llvm/trunk/include/llvm/Anal
Author: djg
Date: Tue Jan 29 06:09:55 2008
New Revision: 46510
URL: http://llvm.org/viewvc/llvm-project?rev=46510&view=rev
Log:
Fix 80-col violations.
Modified:
llvm/trunk/lib/VMCore/Module.cpp
llvm/trunk/lib/VMCore/Pass.cpp
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/
Author: djg
Date: Tue Jan 29 06:08:20 2008
New Revision: 46509
URL: http://llvm.org/viewvc/llvm-project?rev=46509&view=rev
Log:
Remove top-level const qualifiers from casts, avoiding associated
compiler warnings.
Modified:
llvm/trunk/lib/Support/APFloat.cpp
Modified: llvm/trunk/lib/Support/A
Author: djg
Date: Tue Jan 29 06:07:11 2008
New Revision: 46508
URL: http://llvm.org/viewvc/llvm-project?rev=46508&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
URL
Author: djg
Date: Tue Jan 29 06:06:33 2008
New Revision: 46507
URL: http://llvm.org/viewvc/llvm-project?rev=46507&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveVariables.h
URL:
http://llvm.org/v
Author: djg
Date: Tue Jan 29 05:36:12 2008
New Revision: 46506
URL: http://llvm.org/viewvc/llvm-project?rev=46506&view=rev
Log:
Add explicit keywords.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineOperand.h
llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h
llvm/trunk/include/ll
Author: djg
Date: Fri Dec 14 09:41:34 2007
New Revision: 45034
URL: http://llvm.org/viewvc/llvm-project?rev=45034&view=rev
Log:
Add explicit keywords, and fix a minor typo that they uncovered.
Modified:
llvm/trunk/include/llvm/ADT/StringMap.h
llvm/trunk/include/llvm/ExecutionEngine/Execut
Author: djg
Date: Fri Dec 14 09:15:11 2007
New Revision: 45033
URL: http://llvm.org/viewvc/llvm-project?rev=45033&view=rev
Log:
Don't redirect stderr when it isn't needed.
Modified:
llvm/trunk/test/Assembler/2007-12-11-AddressSpaces.ll
Modified: llvm/trunk/test/Assembler/2007-12-11-AddressSp
Author: djg
Date: Fri Dec 14 09:13:08 2007
New Revision: 45032
URL: http://llvm.org/viewvc/llvm-project?rev=45032&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/Target/MRegisterInfo.h
Modified: llvm/trunk/include/llvm/Target/MRegisterInfo.h
URL:
http://llvm.org/vie
Author: djg
Date: Fri Dec 14 09:11:58 2007
New Revision: 45031
URL: http://llvm.org/viewvc/llvm-project?rev=45031&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/Support/Allocator.h
Modified: llvm/trunk/include/llvm/Support/Allocator.h
URL:
http://llvm.org/viewvc/ll
Author: djg
Date: Fri Dec 14 09:10:00 2007
New Revision: 45030
URL: http://llvm.org/viewvc/llvm-project?rev=45030&view=rev
Log:
Fix Intel asm syntax for the bsr and bsf instructions.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
llvm/trunk/lib/Target/X86/X86InstrX86-64.td
Modified:
Author: djg
Date: Thu Dec 13 14:43:47 2007
New Revision: 45013
URL: http://llvm.org/viewvc/llvm-project?rev=45013&view=rev
Log:
Make it more clear that some things that can't be done in .td files can
still be done in the LLVM code generator. And update the summary for the
X86 target.
Modified:
way this works though; I'll fix that shortly. Also, in C,
one could vectorize a[i] << b[i], though LLVM doesn't currently support
that.
The legalizer expands these by running SplitVectorOp and
ScalarizeVectorOp as necessary, just as with other operations.
Dan
--
Dan G
Author: djg
Date: Wed Dec 12 16:25:09 2007
New Revision: 44955
URL: http://llvm.org/viewvc/llvm-project?rev=44955&view=rev
Log:
Remove a forward-declaration for a non-existant class.
Modified:
llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetIns
Author: djg
Date: Wed Dec 12 16:21:26 2007
New Revision: 44954
URL: http://llvm.org/viewvc/llvm-project?rev=44954&view=rev
Log:
Allow vector integer constants to be created with
SelectionDAG::getConstant, in the same way as vector floating-point
constants. This allows the legalize expansion code f
Author: djg
Date: Tue Dec 11 09:55:52 2007
New Revision: 44867
URL: http://llvm.org/viewvc/llvm-project?rev=44867&view=rev
Log:
Rename these tests to use the appropriate suffixes.
Added:
llvm/trunk/test/C++Frontend/2007-10-01-StructResize.cpp
- copied unchanged from r44792,
llvm/trunk/
Author: djg
Date: Tue Dec 11 09:50:23 2007
New Revision: 44866
URL: http://llvm.org/viewvc/llvm-project?rev=44866&view=rev
Log:
Use not instead of ignore when an exit status is expected to always
be non-zero.
Modified:
llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll
llvm/trunk/te
Author: djg
Date: Tue Dec 11 09:41:11 2007
New Revision: 44865
URL: http://llvm.org/viewvc/llvm-project?rev=44865&view=rev
Log:
Don't redirect stderr when it isn't needed.
Modified:
llvm/trunk/test/Assembler/2007-04-20-AlignedLoad.ll
llvm/trunk/test/Assembler/2007-04-20-AlignedStore.ll
M
er loops, the pass could just traverse
entire outer-most loops, which will implicitly include the blocks of any
inner loops. Instructions nested deep in inner loops can then be hoisted
all the way out of the outer-most loop in a single step instead of being
hoisted out
Author: djg
Date: Mon Nov 26 18:50:57 2007
New Revision: 44345
URL: http://llvm.org/viewvc/llvm-project?rev=44345&view=rev
Log:
Change &| to |&.
Modified:
llvm/trunk/test/Verifier/invoke-1.ll
llvm/trunk/test/Verifier/invoke-2.ll
Modified: llvm/trunk/test/Verifier/invoke-1.ll
URL:
http:/
Author: djg
Date: Mon Nov 26 18:10:35 2007
New Revision: 44344
URL: http://llvm.org/viewvc/llvm-project?rev=44344&view=rev
Log:
Change grep '' to grep {}.
Change 2>&1 | to |&.
Modified:
llvm/trunk/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll
llvm/trunk/test/Analysis/ScalarEv
Author: djg
Date: Mon Nov 26 18:07:33 2007
New Revision: 44343
URL: http://llvm.org/viewvc/llvm-project?rev=44343&view=rev
Log:
Don't redirect llvm-as's stderr to llvm-dis.
Change grep '' to grep {}.
Modified:
llvm/trunk/test/Assembler/2007-04-20-AlignedLoad.ll
Modified: llvm/trunk/test/Asse
Author: djg
Date: Mon Nov 26 18:03:38 2007
New Revision: 44342
URL: http://llvm.org/viewvc/llvm-project?rev=44342&view=rev
Log:
Remove unnecessary && from the RUN lines of this test.
Modified:
llvm/trunk/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll
Modified: llvm/trunk/test/CodeGen/X86/2007-07-
Author: djg
Date: Mon Nov 26 17:46:11 2007
New Revision: 44341
URL: http://llvm.org/viewvc/llvm-project?rev=44341&view=rev
Log:
Don't lower srem/urem X%C to X-X/C*C unless the division is actually
optimized. This avoids creating illegal divisions when the combiner is
running after legalize; this f
Author: djg
Date: Mon Nov 19 14:46:23 2007
New Revision: 44240
URL: http://llvm.org/viewvc/llvm-project?rev=44240&view=rev
Log:
Remove meaningless qualifiers from return types, avoiding compiler warnings.
Modified:
llvm/trunk/include/llvm/Analysis/Dominators.h
llvm/trunk/include/llvm/Basi
Author: djg
Date: Mon Nov 19 09:36:19 2007
New Revision: 44235
URL: http://llvm.org/viewvc/llvm-project?rev=44235&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL:
http://ll
Author: djg
Date: Mon Nov 19 09:30:20 2007
New Revision: 44234
URL: http://llvm.org/viewvc/llvm-project?rev=44234&view=rev
Log:
Add explicit keywords.
Modified:
llvm/trunk/include/llvm/ADT/StringMap.h
llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
llvm/trunk/include/llv
Author: djg
Date: Mon Nov 19 09:15:03 2007
New Revision: 44233
URL: http://llvm.org/viewvc/llvm-project?rev=44233&view=rev
Log:
Add support in SplitVectorOp for remainder operators.
Added:
llvm/trunk/test/CodeGen/X86/split-vector-rem.ll
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/Legali
Author: djg
Date: Tue Nov 6 16:11:54 2007
New Revision: 43781
URL: http://llvm.org/viewvc/llvm-project?rev=43781&view=rev
Log:
Remainder operations must be either integer or floating-point.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Modified: llvm/trunk/lib/CodeGen/Select
Author: djg
Date: Mon Nov 5 17:35:22 2007
New Revision: 43744
URL: http://llvm.org/viewvc/llvm-project?rev=43744&view=rev
Log:
Add support for vector remainder operations.
Added:
llvm/trunk/test/CodeGen/X86/vector-rem.ll
Modified:
llvm/trunk/docs/LangRef.html
llvm/trunk/lib/AsmParser
Author: djg
Date: Mon Nov 5 17:16:33 2007
New Revision: 43743
URL: http://llvm.org/viewvc/llvm-project?rev=43743&view=rev
Log:
Fix an abort in instcombine when folding creates a vector rem instruction.
Added:
llvm/trunk/test/Transforms/InstCombine/vector-srem.ll
Modified:
llvm/trunk/lib/
> +mem2reg only works on allocas of scalar values, and only if the array
> size
mem2reg has been observed working on allocas of vector values too :-).
Dan
--
Dan Gohman, Cray Inc.
___
llvm-commits mailing list
llvm-commits@cs.uiuc.ed
Author: djg
Date: Fri Nov 2 17:24:01 2007
New Revision: 43652
URL: http://llvm.org/viewvc/llvm-project?rev=43652&view=rev
Log:
Add std:: to sort calls.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/trunk/lib/Transforms/Utils/LowerSwitch.cpp
Modified: llvm/trunk
Author: djg
Date: Fri Nov 2 17:22:02 2007
New Revision: 43651
URL: http://llvm.org/viewvc/llvm-project?rev=43651&view=rev
Log:
Change illegal uses of ++ to uses of STLExtra.h's next function.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/trunk/lib/Transforms/Uti
Author: djg
Date: Wed Oct 31 16:36:31 2007
New Revision: 43579
URL: http://llvm.org/viewvc/llvm-project?rev=43579&view=rev
Log:
Fix a regression in test/CodeGen/X86/2007-04-24-VectorCrash.ll introduced
by r43510. Gracefully handle constants with vector type that aren't
ConstantVector or ConstantAg
Author: djg
Date: Wed Oct 31 09:35:39 2007
New Revision: 43553
URL: http://llvm.org/viewvc/llvm-project?rev=43553&view=rev
Log:
Fix a typo in a comment.
Modified:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
URL:
http://llvm.org/viewvc/llvm-p
Author: djg
Date: Tue Oct 30 14:00:49 2007
New Revision: 43510
URL: http://llvm.org/viewvc/llvm-project?rev=43510&view=rev
Log:
Add support for folding binary operators with vector zero operands.
Added:
llvm/trunk/test/Transforms/InstCombine/fold-vector-zero.ll
Modified:
llvm/trunk/lib/VM
Author: djg
Date: Mon Oct 29 15:44:42 2007
New Revision: 43470
URL: http://llvm.org/viewvc/llvm-project?rev=43470&view=rev
Log:
Fix a DAGCombiner abort on a bitcast from a scalar to a vector.
Added:
llvm/trunk/test/CodeGen/X86/bitcast-int-to-vector.ll
Modified:
llvm/trunk/lib/CodeGen/Sele
Author: djg
Date: Mon Oct 29 15:34:35 2007
New Revision: 43468
URL: http://llvm.org/viewvc/llvm-project?rev=43468&view=rev
Log:
Don't bitcast from pointer-to-vector to pointer-to-array when
lowering load and store instructions.
Modified:
llvm/trunk/lib/Transforms/Scalar/LowerPacked.cpp
Modif
Author: djg
Date: Mon Oct 29 15:24:00 2007
New Revision: 43467
URL: http://llvm.org/viewvc/llvm-project?rev=43467&view=rev
Log:
Use an array instead of a fixed-length std::vector.
Modified:
llvm/trunk/lib/Transforms/Scalar/LowerPacked.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LowerPacke
Author: djg
Date: Mon Oct 29 15:14:29 2007
New Revision: 43466
URL: http://llvm.org/viewvc/llvm-project?rev=43466&view=rev
Log:
Do a real assert if there is an unhandled vector instruction instead
of just printing to cerr.
Modified:
llvm/trunk/lib/Transforms/Scalar/LowerPacked.cpp
Modified:
Author: djg
Date: Mon Oct 29 14:52:04 2007
New Revision: 43464
URL: http://llvm.org/viewvc/llvm-project?rev=43464&view=rev
Log:
Add explicit keywords.
Modified:
llvm/trunk/include/llvm/Analysis/AliasSetTracker.h
llvm/trunk/lib/Analysis/ValueNumbering.cpp
llvm/trunk/lib/CodeGen/Selecti
Author: djg
Date: Mon Oct 29 14:32:39 2007
New Revision: 43463
URL: http://llvm.org/viewvc/llvm-project?rev=43463&view=rev
Log:
Update a comment to reflect the current code.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopStren
1 - 100 of 487 matches
Mail list logo