[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.110 -> 1.111 --- Log message: Drop 'const' --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/TargetData.c

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.109 -> 1.110 --- Log message: Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. --- Diffs of th

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-05-02 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.108 -> 1.109 --- Log message: Fix build error. --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/TargetDa

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.107 -> 1.108 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+3 -1) TargetData.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Target/TargetD

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-04-22 Thread Christopher Lamb
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.106 -> 1.107 --- Log message: Support alignment queries for degenerate (length 1) vectors. --- Diffs of the changes: (+8 -2) TargetData.cpp | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) Index: llvm/lib/

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-03-04 Thread Jeff Cohen
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.104 -> 1.105 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/Target

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-03-01 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.103 -> 1.104 --- Log message: Wrap a long line. --- Diffs of the changes: (+2 -1) TargetData.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/Targe

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-19 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.102 -> 1.103 --- Log message: Simplify some code by moving variable declarations into the only block that uses them. --- Diffs of the changes: (+6 -12) TargetData.cpp | 18 ++ 1 files changed, 6 insertions(+)

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-19 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.101 -> 1.102 --- Log message: Implement support for non-standard integer bit widths of any size. The rules alignment is to pick the alignment that corresponds to the smallest specified alignment that is larger than the bit width

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.100 -> 1.101 --- Log message: Do not dereference invalid ranges. Generalize targetdata alignment model. This fixes the UnitTests/Vector/sumarray-dbl regressions. --- Diffs of the changes: (+51 -61) TargetData.cpp | 112 +

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.99 -> 1.100 --- Log message: Fix CodeGen/PowerPC/2007-02-16-AlignPacked.ll --- Diffs of the changes: (+2 -2) TargetData.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/TargetData.cpp

