[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-22 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.284 - 1.285 --- Log message: temporarily revert reid's asmwriter patch, it is missing the asmparser piece that decodes the escape sequences, thus breaking all cases that use them. This fixes test/Assembler/2007-05-21-Escape.ll

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-22 Thread Reid Spencer
On Tue, 2007-05-22 at 02:01 -0500, Chris Lattner wrote: Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.284 - 1.285 --- Log message: temporarily revert reid's asmwriter patch, it is missing the asmparser piece that decodes the escape sequences, thus breaking all cases

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-22 Thread Chris Lattner
On May 22, 2007, at 7:50 AM, Reid Spencer wrote: On Tue, 2007-05-22 at 02:01 -0500, Chris Lattner wrote: Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.284 - 1.285 --- Log message: temporarily revert reid's asmwriter patch, it is missing the asmparser piece that

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-22 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.285 - 1.286 --- Log message: Reinstate the patch for escaping non-printing characters and allow for \\ to escape \. All these cases are now handled by the AsmParser. --- Diffs of the changes: (+36 -19) AsmWriter.cpp | 55

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-22 Thread Chris Lattner
Reinstate the patch for escaping non-printing characters and allow for \\ to escape \. All these cases are now handled by the AsmParser. Great, thanks again Reid! -Chris --- Diffs of the changes: (+36 -19) AsmWriter.cpp | 55 +++ +---

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-21 Thread Chris Lattner
On May 19, 2007, at 12:25 AM, Reid Spencer wrote: Adjust how LLVM names are produced: 1. Always use % for local and @ for global. 2. Replace NameNeedsQuotes with QuoteNameIfNeeded so that any adjustments to the name can be done in one pass. 3. Implement generation of hex escapes so

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.282 - 1.283 --- Log message: Adjust how LLVM names are produced: 1. Always use % for local and @ for global. 2. Replace NameNeedsQuotes with QuoteNameIfNeeded so that any adjustments to the name can be done in one pass. 3.

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-05-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.283 - 1.284 --- Log message: Get the order of the hext digits right! --- Diffs of the changes: (+2 -2) AsmWriter.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Dominators.cpp PassManager.cpp Verifier.cpp

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.280 - 1.281 Dominators.cpp updated: 1.98 - 1.99 PassManager.cpp updated: 1.154 - 1.155 Verifier.cpp updated: 1.210 - 1.211 --- Log message: Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Dominators.cpp PassManager.cpp Verifier.cpp

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.281 - 1.282 Dominators.cpp updated: 1.99 - 1.100 PassManager.cpp updated: 1.155 - 1.156 Verifier.cpp updated: 1.211 - 1.212 --- Log message: Drop 'const' --- Diffs of the changes: (+16 -16) AsmWriter.cpp |4 ++--

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Dominators.cpp Pass.cpp PassManager.cpp Verifier.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.279 - 1.280 Dominators.cpp updated: 1.97 - 1.98 Pass.cpp updated: 1.87 - 1.88 PassManager.cpp updated: 1.153 - 1.154 Verifier.cpp updated: 1.209 - 1.210 --- Log message: Do not use typeinfo to identify pass in pass manager. ---

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-29 Thread Anton Korobeynikov
Chris, This can use the new getAliaseeGlobal() method. Not here. We should distinguish, whether we have variable, function ot bitcast here and print them differently. What does it mean for an alias to be a declaration? I'd be fine with them always returning true or false. What code calls

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Verifier.cpp

2007-04-29 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.277 - 1.278 Globals.cpp updated: 1.21 - 1.22 Verifier.cpp updated: 1.208 - 1.209 --- Log message: Implement review feedback --- Diffs of the changes: (+30 -9) AsmWriter.cpp |3 +-- Globals.cpp | 33

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-29 Thread Chris Lattner
On Apr 29, 2007, at 3:38 AM, Anton Korobeynikov wrote: Chris, This can use the new getAliaseeGlobal() method. Not here. We should distinguish, whether we have variable, function ot bitcast here and print them differently. Ok, but the call can be used to dig the global out from under the

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-29 Thread Anton Korobeynikov
Hello, Chris. Ok, but the call can be used to dig the global out from under the constantexprs etc. Yes. Commited. I must be missing something: isn't it *always* safe to RAUW uses of an alias with uses of its aliasee? No, that's me missing some bits :) It's always safe to do RAUW of an

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-04-29 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.278 - 1.279 --- Log message: Implement protected visibility. This partly implements PR1363: http://llvm.org/PR1363 . Linker should be taught to deal with protected symbols. --- Diffs of the changes: (+3 -0) AsmWriter.cpp |

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.276 - 1.277 Globals.cpp updated: 1.20 - 1.21 Module.cpp updated: 1.81 - 1.82 Verifier.cpp updated: 1.206 - 1.207 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-28 Thread Chris Lattner
+++ llvm/lib/VMCore/AsmWriter.cpp Sat Apr 28 08:44:59 2007 @@ -926,7 +926,7 @@ assert(0 Invalid alias linkage); } - const GlobalValue *Aliasee = GA-getAliasee(); + const Constant *Aliasee = dyn_cast_or_nullConstant(GA- getAliasee()); assert(Aliasee Aliasee cannot be

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-25 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.274 - 1.275 Globals.cpp updated: 1.19 - 1.20 Module.cpp updated: 1.80 - 1.81 Verifier.cpp updated: 1.205 - 1.206 --- Log message: Implement aliases. This fixes PR1017: http://llvm.org/PR1017 and it's dependent bugs. CFE part

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-25 Thread Chris Lattner
On Apr 25, 2007, at 7:28 AM, Anton Korobeynikov wrote: +void GlobalAlias::setAliasee(const GlobalValue *GV) +{ + // FIXME: Some checks? + Aliasee = GV; +} + This should assert that GV type matches the alias type. @@ -277,7 +282,9 @@ Assert1(!GV.isDeclaration() ||

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-04-25 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.275 - 1.276 --- Log message: print aliases before functions --- Diffs of the changes: (+6 -5) AsmWriter.cpp | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Instructions.cpp

2007-04-21 Thread Christopher Lamb
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.270 - 1.271 Instructions.cpp updated: 1.85 - 1.86 --- Log message: add support for alignment attributes on load/store instructions --- Diffs of the changes: (+49 -0) AsmWriter.cpp|7 +++ Instructions.cpp | 42

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Instructions.cpp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.271 - 1.272 Instructions.cpp updated: 1.86 - 1.87 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+0 -49) AsmWriter.cpp|7 --- Instructions.cpp | 42

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Function.cpp Instructions.cpp Type.cpp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.272 - 1.273 Function.cpp updated: 1.124 - 1.125 Instructions.cpp updated: 1.87 - 1.88 Type.cpp updated: 1.184 - 1.185 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-04-17 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.269 - 1.270 --- Log message: don't access argument list of prototypes --- Diffs of the changes: (+24 -7) AsmWriter.cpp | 31 --- 1 files changed, 24 insertions(+), 7 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp

2007-04-12 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.268 - 1.269 Globals.cpp updated: 1.18 - 1.19 --- Log message: Implement the thread_local keyword. --- Diffs of the changes: (+8 -7) AsmWriter.cpp |3 ++- Globals.cpp | 12 ++-- 2 files changed, 8 insertions(+),

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Function.cpp Type.cpp

2007-04-10 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.267 - 1.268 Function.cpp updated: 1.117 - 1.118 Type.cpp updated: 1.181 - 1.182 --- Log message: For PR1146: http://llvm.org/PR1146 : Put the parameter attributes in their own ParamAttr name space. Adjust the rest of llvm as a

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-04-09 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.266 - 1.267 --- Log message: For PR1146: http://llvm.org/PR1146 : Adjust writing of parameter attributes to use ParamAttrList class. --- Diffs of the changes: (+36 -30) AsmWriter.cpp | 66

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-03-27 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.265 - 1.266 --- Log message: No need to generate the implementation keyword any more. Its frivolous. --- Diffs of the changes: (+0 -2) AsmWriter.cpp |2 -- 1 files changed, 2 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Instructions.cpp

2007-03-22 Thread Dan Gohman
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.264 - 1.265 Instructions.cpp updated: 1.80 - 1.81 --- Log message: Change uses of Function::front to Function::getEntryBlock for readability. --- Diffs of the changes: (+2 -2) AsmWriter.cpp|2 +- Instructions.cpp |

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-03-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.263 - 1.264 --- Log message: For PR1258: http://llvm.org/PR1258 : Radically simplify the SlotMachine. There is no need to keep Value planes around any more. This change causes slot numbering to number all un-named, non-void values

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-03-19 Thread Chris Lattner
On Mar 19, 2007, at 11:33 AM, Reid Spencer wrote: For PR1258: http://llvm.org/PR1258 : Radically simplify the SlotMachine. There is no need to keep Value planes around any more. This change causes slot numbering to number all un- named, non-void values starting at 0 and incrementing

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-02-27 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.261 - 1.262 --- Log message: Allow the AsmWriter to print out arbitrary precision integers. --- Diffs of the changes: (+1 -1) AsmWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-02-27 Thread Chris Lattner
Index: llvm/lib/VMCore/AsmWriter.cpp diff -u llvm/lib/VMCore/AsmWriter.cpp:1.261 llvm/lib/VMCore/ AsmWriter.cpp:1.262 --- llvm/lib/VMCore/AsmWriter.cpp:1.261 Wed Feb 14 20:26:10 2007 +++ llvm/lib/VMCore/AsmWriter.cpp Tue Feb 27 02:34:09 2007 @@ -464,7 +464,7 @@ if

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFold.cpp

2007-02-27 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.262 - 1.263 ConstantFold.cpp updated: 1.141 - 1.142 --- Log message: Adjust to changes in the APInt interface. --- Diffs of the changes: (+5 -5) AsmWriter.cpp|2 +- ConstantFold.cpp |8 2 files changed, 5

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFold.cpp

2007-02-27 Thread Chris Lattner
@@ -464,7 +464,7 @@ if (CI-getType() == Type::Int1Ty) Out (CI-getZExtValue() ? true : false); else - Out CI-getValue().toString(10,/*wantSigned=*/true); + Out CI-getValue().toStringSigned(10); Thanks! case Instruction::UIToFP: if (const ConstantInt

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp Type.cpp ValueTypes.cpp Verifier.cpp

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.260 - 1.261 ConstantFolding.cpp updated: 1.135 - 1.136 Constants.cpp updated: 1.209 - 1.210 Instructions.cpp updated: 1.75 - 1.76 Type.cpp updated: 1.171 - 1.172 ValueTypes.cpp updated: 1.13 - 1.14 Verifier.cpp updated: 1.195 -

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Constants.cpp Function.cpp Globals.cpp Instruction.cpp Module.cpp SymbolTableListTraitsImpl.h Type.cpp Value.cpp ValueSymbolTable.cpp Verifier.cpp Sym

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.259 - 1.260 Constants.cpp updated: 1.207 - 1.208 Function.cpp updated: 1.110 - 1.111 Globals.cpp updated: 1.14 - 1.15 Instruction.cpp updated: 1.62 - 1.63 Module.cpp updated: 1.75 - 1.76 SymbolTableListTraitsImpl.h updated: 1.8 -

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-02-02 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.258 - 1.259 --- Log message: Fix a comment that needed to change after SHIFT patch landed. --- Diffs of the changes: (+1 -2) AsmWriter.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Constants.cpp Instructions.cpp Verifier.cpp

2007-02-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.257 - 1.258 Constants.cpp updated: 1.206 - 1.207 Instructions.cpp updated: 1.70 - 1.71 Verifier.cpp updated: 1.188 - 1.189 --- Log message: Changes to support making the shift instructions be true BinaryOperators. This feature is

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Constants.cpp Instructions.cpp Verifier.cpp

2007-02-01 Thread Chris Lattner
Index: llvm/lib/VMCore/AsmWriter.cpp diff -u llvm/lib/VMCore/AsmWriter.cpp:1.257 llvm/lib/VMCore/ AsmWriter.cpp:1.258 --- llvm/lib/VMCore/AsmWriter.cpp:1.257 Tue Jan 30 14:08:38 2007 +++ llvm/lib/VMCore/AsmWriter.cpp Thu Feb 1 20:16:22 2007 @@ -1272,8 +1272,7 @@ // Shift

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Mangler.cpp Module.cpp Pass.cpp PassManager.cpp SymbolTable.cpp Verifier.cpp

2007-01-30 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.256 - 1.257 Mangler.cpp updated: 1.30 - 1.31 Module.cpp updated: 1.73 - 1.74 Pass.cpp updated: 1.83 - 1.84 PassManager.cpp updated: 1.131 - 1.132 SymbolTable.cpp updated: 1.65 - 1.66 Verifier.cpp updated: 1.187 - 1.188 --- Log

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Type.cpp Verifier.cpp

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.255 - 1.256 Type.cpp updated: 1.166 - 1.167 Verifier.cpp updated: 1.186 - 1.187 --- Log message: Propagate changes from my local tree. This patch includes: 1. New parameter attribute called 'inreg'. It has meaning place this

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-26 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.254 - 1.255 --- Log message: For PR645: http://llvm.org/PR645 : Implement new syntax for local and global symbols. Types and local symbols use the % prefix. Global variables and functions use the @ prefix. --- Diffs of the

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.253 - 1.254 --- Log message: make this more efficient in release builds (time and space) --- Diffs of the changes: (+2 -6) AsmWriter.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp Type.cpp Verifier.cpp

2007-01-14 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.252 - 1.253 ConstantFolding.cpp updated: 1.131 - 1.132 Constants.cpp updated: 1.200 - 1.201 Instructions.cpp updated: 1.62 - 1.63 Type.cpp updated: 1.160 - 1.161 Verifier.cpp updated: 1.185 - 1.186 --- Log message: rename

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-12 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.251 - 1.252 --- Log message: * PIC codegen for X86/Linux has been implemented * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkage,

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp Type.cpp Verifier.cpp

2007-01-12 Thread Chris Lattner
On Jan 11, 2007, at 11:06 PM, Reid Spencer wrote: +// ===--- ---===// +// Integer Type Factory... +// +namespace llvm { +class IntegerValType { + uint16_t bits; +public: + IntegerValType(uint16_t numbits) :

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp

2007-01-11 Thread Zhou Sheng
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.246 - 1.247 ConstantFolding.cpp updated: 1.126 - 1.127 Constants.cpp updated: 1.194 - 1.195 Instructions.cpp updated: 1.58 - 1.59 --- Log message: For PR1043: http://llvm.org/PR1043 : Merge ConstantIntegral and ConstantBool into

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp Type.cpp ValueTypes.cpp Verifier.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.247 - 1.248 ConstantFolding.cpp updated: 1.127 - 1.128 Constants.cpp updated: 1.195 - 1.196 Instructions.cpp updated: 1.59 - 1.60 Type.cpp updated: 1.156 - 1.157 ValueTypes.cpp updated: 1.9 - 1.10 Verifier.cpp updated: 1.182 - 1.183

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.248 - 1.249 ConstantFolding.cpp updated: 1.128 - 1.129 Constants.cpp updated: 1.196 - 1.197 --- Log message: Implement review feedback for the ConstantBool-ConstantInt merge. Chris recommended that getBoolValue be replaced with

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp Type.cpp Verifier.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.249 - 1.250 ConstantFolding.cpp updated: 1.129 - 1.130 Constants.cpp updated: 1.197 - 1.198 Instructions.cpp updated: 1.60 - 1.61 Type.cpp updated: 1.157 - 1.158 Verifier.cpp updated: 1.183 - 1.184 --- Log message: For PR1064:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-10 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.242 - 1.243 --- Log message: Back out the last patch which is a nightly test killer. The assertion in getLocalSlot fires on many, many values. It broke nearly all of the dejagnu tests. Simple changes to the assertion did not fix

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-10 Thread Reid Spencer
Chris, This patch broke most tests. I reverted it so that some of the nightly testers won't get too damaged. I tried a couple things to work around the assert but it seems there are bigger issues. Revert was the only thing I could do in a timely fashion. Reid. On Wed, 2007-01-10 at 01:02

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-10 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.243 - 1.244 --- Log message: Recommit my previous patch with a bugfix: printInfoComment works on both local and global values. --- Diffs of the changes: (+67 -63) AsmWriter.cpp | 130

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-10 Thread Chris Lattner
On Jan 10, 2007, at 1:20 AM, Reid Spencer wrote: Chris, This patch broke most tests. I reverted it so that some of the nightly testers won't get too damaged. I tried a couple things to work around the assert but it seems there are bigger issues. Revert was the only thing I could do in a

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-10 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.244 - 1.245 --- Log message: simplify some logic further --- Diffs of the changes: (+2 -11) AsmWriter.cpp | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-09 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.239 - 1.240 --- Log message: Inline insertValue into CreateModuleSlot/CreateFunctionSlot --- Diffs of the changes: (+24 -35) AsmWriter.cpp | 59 +++--- 1 files changed, 24

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-09 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.240 - 1.241 --- Log message: eliminate some iterator gymnastics. --- Diffs of the changes: (+4 -8) AsmWriter.cpp | 12 1 files changed, 4 insertions(+), 8 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-09 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.241 - 1.242 --- Log message: Last refactoring before PR645: http://llvm.org/PR645 : split up getSlot into getLocalSlot and getGlobalSlot. No functionality change. --- Diffs of the changes: (+63 -63) AsmWriter.cpp | 126

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-08 Thread Andrew Lenharth
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.235 - 1.236 --- Log message: And asm writing for packed struct initializers --- Diffs of the changes: (+4 -0) AsmWriter.cpp |4 1 files changed, 4 insertions(+) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-08 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.236 - 1.237 --- Log message: Remove extraneous return value from insertValue and getOrCreateSlot. Since getOrCreateSlot no longer gets the slot, rename it to CreateSlot. --- Diffs of the changes: (+35 -54) AsmWriter.cpp |

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-08 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.237 - 1.238 --- Log message: Split CreateSlot into two versions, one for globals and one for function-local values --- Diffs of the changes: (+68 -61) AsmWriter.cpp | 129

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-08 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.238 - 1.239 --- Log message: Remove a bunch of complex logic that is completely dead: duplicates can never be inserted! --- Diffs of the changes: (+1 -57) AsmWriter.cpp | 58

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Type.cpp

2007-01-05 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.233 - 1.234 Type.cpp updated: 1.154 - 1.155 --- Log message: Change the syntax for parameter attributes: 1. The @ sign is no longer necessary. 2. We now support function attributes as parameter attribute 0. 3. Instead of locating

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Function.cpp Module.cpp SymbolTable.cpp SymbolTableListTraitsImpl.h TypeSymbolTable.cpp Value.cpp Verifier.cpp

2007-01-05 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.234 - 1.235 Function.cpp updated: 1.108 - 1.109 Module.cpp updated: 1.70 - 1.71 SymbolTable.cpp updated: 1.64 - 1.65 SymbolTableListTraitsImpl.h updated: 1.7 - 1.8 TypeSymbolTable.cpp updated: 1.5 - 1.6 Value.cpp updated: 1.59 -

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-31 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.232 - 1.233 --- Log message: Fix a cut-and-paste bug for processing of InvokeInst parameter attributes. The lookup of parameter attributes was offset by two because of the additional operands in an invoke instruction. --- Diffs

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-30 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.231 - 1.232 --- Log message: For PR950: http://llvm.org/PR950 : * Change integer type name from signed to signless * Implement printing of FunctionType parameter attributes. --- Diffs of the changes: (+49 -16) AsmWriter.cpp |

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-29 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.230 - 1.231 --- Log message: For PR950: http://llvm.org/PR950 : Remove all grammar conflicts from assembly parsing. This change involves: 1. Making the type keyword not a primitive type (removes several reduce/reduce conflicts)

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-19 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.229 - 1.230 --- Log message: Now that ConstantInt::isValueValidForType can handle signed and unsigned values regardless of the signedness of the constant's type, it is okay to always make the AsmWriter.cpp print constant ints as

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Constants.cpp Type.cpp

2006-12-08 Thread Andrew Lenharth
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.228 - 1.229 Constants.cpp updated: 1.183 - 1.184 Type.cpp updated: 1.151 - 1.152 --- Log message: Packed Structures --- Diffs of the changes: (+32 -12) AsmWriter.cpp |8 Constants.cpp |5 ++--- Type.cpp |

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Module.cpp Pass.cpp PassManagerT.h

2006-12-07 Thread Bill Wendling
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.227 - 1.228 Module.cpp updated: 1.68 - 1.69 Pass.cpp updated: 1.75 - 1.76 PassManagerT.h updated: 1.70 - 1.71 --- Log message: Removing even more iostream includes. --- Diffs of the changes: (+37 -41) AsmWriter.cpp |5

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp LeakDetector.cpp PassManager.cpp TypeSymbolTable.cpp Verifier.cpp

2006-12-06 Thread Bill Wendling
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.226 - 1.227 LeakDetector.cpp updated: 1.16 - 1.17 PassManager.cpp updated: 1.33 - 1.34 TypeSymbolTable.cpp updated: 1.4 - 1.5 Verifier.cpp updated: 1.169 - 1.170 --- Log message: Changed llvm_ostream et all to OStream. llvm_cerr,

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.217 - 1.218 --- Log message: wrap long lines --- Diffs of the changes: (+6 -4) AsmWriter.cpp | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.218 - 1.219 --- Log message: clean up some sloppy and inconsistent spacing --- Diffs of the changes: (+46 -46) AsmWriter.cpp | 92 +- 1 files changed, 46 insertions(+),

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.219 - 1.220 --- Log message: rename createSlot - getOrCreateSlot. --- Diffs of the changes: (+19 -21) AsmWriter.cpp | 40 +++- 1 files changed, 19 insertions(+), 21 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.221 - 1.222 --- Log message: remove more code that was only used by the bc writer --- Diffs of the changes: (+2 -90) AsmWriter.cpp | 92 +- 1 files changed, 2

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.223 - 1.224 --- Log message: The hasSlot methods are gone. Remove the 'PrintName' argument to WriteAsOperand, as it is always true. Only call getOrCreateSlot on things that are valid. --- Diffs of the changes: (+20 -25)

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-12-03 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.216 - 1.217 --- Log message: For PR950: http://llvm.org/PR950 : Implement ICmp/FCmp predicate printing for constant expressions --- Diffs of the changes: (+39 -35) AsmWriter.cpp | 74

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Instruction.cpp

2006-12-02 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.214 - 1.215 Instruction.cpp updated: 1.59 - 1.60 --- Log message: Allow the ICmp and FCmp instructions to be written by the AsmWriter --- Diffs of the changes: (+41 -0) AsmWriter.cpp | 39

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp AutoUpgrade.cpp LeakDetector.cpp PassManager.cpp TypeSymbolTable.cpp Verifier.cpp

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.213 - 1.214 AutoUpgrade.cpp updated: 1.21 - 1.22 LeakDetector.cpp updated: 1.15 - 1.16 PassManager.cpp updated: 1.32 - 1.33 TypeSymbolTable.cpp updated: 1.3 - 1.4 Verifier.cpp updated: 1.167 - 1.168 --- Log message: Changed to

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-11-02 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.211 - 1.212 --- Log message: For PR786: http://llvm.org/PR786 : Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-10-27 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.210 - 1.211 --- Log message: Make the Value and Type methods print a newline so it prints nicely in gdb --- Diffs of the changes: (+2 -2) AsmWriter.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-10-22 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.209 - 1.210 --- Log message: Change keyword to datalayout --- Diffs of the changes: (+1 -1) AsmWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp ConstantFolding.cpp Constants.cpp Instructions.cpp Type.cpp Verifier.cpp

2006-10-20 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.208 - 1.209 ConstantFolding.cpp updated: 1.93 - 1.94 Constants.cpp updated: 1.164 - 1.165 Instructions.cpp updated: 1.42 - 1.43 Type.cpp updated: 1.147 - 1.148 Verifier.cpp updated: 1.164 - 1.165 --- Log message: For PR950:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-10-17 Thread Owen Anderson
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.207 - 1.208 --- Log message: Add support for the new target data information in .ll files. This provides a better encoding of the targets data layout, rather than trying to guess it from the endianness and pointersize like

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-09-28 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.206 - 1.207 --- Log message: simplify code --- Diffs of the changes: (+1 -1) AsmWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-09-20 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.205 - 1.206 --- Log message: Adding codegeneration for StdCall FastCall calling conventions --- Diffs of the changes: (+9 -3) AsmWriter.cpp | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Mangler.cpp Verifier.cpp

2006-09-14 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.204 - 1.205 Mangler.cpp updated: 1.29 - 1.30 Verifier.cpp updated: 1.162 - 1.163 --- Log message: Adding dllimport, dllexport and external weak linkage types. DLL* linkages got full (I hope) codegeneration support in C both x86

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Verifier.cpp

2006-08-27 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.202 - 1.203 Verifier.cpp updated: 1.161 - 1.162 --- Log message: eliminate RegisterOpt. It does the same thing as RegisterPass. --- Diffs of the changes: (+3 -3) AsmWriter.cpp |4 ++-- Verifier.cpp |2 +- 2 files

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-08-21 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.201 - 1.202 --- Log message: Fix PR885: http://llvm.org/PR885 --- Diffs of the changes: (+4 -4) AsmWriter.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-05-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.198 - 1.199 --- Log message: Asmprint csret nicely --- Diffs of the changes: (+1 -0) AsmWriter.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u llvm/lib/VMCore/AsmWriter.cpp:1.198

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-05-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.199 - 1.200 --- Log message: pretty print csretcc for calls --- Diffs of the changes: (+2 -0) AsmWriter.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-05-19 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.200 - 1.201 --- Log message: Print csretcc calls like this: call csretcc void %structret( { sbyte }* %P ) instead of this: callcsretcc void %structret( { sbyte }* %P ) --- Diffs of the changes: (+8 -8)

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-05-14 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.197 - 1.198 --- Log message: inverted logic, caught by coverity --- Diffs of the changes: (+1 -1) AsmWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-03-01 Thread Evan Cheng
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.194 - 1.195 --- Log message: AsmWriter should not print LLVM constant in comment. Assembler won't like multi-line comments. --- Diffs of the changes: (+0 -4) AsmWriter.cpp |4 1 files changed, 4 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-02-26 Thread Jim Laskey
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.192 - 1.193 --- Log message: Reverting. Didn't realize some developers were embedding constants in their target assembler code gen. --- Diffs of the changes: (+1 -9) AsmWriter.cpp | 10 +- 1 files changed, 1

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2006-02-25 Thread Jim Laskey
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.191 - 1.192 --- Log message: Format large struct constants for readability. --- Diffs of the changes: (+13 -4) AsmWriter.cpp | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp InlineAsm.cpp Module.cpp

2006-01-25 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.189 - 1.190 InlineAsm.cpp updated: 1.1 - 1.2 Module.cpp updated: 1.63 - 1.64 --- Log message: Change inline asms to be uniqued like constants, not embedded in a Module. --- Diffs of the changes: (+6 -43) AsmWriter.cpp |4

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp InlineAsm.cpp

2006-01-25 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.190 - 1.191 InlineAsm.cpp updated: 1.2 - 1.3 --- Log message: Print InlineAsm objects --- Diffs of the changes: (+27 -9) AsmWriter.cpp | 16 InlineAsm.cpp | 20 +++- 2 files changed, 27

  1   2   >