Re: [llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-16 Thread Chris Lattner
> Remove an unnecessary predicate. > Patch by Scott Michel. It's not clear that this is unnecessary. Scott, does this mean that %X = global <{int}> <{ int 1 }> will get alignment 1? -Chris > > --- > Diffs of the changes: (+1 -1) > > TargetData.cpp |2 +- > 1 files changed, 1 insertion(+

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-16 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.98 -> 1.99 --- Log message: Remove an unnecessary predicate. Patch by Scott Michel. --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.97 -> 1.98 --- Log message: simplify some code, ensure that packed structures get abi alignment of 1. --- Diffs of the changes: (+11 -18) TargetData.cpp | 29 +++-- 1 files changed, 11 insertions(+),

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-15 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.96 -> 1.97 --- Log message: For PR1195: http://llvm.org/PR1195 : PACKED_ALIGN -> VECTOR_ALIGN --- Diffs of the changes: (+4 -4) TargetData.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-15 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.95 -> 1.96 --- Log message: For PR1202: http://llvm.org/PR1202 : Make sure we found an existing Alignment before overwriting it. --- Diffs of the changes: (+2 -1) TargetData.cpp |3 ++- 1 files changed, 2 insertions(+), 1

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.94 -> 1.95 --- Log message: For PR1195: http://llvm.org/PR1195 : Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. --- Diffs of the changes: (+3 -3) TargetD

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.93 -> 1.94 --- Log message: Fixed packed structure breakage from earlier TargetData patch; applied Chris Lattner's code style suggestions. Patch by Scott Michel! --- Diffs of the changes: (+31 -75) TargetData.cpp | 106 +

Re: [llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-13 Thread Chris Lattner
> Generalize TargetData strings, to support more interesting forms of > data. > Patch by Scott Michel. Scott, > @@ -54,11 +48,10 @@ >// Loop over each of the elements, placing them in memory... >for (unsigned i = 0, e = NumElements; i != e; ++i) { > const Type *Ty = ST->getElementT

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-13 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.92 -> 1.93 --- Log message: Generalize TargetData strings, to support more interesting forms of data. Patch by Scott Michel. --- Diffs of the changes: (+309 -216) TargetData.cpp | 525 +

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.91 -> 1.92 --- Log message: Switch LayoutInfo to be a DenseMap instead of an std::map. This speeds up -load-vn -gcse by 2.3%. --- Diffs of the changes: (+31 -13) TargetData.cpp | 44 +++--

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.90 -> 1.91 --- Log message: add a typedef --- Diffs of the changes: (+8 -9) TargetData.cpp | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Tar

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.89 -> 1.90 --- Log message: eliminate the std::vector from StructLayout, allocating the elements immediately after the StructLayout object in memory. This marginally improves locality, speeding up -load-vn -gcse by ~0.8%. --- D

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.88 -> 1.89 --- Log message: encapsulate the rest of the StructLayout members. --- Diffs of the changes: (+4 -4) TargetData.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Target/TargetDa

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.87 -> 1.88 --- Log message: Privatize StructLayout::MemberOffsets, adding an accessor --- Diffs of the changes: (+1 -2) TargetData.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/lib/Target/Target

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.86 -> 1.87 --- Log message: Use ManagedStatic to manage LayoutInfo, instead of rolling our own. --- Diffs of the changes: (+24 -27) TargetData.cpp | 51 --- 1 files changed, 24

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.85 -> 1.86 --- Log message: Change TargetData::getIndexedOffset interface to not require indices in a vector. --- Diffs of the changes: (+8 -8) TargetData.cpp | 16 1 files changed, 8 insertions(+), 8 deleti

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.84 -> 1.85 --- Log message: Although targets are not required to support integers > 64bits, TargetData must in order for backends that do want to support large integer types to be able to function. Consequently, don't assert if th

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-31 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.83 -> 1.84 --- Log message: Dead comment. --- Diffs of the changes: (+0 -1) TargetData.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/TargetData.cpp:1.83 llvm/lib/Ta

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-26 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.82 -> 1.83 --- Log message: For PR761: http://llvm.org/PR761 : The Module::setEndianness and Module::setPointerSize methods have been removed. Instead you can get/set the DataLayout. Adjust thise accordingly. --- Diffs of the cha

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-23 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.81 -> 1.82 --- Log message: Renamed getTypeAlignmentShift() to getPreferredTypeAlignmentShift(). --- Diffs of the changes: (+2 -2) TargetData.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/T

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-22 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.80 -> 1.81 --- Log message: - getTypeAlignmentShift() should be returning preferred alignment, not ABI alignment. - getPreferredAlignmentLog(): remove Double special case. --- Diffs of the changes: (+1 -3) TargetData.cpp |4

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-20 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.79 -> 1.80 --- Log message: Implement a getTypeSizeInBits method. This helps in transforms that want to ensure the bit size of a type is identical before proceeding. --- Diffs of the changes: (+10 -0) TargetData.cpp | 10 +++

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-20 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.78 -> 1.79 --- Log message: TargetData assumes (and some regression tests depend on it) that the size of an unspecified datatype in the datalayout is capped by the size of a pointer. --- Diffs of the changes: (+11 -4) TargetDa

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-20 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.77 -> 1.78 --- Log message: trivial cleanup --- Diffs of the changes: (+0 -2) TargetData.cpp |2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/TargetData.cpp:1.77 llvm/l

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-20 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.76 -> 1.77 --- Log message: Teach TargetData to handle 'preferred' alignment for each target, and use these alignment amounts to align scalars when we can. Patch by Scott Michel! --- Diffs of the changes: (+186 -57) TargetD

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.75 -> 1.76 --- Log message: For PR1064: http://llvm.org/PR1064 : Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit inte

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.74 -> 1.75 --- Log message: Rename BoolTy as Int1Ty. Patch by Sheng Zhou. --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-12-30 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.73 -> 1.74 --- Log message: For PR950: http://llvm.org/PR950 : Three changes: 1. Convert signed integer types to signless versions. 2. Implement the @sext and @zext parameter attributes. Previously the type of an function parame

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-12-08 Thread Andrew Lenharth
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.72 -> 1.73 --- Log message: Packed Structures --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/TargetData

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-10-24 Thread Devang Patel
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.71 -> 1.72 --- Log message: Move getPreferredAlignmentLog from AsmPrinter to TargetData --- Diffs of the changes: (+23 -0) TargetData.cpp | 23 +++ 1 files changed, 23 insertions(+) Index: llvm/lib/Targ

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-10-20 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.70 -> 1.71 --- Log message: For PR950: http://llvm.org/PR950 : This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just usi

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-06-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.69 -> 1.70 --- Log message: Don't pass target name into TargetData anymore, it is never used or needed. Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. --- Diffs of th

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-06-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.68 -> 1.69 --- Log message: Remove ctor with each piece specifyable (which causes overload ambiguities), add a new init method. --- Diffs of the changes: (+1 -32) TargetData.cpp | 33 + 1 file

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-20 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.67 -> 1.68 --- Log message: Make TargetData strings less redundant. --- Diffs of the changes: (+0 -7) TargetData.cpp |7 --- 1 files changed, 7 deletions(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Targ

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-20 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.66 -> 1.67 --- Log message: Fix a parsing bug that caused 7 llvm-test regressions on PPC last night. I'm suprised it didn't cause more! --- Diffs of the changes: (+7 -7) TargetData.cpp | 14 +++--- 1 files changed,

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-19 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.65 -> 1.66 --- Log message: Make all of the TargetMachine subclasses use the new string TargetData methods. This is part of the on-going work on PR 761: http://llvm.cs.uiuc.edu/PR761 . --- Diffs of the changes: (+5 -1) Target

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-17 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.64 -> 1.65 --- Log message: Fix a stupid bug when parsing TargetData strings. --- Diffs of the changes: (+3 -1) TargetData.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cp

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-12 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.63 -> 1.64 --- Log message: Add a method to generate a string representation from a TargetData. This continues the work on PR 761: http://llvm.cs.uiuc.edu/PR761 . --- Diffs of the changes: (+21 -0) TargetData.cpp | 21 +

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-11 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.62 -> 1.63 --- Log message: Fix some tabbing issues. --- Diffs of the changes: (+29 -29) TargetData.cpp | 58 - 1 files changed, 29 insertions(+), 29 deletions(-) Ind

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-05-11 Thread Owen Anderson
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.61 -> 1.62 --- Log message: Add a new constructor to TargetData that builds a TargetData from its string representation. This is part of PR 761: http://llvm.cs.uiuc.edu/PR761 . --- Diffs of the changes: (+65 -0) TargetData.cp

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-04-03 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.60 -> 1.61 --- Log message: revert previous patch --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff -u llvm/lib/Target/Targe

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-04-03 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.59 -> 1.60 --- Log message: Align vectors to the size in bytes, not bits. --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetData.cpp diff

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-03-31 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.58 -> 1.59 --- Log message: TargetData.cpp::getTypeInfo() was returning alignment of element type as the alignment of a packed type. This is obviously wrong. Added a workaround that returns the size of the packed type as its alignm

[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.57 -> 1.58 --- Log message: Implement a new InvalidateStructLayoutInfo method and add some comments --- Diffs of the changes: (+18 -0) TargetData.cpp | 18 ++ 1 files changed, 18 insertions(+) Index: llvm/l