[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-11-28-Memcpy.ll

2006-11-29 Thread Evan Cheng


Changes in directory llvm/test/Regression/CodeGen/X86:

2006-11-28-Memcpy.ll updated: 1.2 - 1.3
---
Log message:

Fix test.

---
Diffs of the changes:  (+1 -3)

 2006-11-28-Memcpy.ll |4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


Index: llvm/test/Regression/CodeGen/X86/2006-11-28-Memcpy.ll
diff -u llvm/test/Regression/CodeGen/X86/2006-11-28-Memcpy.ll:1.2 
llvm/test/Regression/CodeGen/X86/2006-11-28-Memcpy.ll:1.3
--- llvm/test/Regression/CodeGen/X86/2006-11-28-Memcpy.ll:1.2   Tue Nov 28 
23:19:32 2006
+++ llvm/test/Regression/CodeGen/X86/2006-11-28-Memcpy.ll   Wed Nov 29 
02:22:59 2006
@@ -1,10 +1,8 @@
 ; RUN: llvm-as  %s | llc -march=x86 
-; RUN: llvm-as  %s | llc -march=x86 | grep 3721182122 | wc -l | grep 1 
+; RUN: llvm-as  %s | llc -march=x86 | grep 3721182122 | wc -l | grep 2 
 ; RUN: llvm-as  %s | llc -march=x86 | grep 'movl _bytes2' | wc -l | grep 1
 ; PR1022, 1023
 
-; XFAIL: *
-
 %fmt = constant [4 x sbyte] c%x\0A\00
 %bytes = constant [4 x sbyte] c\AA\BB\CC\DD
 %bytes2 = global [4 x sbyte] c\AA\BB\CC\DD



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/rdtsc.ll

2006-11-29 Thread Evan Cheng


Changes in directory llvm/test/Regression/CodeGen/X86:

rdtsc.ll updated: 1.3 - 1.4
---
Log message:

Add x86-64 llvm.readcyclecounter test.

---
Diffs of the changes:  (+2 -1)

 rdtsc.ll |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/test/Regression/CodeGen/X86/rdtsc.ll
diff -u llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.3 
llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.4
--- llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.3   Sun Nov 20 15:46:52 2005
+++ llvm/test/Regression/CodeGen/X86/rdtsc.ll   Wed Nov 29 02:29:59 2006
@@ -1,4 +1,5 @@
-; RUN: llvm-as  %s | llc -march=x86 | grep rdtsc
+; RUN: llvm-as  %s | llc -march=x86 | grep rdtsc 
+; RUN: llvm-as  %s | llc -march=x86-64 | grep rdtsc
 
 declare ulong %llvm.readcyclecounter()
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86InstrInfo.td

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.295 - 1.296
X86InstrInfo.td updated: 1.294 - 1.295
---
Log message:

Custom lower READCYCLECOUNTER for x86-64.

---
Diffs of the changes:  (+22 -12)

 X86ISelLowering.cpp |   26 --
 X86InstrInfo.td |8 ++--
 2 files changed, 22 insertions(+), 12 deletions(-)


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.295 
llvm/lib/Target/X86/X86ISelLowering.cpp:1.296
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.295   Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Wed Nov 29 02:28:13 2006
@@ -4728,12 +4728,26 @@
   Ops.push_back(Op.getOperand(0));
   SDOperand rd = DAG.getNode(X86ISD::RDTSC_DAG, Tys, Ops[0], Ops.size());
   Ops.clear();
-  Ops.push_back(DAG.getCopyFromReg(rd, X86::EAX, MVT::i32, rd.getValue(1)));
-  Ops.push_back(DAG.getCopyFromReg(Ops[0].getValue(1), X86::EDX,
-   MVT::i32, Ops[0].getValue(2)));
-  Ops.push_back(Ops[1].getValue(1));
-  Tys[0] = Tys[1] = MVT::i32;
-  Tys.push_back(MVT::Other);
+  if (Subtarget-is64Bit()) {
+SDOperand Copy1 = DAG.getCopyFromReg(rd, X86::RAX, MVT::i64, 
rd.getValue(1));
+SDOperand Copy2 = DAG.getCopyFromReg(Copy1.getValue(1), X86::RDX,
+ MVT::i64, Copy1.getValue(2));
+SDOperand Tmp = DAG.getNode(ISD::SHL, MVT::i64, Copy2,
+DAG.getConstant(32, MVT::i8));
+Ops.push_back(DAG.getNode(ISD::OR, MVT::i64, Copy1, Tmp));
+Ops.push_back(Copy2.getValue(1));
+Tys[0] = MVT::i64;
+Tys[1] = MVT::Other;
+  } else {
+SDOperand Copy1 = DAG.getCopyFromReg(rd, X86::EAX, MVT::i32, 
rd.getValue(1));
+SDOperand Copy2 = DAG.getCopyFromReg(Copy1.getValue(1), X86::EDX,
+ MVT::i32, Copy1.getValue(2));
+Ops.push_back(Copy1);
+Ops.push_back(Copy2);
+Ops.push_back(Copy2.getValue(1));
+Tys[0] = Tys[1] = MVT::i32;
+Tys.push_back(MVT::Other);
+  }
   return DAG.getNode(ISD::MERGE_VALUES, Tys, Ops[0], Ops.size());
 }
 


Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.294 
llvm/lib/Target/X86/X86InstrInfo.td:1.295
--- llvm/lib/Target/X86/X86InstrInfo.td:1.294   Fri Nov  3 17:48:55 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td Wed Nov 29 02:28:13 2006
@@ -536,6 +536,8 @@
   [(X86rep_stos i32)],
 Imp[EAX,ECX,EDI], [ECX,EDI], REP;
 
+def RDTSC : I0x31, RawFrm, (ops), rdtsc, [(X86rdtsc)],
+TB, Imp[],[RAX,RDX];
 
 
//===--===//
 //  Input/Output Instructions...
@@ -2397,12 +2399,6 @@
 def CDQ : I0x99, RawFrm, (ops),
 {cltd|cdq}, [], Imp[EAX],[EAX,EDX]; // EDX:EAX = signext(EAX)
   
-//===--===//
-// Miscellaneous Instructions
-//===--===//
-
-def RDTSC : I0x31, RawFrm, (ops), rdtsc, [(X86rdtsc)],
-TB, Imp[],[EAX,EDX];
 
 
//===--===//
 // Alias Instructions



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Jim Laskey


Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.235 - 1.236
---
Log message:

Offset for load of 32-bit arg in 64-bit world was incorrect.

---
Diffs of the changes:  (+4 -1)

 PPCISelLowering.cpp |5 -
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.235 
llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.236
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.235   Tue Nov 28 12:27:02 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Nov 29 07:37:09 2006
@@ -1123,6 +1123,7 @@
 bool needsLoad = false;
 MVT::ValueType ObjectVT = Op.getValue(ArgNo).getValueType();
 unsigned ObjSize = MVT::getSizeInBits(ObjectVT)/8;
+unsigned ArgSize = ObjSize;
 
 unsigned CurArgOffset = ArgOffset;
 switch (ObjectVT) {
@@ -1138,6 +1139,7 @@
 ++GPR_idx;
   } else {
 needsLoad = true;
+ArgSize = PtrByteSize;
   }
   break;
 case MVT::i64:  // PPC64
@@ -1203,7 +1205,8 @@
   // If the argument is actually used, emit a load from the right stack
   // slot.
   if (!Op.Val-hasNUsesOfValue(0, ArgNo)) {
-int FI = MFI-CreateFixedObject(ObjSize, CurArgOffset);
+int FI = MFI-CreateFixedObject(ObjSize,
+CurArgOffset + (ArgSize - ObjSize));
 SDOperand FIN = DAG.getFrameIndex(FI, PtrVT);
 ArgVal = DAG.getLoad(ObjectVT, Root, FIN, NULL, 0);
   } else {



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp

2006-11-29 Thread Jim Laskey


Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.102 - 1.103
---
Log message:

Eliminate unnecessary scopes.

---
Diffs of the changes:  (+27 -21)

 DwarfWriter.cpp |   48 +++-
 1 files changed, 27 insertions(+), 21 deletions(-)


Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.102 
llvm/lib/CodeGen/DwarfWriter.cpp:1.103
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.102  Tue Nov 28 18:39:47 2006
+++ llvm/lib/CodeGen/DwarfWriter.cppWed Nov 29 10:55:57 2006
@@ -1872,7 +1872,8 @@
   /// ConstructScope - Construct the components of a scope.
   ///
   void ConstructScope(DebugScope *ParentScope,
-   DIE *ParentDie, CompileUnit *Unit) {
+  unsigned ParentStartID, unsigned ParentEndID,
+  DIE *ParentDie, CompileUnit *Unit) {
 // Add variables to scope.
 std::vectorDebugVariable * Variables = ParentScope-getVariables();
 for (unsigned i = 0, N = Variables.size(); i  N; ++i) {
@@ -1895,27 +1896,32 @@
   if (StartID == EndID  StartID != 0) continue;
   if (Scope-getScopes().empty()  Scope-getVariables().empty()) 
continue;
   
-  DIE *ScopeDie = new DIE(DW_TAG_lexical_block);
-  
-  // Add the scope bounds.
-  if (StartID) {
-AddLabel(ScopeDie, DW_AT_low_pc, DW_FORM_addr,
-   DWLabel(loc, StartID));
-  } else {
-AddLabel(ScopeDie, DW_AT_low_pc, DW_FORM_addr,
-   DWLabel(func_begin, SubprogramCount));
-  }
-  if (EndID) {
-AddLabel(ScopeDie, DW_AT_high_pc, DW_FORM_addr,
-   DWLabel(loc, EndID));
+  if (StartID == ParentStartID  EndID == ParentEndID) {
+// Just add stuff to the parent scope.
+ConstructScope(Scope, ParentStartID, ParentEndID, ParentDie, Unit);
   } else {
-AddLabel(ScopeDie, DW_AT_high_pc, DW_FORM_addr,
-   DWLabel(func_end, SubprogramCount));
+DIE *ScopeDie = new DIE(DW_TAG_lexical_block);
+
+// Add the scope bounds.
+if (StartID) {
+  AddLabel(ScopeDie, DW_AT_low_pc, DW_FORM_addr,
+ DWLabel(loc, StartID));
+} else {
+  AddLabel(ScopeDie, DW_AT_low_pc, DW_FORM_addr,
+ DWLabel(func_begin, SubprogramCount));
+}
+if (EndID) {
+  AddLabel(ScopeDie, DW_AT_high_pc, DW_FORM_addr,
+ DWLabel(loc, EndID));
+} else {
+  AddLabel(ScopeDie, DW_AT_high_pc, DW_FORM_addr,
+ DWLabel(func_end, SubprogramCount));
+}
+   
+// Add the scope contents.
+ConstructScope(Scope, StartID, EndID, ScopeDie, Unit);
+ParentDie-AddChild(ScopeDie);
   }
- 
-  // Add the scope contents.
-  ConstructScope(Scope, ScopeDie, Unit);
-  ParentDie-AddChild(ScopeDie);
 }
   }
 
@@ -1943,7 +1949,7 @@
 MachineLocation Location(RI-getFrameRegister(*MF));
 AddAddress(SPDie, DW_AT_frame_base, Location);
 
-ConstructScope(RootScope, SPDie, Unit);
+ConstructScope(RootScope, 0, 0, SPDie, Unit);
   }
 
   /// EmitInitial - Emit initial Dwarf declarations.  This is necessary for cc



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-test/External/SPEC/Makefile.spec.config

2006-11-29 Thread Chris Lattner


Changes in directory llvm-test/External/SPEC:

Makefile.spec.config updated: 1.2 - 1.3
---
Log message:

fix spec2k6.  Patch by Reid, thanks!


---
Diffs of the changes:  (+3 -1)

 Makefile.spec.config |4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm-test/External/SPEC/Makefile.spec.config
diff -u llvm-test/External/SPEC/Makefile.spec.config:1.2 
llvm-test/External/SPEC/Makefile.spec.config:1.3
--- llvm-test/External/SPEC/Makefile.spec.config:1.2Tue Nov 28 18:53:46 2006
+++ llvm-test/External/SPEC/Makefile.spec.configWed Nov 29 13:01:00 2006
@@ -27,10 +27,12 @@
 ## something else.
 
 ifndef SPEC_SUBDIR
+ifndef SPEC_SUITEDIR
 SPEC_SUBDIR := $(subst $(shell cd ../..; pwd),,$(CURRENT_DIR))
 SPEC_SUBDIR := $(patsubst /%,%,$(SPEC_SUBDIR))
 else
-SPEC_SUBDIR := $(SPEC_SUBDIR)/$(BENCH_NAME)
+SPEC_SUBDIR := $(SPEC_SUITEDIR)/$(BENCH_NAME)
+endif
 endif
 
 ifndef SPEC_BENCH_DIR



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.420 - 1.421
---
Log message:

Avoid inifinite looping if READCYCLECOUNTER isn't custom lowered.

---
Diffs of the changes:  (+8 -3)

 LegalizeDAG.cpp |   11 ---
 1 files changed, 8 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.420 
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.421
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.420 Wed Nov 29 02:26:18 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp   Wed Nov 29 13:13:47 2006
@@ -1850,16 +1850,21 @@
 switch (TLI.getOperationAction(ISD::READCYCLECOUNTER,
Node-getValueType(0))) {
 default: assert(0  This action is not supported yet!);
-case TargetLowering::Legal: break;
+case TargetLowering::Legal:
+  Tmp1 = Result.getValue(0);
+  Tmp2 = Result.getValue(1);
+  break;
 case TargetLowering::Custom:
   Result = TLI.LowerOperation(Result, DAG);
+  Tmp1 = LegalizeOp(Result.getValue(0));
+  Tmp2 = LegalizeOp(Result.getValue(1));
   break;
 }
 
 // Since rdcc produce two values, make sure to remember that we legalized
 // both of them.
-AddLegalizedOperand(SDOperand(Node, 0), LegalizeOp(Result.getValue(0)));
-AddLegalizedOperand(SDOperand(Node, 1), LegalizeOp(Result.getValue(1)));
+AddLegalizedOperand(SDOperand(Node, 0), Tmp1);
+AddLegalizedOperand(SDOperand(Node, 1), Tmp2);
 return Result;
 
   case ISD::SELECT:



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/

2006-11-29 Thread LLVM


Changes in directory llvm-www/poll:

---
Log message:

Directory /var/cvs/llvm/llvm-www/poll added to the repository


---
Diffs of the changes:  (+0 -0)

 0 files changed



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/inc/

2006-11-29 Thread LLVM


Changes in directory llvm-www/poll/inc:

---
Log message:

Directory /var/cvs/llvm/llvm-www/poll/inc added to the repository


---
Diffs of the changes:  (+0 -0)

 0 files changed



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/languages/

2006-11-29 Thread LLVM


Changes in directory llvm-www/poll/languages:

---
Log message:

Directory /var/cvs/llvm/llvm-www/poll/languages added to the repository


---
Diffs of the changes:  (+0 -0)

 0 files changed



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/languages/language.en.inc.php

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll/languages:

language.en.inc.php added (r1.1)
---
Log message:

LLVM Conference Poll.


---
Diffs of the changes:  (+48 -0)

 language.en.inc.php |   48 
 1 files changed, 48 insertions(+)


Index: llvm-www/poll/languages/language.en.inc.php
diff -c /dev/null llvm-www/poll/languages/language.en.inc.php:1.1
*** /dev/null   Wed Nov 29 13:29:17 2006
--- llvm-www/poll/languages/language.en.inc.php Wed Nov 29 13:29:07 2006
***
*** 0 
--- 1,48 
+ ?php
+ 
+   /*
+   ** Title: Language File
+   ** Filename.: language.en.inc.php (English)
+   ** Author...: Ralf Stadtaus
+   ** Homepage.: http://www.stadtaus.com/
+   ** Contact..: mailto:[EMAIL PROTECTED]
+   ** Version..: 0.4
+   ** Notes: If you have translated this language
+   **file we would be happy if you could
+   **send us the file.
+   ** Last changed.: 2004-01-20
+   ** Last change..:   
+   */
+ 
+ 
+ 
+   $txt = array (
+ 
+ 
+'txt_charset'  = 'iso-8859-1',
+'txt_problems' = 'pstrongRun into 
problems?/strong Script documentation and instructions: a 
href=./docu/index.html target=_blank./docu/index.html/a/ppGet 
answers to your questions in the a href=http://www.stadtaus.com/forum/; 
target=_blanksupport forum/a on the website of the a 
href=http://www.stadtaus.com/en/; target=_blank{txt_script_name}/a at 
STADTAUS.com./p',
+'txt_set_off_note' = 
'strongNote:/strong Once the script configuration have been finished you 
can set off the system messages (index.php - i$show_error_messages/i).',
+'txt_system_message'   = 'System Message',
+'txt_wrong_template_path'  = 'The HTML template 
directory could not be found. Please enter the correct directory path in 
index.php - i$path[\'templates\']/i.',
+'txt_wrong_templates'  = 'Following HTML 
template(s) could not be found. Please make sure the file(s) exist(s) in the 
template folder or correct the file name(s) in index.php - 
i$tmpl[\'...\']/i.',
+'txt_wrong_form_type'  = 'The form field type 
setting in file iindex.php/i is not correct. Only allowed are the options 
radio and select and radio_image.',
+
+'txt_allow_cookie_setting' = 'Please make sure 
your browsers accepts Cookies. If not, you cannot vote.',
+'txt_already_voted'= 'You have already 
voted.',
+'txt_decimals_separator'   = '.',
+'txt_display_form' = 'Vote form',
+'txt_display_results'  = 'Display results',
+'txt_empty_intern_vote_name'   = 'No voting has been 
selected.',
+'txt_rating'   = 'Rating',
+'txt_submit'   = 'Vote',
+'txt_thanks'   = 'Thanks for voting.',
+'txt_thousends_separator'  = ',',
+'txt_total_votes'  = 'Total votes'
+ 
+ 
+ 
+);
+ 
+ 
+ 
+ ?
\ No newline at end of file



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/attendance.php content1.php content2.php content3.php index.html interest.php month.php paper.php provide.php thanks.html venue.php vote.details.php voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

attendance.php added (r1.1)
content1.php added (r1.1)
content2.php added (r1.1)
content3.php added (r1.1)
index.html added (r1.1)
interest.php added (r1.1)
month.php added (r1.1)
paper.php added (r1.1)
provide.php added (r1.1)
thanks.html added (r1.1)
venue.php added (r1.1)
vote.details.php added (r1.1)
voting.tpl.html added (r1.1)
---
Log message:

LLVM Conference Poll.


---
Diffs of the changes:  (+320 -0)

 attendance.php   |   15 
 content1.php |   22 ++
 content2.php |   22 ++
 content3.php |   22 ++
 index.html   |   28 +++
 interest.php |   17 ++
 month.php|   20 
 paper.php|   16 +
 provide.php  |   22 ++
 thanks.html  |   13 ++
 venue.php|   21 +
 vote.details.php |   36 ++
 voting.tpl.html  |   66 +++
 13 files changed, 320 insertions(+)


Index: llvm-www/poll/attendance.php
diff -c /dev/null llvm-www/poll/attendance.php:1.1
*** /dev/null   Wed Nov 29 13:29:17 2006
--- llvm-www/poll/attendance.phpWed Nov 29 13:29:07 2006
***
*** 0 
--- 1,15 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   */
+   $vote_title   = 'Attendance';
+   $vote_text= 'Are you likely to attend a 2007 LLVM Conference?';
+   $vote_option[]= 'Yes';
+   $vote_option[]= 'No';
+   $intern_vote_name = 'attendance';
+   $next_page= 'venue.php';
+   $next_question= 'Venue';
+   include('./vote.details.php');
+ ?


Index: llvm-www/poll/content1.php
diff -c /dev/null llvm-www/poll/content1.php:1.1
*** /dev/null   Wed Nov 29 13:29:24 2006
--- llvm-www/poll/content1.php  Wed Nov 29 13:29:07 2006
***
*** 0 
--- 1,22 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   */
+   $vote_title   = 'First Content Choice';
+   $vote_text= 'What would be you first choice for conference 
content?';
+   $vote_option[]= 'Paper/presentation on LLVM';
+   $vote_option[]= 'Paper/presentation on compiler technology';
+   $vote_option[]= 'Paper/Presentation on using LLVM';
+   $vote_option[]= 'Tutorial on using LLVM';
+   $vote_option[]= 'Tutorial on developing LLVM (extension or 
maintenance)';
+   $vote_option[]= 'Tutorial on compiler optimization';
+   $vote_option[]= 'LLVM help session';
+   $vote_option[]= 'LLVM workshop (plan LLVM future)';
+   $vote_option[]= 'LLVM workshop (resolve current issues)';
+   $intern_vote_name = 'content1';
+   $next_page= 'content2.php';
+   $next_question= 'Second Content Choice';
+   include('./vote.details.php');
+ ?


Index: llvm-www/poll/content2.php
diff -c /dev/null llvm-www/poll/content2.php:1.1
*** /dev/null   Wed Nov 29 13:29:24 2006
--- llvm-www/poll/content2.php  Wed Nov 29 13:29:07 2006
***
*** 0 
--- 1,22 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   */
+   $vote_title   = 'Second Content Choice';
+   $vote_text= 'What would be you second choice for conference 
content?';
+   $vote_option[]= 'Paper/presentation on LLVM';
+   $vote_option[]= 'Paper/presentation on compiler technology';
+   $vote_option[]= 'Paper/Presentation on using LLVM';
+   $vote_option[]= 'Tutorial on using LLVM';
+   $vote_option[]= 'Tutorial on developing LLVM (extension or 
maintenance)';
+   $vote_option[]= 'Tutorial on compiler optimization';
+   $vote_option[]= 'LLVM help session';
+   $vote_option[]= 'LLVM workshop (plan LLVM future)';
+   $vote_option[]= 'LLVM workshop (resolve current issues)';
+   $intern_vote_name = 'content2';
+   $next_page= 'content3.php';
+   $next_question= 'Third Content Choice';
+   include('./vote.details.php');
+ ?


Index: llvm-www/poll/content3.php
diff -c /dev/null llvm-www/poll/content3.php:1.1
*** /dev/null   Wed Nov 29 13:29:24 2006
--- llvm-www/poll/content3.php  Wed Nov 29 13:29:07 2006
***
*** 0 
--- 1,22 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take 

[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.1 - 1.2
---
Log message:

Update template to LLVM web site standard.


---
Diffs of the changes:  (+36 -66)

 voting.tpl.html |  102 +++-
 1 files changed, 36 insertions(+), 66 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.1 llvm-www/poll/voting.tpl.html:1.2
--- llvm-www/poll/voting.tpl.html:1.1   Wed Nov 29 13:29:07 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:33:09 2006
@@ -1,66 +1,36 @@
-!doctype html public -//W3C//DTD XHTML 1.0 Transitional//EN
-http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
-html xmlns=http://www.w3.org/1999/xhtml;
-  head
-title{vote_title} - {txt_script_name} {txt_script_version}/title
-meta http-equiv=Content-Type content=text/html; charset={txt_charset} 
/
-style type=text/css
-!--
-
-  h3, p, body, td {
-  font-family:Arial, Helvetica, Sans-serif;
-  }
-
-  #poweredby {
-  text-align:center;
-  }
-
---
-/style
-  /head
-
-  body
-
-h3{vote_title}/h3
-
-p
-  {vote_text}
-
-  IF NAME=display_link
-(a href={document_self}{txt_display_form}/a)
-  /IF NAME=display_link
-/p
-
-
-IF NAME=display_results
-  table border=0 cellspacing=3 cellpadding=1
-LOOP NAME=vote_result
-  tr
-td{vote_option}/td
-tdimg src=./templates/images_voting/{bar_image_name} 
height=15 width={bar_width} alt= border=0/td
-tdnbsp;nbsp;nbsp;{vote_number}/td
-tdnbsp;nbsp;nbsp;{relation} %/td
-  /tr
-/LOOP NAME=vote_result
-  /table
-
-  p{txt_total_votes}: {total_votes}/p
-
-/IF NAME=display_results
-p
-  LOOP NAME=message
-strong{message}/strongbr /
-  /LOOP NAME=message
-/p
-
-
-IF NAME=display_form
-  form name=vote action={script_self} method=post
-{vote_form_fields}
-pinput type=submit name=send 
value={txt_submit}nbsp;nbsp;nbsp;(a 
href={document_self}?result=true{txt_display_results}/a)/p
-  /form
-/IF NAME=display_form
-
-pNext Question: a href={txt_next_page}{txt_next_question}/a/p
- /body
-/html
+!--#include virtual=../header.incl --
+div class=www_sectiontitle{vote_title}/div
+div class=www_text
+p
+  {vote_text}
+  IF NAME=display_link
+(a href={document_self}{txt_display_form}/a)
+  /IF NAME=display_link
+/p
+IF NAME=display_results
+  table border=0 cellspacing=3 cellpadding=1
+LOOP NAME=vote_result
+  tr
+td{vote_option}/td
+tdimg src=./templates/images_voting/{bar_image_name} height=15 
width={bar_width} alt= border=0/td
+tdnbsp;nbsp;nbsp;{vote_number}/td
+tdnbsp;nbsp;nbsp;{relation} %/td
+  /tr
+/LOOP NAME=vote_result
+  /table
+  p{txt_total_votes}: {total_votes}/p
+/IF NAME=display_results
+p
+  LOOP NAME=message
+strong{message}/strongbr /
+  /LOOP NAME=message
+/p
+IF NAME=display_form
+  form name=vote action={script_self} method=post
+{vote_form_fields}
+pinput type=submit name=send 
value={txt_submit}nbsp;nbsp;nbsp;(a 
href={document_self}?result=true{txt_display_results}/a)/p
+  /form
+/IF NAME=display_form
+pNext Question: a href={txt_next_page}{txt_next_question}/a/p
+/div
+!--#include virtual=../header.incl --



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/logs/

2006-11-29 Thread LLVM


Changes in directory llvm-www/poll/logs:

---
Log message:

Directory /var/cvs/llvm/llvm-www/poll/logs added to the repository


---
Diffs of the changes:  (+0 -0)

 0 files changed



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.2 - 1.3
---
Log message:

Don't use relative links.


---
Diffs of the changes:  (+2 -2)

 voting.tpl.html |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.2 llvm-www/poll/voting.tpl.html:1.3
--- llvm-www/poll/voting.tpl.html:1.2   Wed Nov 29 13:33:09 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:34:03 2006
@@ -1,4 +1,4 @@
-!--#include virtual=../header.incl --
+!--#include virtual=/header.incl --
 div class=www_sectiontitle{vote_title}/div
 div class=www_text
 p
@@ -33,4 +33,4 @@
 /IF NAME=display_form
 pNext Question: a href={txt_next_page}{txt_next_question}/a/p
 /div
-!--#include virtual=../header.incl --
+!--#include virtual=/header.incl --



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.3 - 1.4
---
Log message:

Okay, try relative links two levels up.


---
Diffs of the changes:  (+2 -2)

 voting.tpl.html |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.3 llvm-www/poll/voting.tpl.html:1.4
--- llvm-www/poll/voting.tpl.html:1.3   Wed Nov 29 13:34:03 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:38:00 2006
@@ -1,4 +1,4 @@
-!--#include virtual=/header.incl --
+!--#include virtual=../../header.incl --
 div class=www_sectiontitle{vote_title}/div
 div class=www_text
 p
@@ -33,4 +33,4 @@
 /IF NAME=display_form
 pNext Question: a href={txt_next_page}{txt_next_question}/a/p
 /div
-!--#include virtual=/header.incl --
+!--#include virtual=../../header.incl --



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.5 - 1.6
---
Log message:

Table width matters.


---
Diffs of the changes:  (+1 -1)

 voting.tpl.html |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.5 llvm-www/poll/voting.tpl.html:1.6
--- llvm-www/poll/voting.tpl.html:1.5   Wed Nov 29 13:41:02 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:42:55 2006
@@ -119,7 +119,7 @@
 Lattner/a/span
 
 /td
-td valign=top
+td valign=top width=64%
 div class=www_sectiontitle{vote_title}/div
 div class=www_text
 p



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.7 - 1.8
---
Log message:

Adjust widths.


---
Diffs of the changes:  (+2 -2)

 voting.tpl.html |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.7 llvm-www/poll/voting.tpl.html:1.8
--- llvm-www/poll/voting.tpl.html:1.7   Wed Nov 29 13:44:10 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:45:22 2006
@@ -15,7 +15,7 @@
 
 table width=100% border=0 cellpadding=10
 tr
-td valign=top align=center width=36%
+td valign=top align=center width=18%
 
 bSite Map:/b
 div class=www_sidebar
@@ -119,7 +119,7 @@
 Lattner/a/span
 
 /td
-td valign=top width=64%
+td valign=top width=82%
 div class=www_sectiontitle{vote_title}/div
 div class=www_text
 p



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.8 - 1.9
---
Log message:

Okay, forget the columns.


---
Diffs of the changes:  (+1 -108)

 voting.tpl.html |  109 
 1 files changed, 1 insertion(+), 108 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.8 llvm-www/poll/voting.tpl.html:1.9
--- llvm-www/poll/voting.tpl.html:1.8   Wed Nov 29 13:45:22 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:48:50 2006
@@ -12,114 +12,6 @@
 div class=www_title
   The strongLLVM/strong Compiler Infrastructure
 /div
-
-table width=100% border=0 cellpadding=10
-tr
-td valign=top align=center width=18%
-
-bSite Map:/b
-div class=www_sidebar
-a href=/Overview/abr
-a href=/Features.htmlFeatures/abr
-a href=/docs/Documentation/abr
-a href=/docs/CommandGuide/Command Guide/abr
-a href=/docs/#maillistSupport/abr
-a href=/docs/FAQ.htmlFAQ/abr
-a href=/pubs/Publications/abr
-a href=/ProjectsWithLLVM/LLVMnbsp;Projects/abr
-a href=/OpenProjects.htmlOpennbsp;Projects/abr
-a href=/developers.cgiLLVMnbsp;People/abr
-a href=/bugs/Bugnbsp;Database/abr
-/div
-
-br
-
-bDownload!/b
-div class=www_sidebar
-span style=font-size:smallerDownload now:/span
-a href=/releases/bLLVMnbsp;1.9/b/abr
-
-br
-span style=font-size:smallerTry the/spanbr
-a href=/demo/bonline demo/b/abr
-br
-
-span style=font-size:smallerView the open-source/spanbr
-a href=/releases/1.9/LICENSE.TXTblicense/b/a
-/div
-
-br
-
-bSearchnbsp;thisnbsp;Site/b
-
-div class=www_sidebar
-  form action=http://www.google.com/search; method=get
-  input type=hidden name=sitesearch value=llvm.org
-  input type=text name=q size=11br
-  input type=submit value=Search! name=submit
-/form
-/div
-
-br
-
-bStatusnbsp;Updates/b
-div class=www_sidebar
-  span style=font-size:smaller
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-November/20.html;Nov
 19, 2006/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-August/19.html;Aug
 9, 2006/abr   
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-April/18.html;Apr
 20, 2006/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-November/17.html;Nov
 8, 2005/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-May/16.html;May
 18, 2005/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-February/15.html;February
 14, 2005/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-December/13.html;December
 9, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-October/12.html;October
 11, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-August/11.html;August
 13, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-July/10.html;July
 12, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-June/09.html;June
 9, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-May/08.html;May
 6, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-March/06.html;March
 19, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-February/05.html;February
 6, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2003-December/04.html;December
 17, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2003-November/03.html;November
 18, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-October/000501.html;October
 7, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-September/000489.html;September
 10, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-August/000448.html;August
 15, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-June/000416.html;June 
26, 2003/abr
-  a href=/OldNews.htmlOlder News/abr
-  /span
-/div
-
-br
-
-bUsefulnbsp;Links/b
-div class=www_sidebar
-  span style=font-size:smallerMailing Lists:/spanbr
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-announce;LLVM-announce/abr
-  a href=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev;LLVM-dev/abr
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs;LLVM-bugs/abr
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits;LLVM-commits/a
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-testresults;LLVM-testresults/a
-  brbr
-
-  span style=font-size:smallerIRC Channel:/spanbr
-  a href=/docs/#ircirc.oftc.net #llvm/a
-
-  brbr
-
-  span style=font-size:smallerDev. Resources:/spanbr
-  a href=/doxygen/doxygen/a
-  a href=/cvsweb/cvsweb.cgi/llvmcvsweb/abr
-  a href=/nightlytest/Nightly Tester/abr
-  a href=/bugs/LLVM Bugzilla/a
-/div
-
-br
-
-span style=font-size:smallerMaintained by:br a href=mailto:[EMAIL 
PROTECTED]Chris
-Lattner/a/span
-
-/td
-td valign=top width=82%
 div 

[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.6 - 1.7
---
Log message:

One more time on the widths.


---
Diffs of the changes:  (+160 -160)

 voting.tpl.html |  320 
 1 files changed, 160 insertions(+), 160 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.6 llvm-www/poll/voting.tpl.html:1.7
--- llvm-www/poll/voting.tpl.html:1.6   Wed Nov 29 13:42:55 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:44:10 2006
@@ -1,160 +1,160 @@
-!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
-  http://www.w3.org/TR/html4/strict.dtd;
-html
-head
-  meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
-  titleThe LLVM Compiler Infrastructure Project/title
-  link rel=stylesheet href=/llvm.css type=text/css
-/head
-
-body style=margin-left:0;
-
-div class=www_title
-  The strongLLVM/strong Compiler Infrastructure
-/div
-
-table width=100% border=0 cellpadding=10
-tr
-td valign=top align=center
-
-bSite Map:/b
-div class=www_sidebar
-a href=/Overview/abr
-a href=/Features.htmlFeatures/abr
-a href=/docs/Documentation/abr
-a href=/docs/CommandGuide/Command Guide/abr
-a href=/docs/#maillistSupport/abr
-a href=/docs/FAQ.htmlFAQ/abr
-a href=/pubs/Publications/abr
-a href=/ProjectsWithLLVM/LLVMnbsp;Projects/abr
-a href=/OpenProjects.htmlOpennbsp;Projects/abr
-a href=/developers.cgiLLVMnbsp;People/abr
-a href=/bugs/Bugnbsp;Database/abr
-/div
-
-br
-
-bDownload!/b
-div class=www_sidebar
-span style=font-size:smallerDownload now:/span
-a href=/releases/bLLVMnbsp;1.9/b/abr
-
-br
-span style=font-size:smallerTry the/spanbr
-a href=/demo/bonline demo/b/abr
-br
-
-span style=font-size:smallerView the open-source/spanbr
-a href=/releases/1.9/LICENSE.TXTblicense/b/a
-/div
-
-br
-
-bSearchnbsp;thisnbsp;Site/b
-
-div class=www_sidebar
-  form action=http://www.google.com/search; method=get
-  input type=hidden name=sitesearch value=llvm.org
-  input type=text name=q size=11br
-  input type=submit value=Search! name=submit
-/form
-/div
-
-br
-
-bStatusnbsp;Updates/b
-div class=www_sidebar
-  span style=font-size:smaller
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-November/20.html;Nov
 19, 2006/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-August/19.html;Aug
 9, 2006/abr   
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-April/18.html;Apr
 20, 2006/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-November/17.html;Nov
 8, 2005/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-May/16.html;May
 18, 2005/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-February/15.html;February
 14, 2005/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-December/13.html;December
 9, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-October/12.html;October
 11, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-August/11.html;August
 13, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-July/10.html;July
 12, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-June/09.html;June
 9, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-May/08.html;May
 6, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-March/06.html;March
 19, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-February/05.html;February
 6, 2004/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2003-December/04.html;December
 17, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2003-November/03.html;November
 18, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-October/000501.html;October
 7, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-September/000489.html;September
 10, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-August/000448.html;August
 15, 2003/abr
-  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-June/000416.html;June 
26, 2003/abr
-  a href=/OldNews.htmlOlder News/abr
-  /span
-/div
-
-br
-
-bUsefulnbsp;Links/b
-div class=www_sidebar
-  span style=font-size:smallerMailing Lists:/spanbr
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-announce;LLVM-announce/abr
-  a href=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev;LLVM-dev/abr
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs;LLVM-bugs/abr
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits;LLVM-commits/a
-  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-testresults;LLVM-testresults/a
-  brbr
-
-  span style=font-size:smallerIRC Channel:/spanbr
-  a href=/docs/#ircirc.oftc.net #llvm/a
-
-  brbr
-
-  span style=font-size:smallerDev. Resources:/spanbr

[llvm-commits] CVS: llvm-www/poll/index.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

index.html updated: 1.1 - 1.2
---
Log message:

Fix a typo.


---
Diffs of the changes:  (+1 -1)

 index.html |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-www/poll/index.html
diff -u llvm-www/poll/index.html:1.1 llvm-www/poll/index.html:1.2
--- llvm-www/poll/index.html:1.1Wed Nov 29 13:29:07 2006
+++ llvm-www/poll/index.htmlWed Nov 29 13:50:34 2006
@@ -21,7 +21,7 @@
   lia href=content1.phpFirst Content Choice/a/li
   lia href=content2.phpSecond Content Choice/a/li
   lia href=content3.phpThird Content Choice/a/li
-  lia href=provide.phpProviding COntent/a/li
+  lia href=provide.phpProviding Content/a/li
 /ol
 /div
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/index.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

index.html updated: 1.2 - 1.3
---
Log message:

Make this a little more terse.


---
Diffs of the changes:  (+4 -8)

 index.html |   12 
 1 files changed, 4 insertions(+), 8 deletions(-)


Index: llvm-www/poll/index.html
diff -u llvm-www/poll/index.html:1.2 llvm-www/poll/index.html:1.3
--- llvm-www/poll/index.html:1.2Wed Nov 29 13:50:34 2006
+++ llvm-www/poll/index.htmlWed Nov 29 13:52:07 2006
@@ -5,14 +5,10 @@
 pThe LLVM Oversight team is considering organizing an LLVM Conference in 
 2007. We would like to make this a useful meeting for LLVM Developers and 
 Users. In order for the participants to get the most out of it, we need to get
-your feedback on various items. Please use the poll pages below to provide your
-feedback.p
-/div
-div class=www_subsectiontitleLLVM Conference Poll Questions/div
-div class=www_text
-  pHere are links to the questions. We would appreciate it if you would 
answer
-  all of them. You may only vote once. Return to the links below for updates
-  on poll results./p
+your feedback on various items. Please use the poll page links below to 
+provide your feedback.p
+pWe would appreciate it if you would answer all of the questions. You may 
+only vote once. Return to the links below for updates on poll results./p
 ol
   lia href=interest.phpInterest Level/a/li
   lia href=attendance.phpAttendance/a/li



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/content1.php content2.php content3.php provide.php paper.php

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

content1.php updated: 1.1 - 1.2
content2.php updated: 1.1 - 1.2
content3.php updated: 1.1 - 1.2
provide.php updated: 1.1 - 1.2
paper.php (r1.1) removed
---
Log message:

Add an Other field for the content questions.


---
Diffs of the changes:  (+4 -0)

 content1.php |1 +
 content2.php |1 +
 content3.php |1 +
 provide.php  |1 +
 4 files changed, 4 insertions(+)


Index: llvm-www/poll/content1.php
diff -u llvm-www/poll/content1.php:1.1 llvm-www/poll/content1.php:1.2
--- llvm-www/poll/content1.php:1.1  Wed Nov 29 13:29:07 2006
+++ llvm-www/poll/content1.php  Wed Nov 29 13:56:35 2006
@@ -15,6 +15,7 @@
   $vote_option[]= 'LLVM help session';
   $vote_option[]= 'LLVM workshop (plan LLVM future)';
   $vote_option[]= 'LLVM workshop (resolve current issues)';
+  $vote_option[]= 'Other';
   $intern_vote_name = 'content1';
   $next_page= 'content2.php';
   $next_question= 'Second Content Choice';


Index: llvm-www/poll/content2.php
diff -u llvm-www/poll/content2.php:1.1 llvm-www/poll/content2.php:1.2
--- llvm-www/poll/content2.php:1.1  Wed Nov 29 13:29:07 2006
+++ llvm-www/poll/content2.php  Wed Nov 29 13:56:35 2006
@@ -15,6 +15,7 @@
   $vote_option[]= 'LLVM help session';
   $vote_option[]= 'LLVM workshop (plan LLVM future)';
   $vote_option[]= 'LLVM workshop (resolve current issues)';
+  $vote_option[]= 'Other';
   $intern_vote_name = 'content2';
   $next_page= 'content3.php';
   $next_question= 'Third Content Choice';


Index: llvm-www/poll/content3.php
diff -u llvm-www/poll/content3.php:1.1 llvm-www/poll/content3.php:1.2
--- llvm-www/poll/content3.php:1.1  Wed Nov 29 13:29:07 2006
+++ llvm-www/poll/content3.php  Wed Nov 29 13:56:35 2006
@@ -15,6 +15,7 @@
   $vote_option[]= 'LLVM help session';
   $vote_option[]= 'LLVM workshop (plan LLVM future)';
   $vote_option[]= 'LLVM workshop (resolve current issues)';
+  $vote_option[]= 'Other';
   $intern_vote_name = 'content3';
   $next_page= 'provide.php';
   $next_question= 'Providing Content';


Index: llvm-www/poll/provide.php
diff -u llvm-www/poll/provide.php:1.1 llvm-www/poll/provide.php:1.2
--- llvm-www/poll/provide.php:1.1   Wed Nov 29 13:29:07 2006
+++ llvm-www/poll/provide.php   Wed Nov 29 13:56:35 2006
@@ -15,6 +15,7 @@
   $vote_option[]= 'LLVM help session';
   $vote_option[]= 'LLVM workshop (plan LLVM future)';
   $vote_option[]= 'LLVM workshop (resolve current issues)';
+  $vote_option[]= 'Other';
   $intern_vote_name = 'provide';
   $next_page= 'thanks.html';
   $next_question= 'Finished';



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Chris Lattner


Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.236 - 1.237
---
Log message:

Fix bug codegen'ing FP constant vectors with integer splats.  Make sure the
created intrinsics have the right integer types.  This fixes
PowerPC/2006-11-29-AltivecFPSplat.ll



---
Diffs of the changes:  (+22 -14)

 PPCISelLowering.cpp |   36 ++--
 1 files changed, 22 insertions(+), 14 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.236 
llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.237
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.236   Wed Nov 29 07:37:09 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Nov 29 13:58:49 2006
@@ -1973,6 +1973,7 @@
   Ops.assign(MVT::getVectorNumElements(CanonicalVT), Elt);
   SDOperand Res = DAG.getNode(ISD::BUILD_VECTOR, CanonicalVT,
   Ops[0], Ops.size());
+  if (VT == MVT::Other) return Res;
   return DAG.getNode(ISD::BIT_CONVERT, VT, Res);
 }
 
@@ -2086,6 +2087,7 @@
   -1, 1, -2, 2, -3, 3, -4, 4, -5, 5, -6, 6, -7, 7,
   -8, 8, -9, 9, -10, 10, -11, 11, -12, 12, -13, 13, 14, -14, 15, -15, -16
 };
+
 for (unsigned idx = 0; idx  sizeof(SplatCsts)/sizeof(SplatCsts[0]); 
++idx){
   // Indirect through the SplatCsts array so that we favor 'vsplti -1' for
   // cases which are ambiguous (e.g. formation of 0x8000_).  'vsplti 
-1'
@@ -2097,43 +2099,47 @@
   
   // vsplti + shl self.
   if (SextVal == (i  (int)TypeShiftAmt)) {
-Op = BuildSplatI(i, SplatSize, Op.getValueType(), DAG);
+SDOperand Res = BuildSplatI(i, SplatSize, MVT::Other, DAG);
 static const unsigned IIDs[] = { // Intrinsic to use for each size.
   Intrinsic::ppc_altivec_vslb, Intrinsic::ppc_altivec_vslh, 0,
   Intrinsic::ppc_altivec_vslw
 };
-return BuildIntrinsicOp(IIDs[SplatSize-1], Op, Op, DAG);
+Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG);
+return DAG.getNode(ISD::BIT_CONVERT, Op.getValueType(), Res);
   }
   
   // vsplti + srl self.
   if (SextVal == (int)((unsigned)i  TypeShiftAmt)) {
-Op = BuildSplatI(i, SplatSize, Op.getValueType(), DAG);
+SDOperand Res = BuildSplatI(i, SplatSize, MVT::Other, DAG);
 static const unsigned IIDs[] = { // Intrinsic to use for each size.
   Intrinsic::ppc_altivec_vsrb, Intrinsic::ppc_altivec_vsrh, 0,
   Intrinsic::ppc_altivec_vsrw
 };
-return BuildIntrinsicOp(IIDs[SplatSize-1], Op, Op, DAG);
+Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG);
+return DAG.getNode(ISD::BIT_CONVERT, Op.getValueType(), Res);
   }
   
   // vsplti + sra self.
   if (SextVal == (int)((unsigned)i  TypeShiftAmt)) {
-Op = BuildSplatI(i, SplatSize, Op.getValueType(), DAG);
+SDOperand Res = BuildSplatI(i, SplatSize, MVT::Other, DAG);
 static const unsigned IIDs[] = { // Intrinsic to use for each size.
   Intrinsic::ppc_altivec_vsrab, Intrinsic::ppc_altivec_vsrah, 0,
   Intrinsic::ppc_altivec_vsraw
 };
-return BuildIntrinsicOp(IIDs[SplatSize-1], Op, Op, DAG);
+Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG);
+return DAG.getNode(ISD::BIT_CONVERT, Op.getValueType(), Res);
   }
   
   // vsplti + rol self.
   if (SextVal == (int)(((unsigned)i  TypeShiftAmt) |
((unsigned)i  (SplatBitSize-TypeShiftAmt {
-Op = BuildSplatI(i, SplatSize, Op.getValueType(), DAG);
+SDOperand Res = BuildSplatI(i, SplatSize, MVT::Other, DAG);
 static const unsigned IIDs[] = { // Intrinsic to use for each size.
   Intrinsic::ppc_altivec_vrlb, Intrinsic::ppc_altivec_vrlh, 0,
   Intrinsic::ppc_altivec_vrlw
 };
-return BuildIntrinsicOp(IIDs[SplatSize-1], Op, Op, DAG);
+Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG);
+return DAG.getNode(ISD::BIT_CONVERT, Op.getValueType(), Res);
   }
 
   // t = vsplti c, result = vsldoi t, t, 1
@@ -2157,15 +2163,17 @@
 
 // Odd, in range [17,31]:  (vsplti C)-(vsplti -16).
 if (SextVal = 0  SextVal = 31) {
-  SDOperand LHS = BuildSplatI(SextVal-16, SplatSize, 
Op.getValueType(),DAG);
-  SDOperand RHS = BuildSplatI(-16, SplatSize, Op.getValueType(), DAG);
-  return DAG.getNode(ISD::SUB, Op.getValueType(), LHS, RHS);
+  SDOperand LHS = BuildSplatI(SextVal-16, SplatSize, MVT::Other, DAG);
+  SDOperand RHS = BuildSplatI(-16, SplatSize, MVT::Other, DAG);
+  LHS = DAG.getNode(ISD::SUB, Op.getValueType(), LHS, RHS);
+  return DAG.getNode(ISD::BIT_CONVERT, Op.getValueType(), LHS);
 }
 // Odd, in range [-31,-17]:  (vsplti C)+(vsplti -16).
 if (SextVal = -31  SextVal = 0) {
-  SDOperand LHS = BuildSplatI(SextVal+16, SplatSize, 
Op.getValueType(),DAG);
-  

[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll

2006-11-29 Thread Chris Lattner


Changes in directory llvm/test/Regression/CodeGen/PowerPC:

2006-11-29-AltivecFPSplat.ll added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+10 -0)

 2006-11-29-AltivecFPSplat.ll |   10 ++
 1 files changed, 10 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll
diff -c /dev/null 
llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll:1.1
*** /dev/null   Wed Nov 29 13:58:05 2006
--- llvm/test/Regression/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll   Wed Nov 
29 13:57:55 2006
***
*** 0 
--- 1,10 
+ ; RUN: llvm-as  %s | llc -march=ppc32 -mcpu=g5
+ 
+ void %glgRunProcessor15() {
+   %tmp26355.i = shufflevector 4 x float zeroinitializer, 4 x float  
float 0x379FFFE0, float 0x379FFFE0, float 0x379FFFE0, 
float 0x379FFFE0 , 4 x uint  uint 0, uint 1, uint 2, uint 7
   ; 4 x float [#uses=1]
+   %tmp3030030304.i = cast 4 x float %tmp26355.i to 8 x short  
; 8 x short [#uses=1]
+   %tmp30305.i = shufflevector 8 x short zeroinitializer, 8 x short 
%tmp3030030304.i, 8 x uint  uint 1, uint 3, uint 5, uint 7, uint 9, uint 11, 
uint 13, uint 15  ; 8 x short [#uses=1]
+   %tmp30305.i = cast 8 x short %tmp30305.i to 4 x int ; 4 x 
int [#uses=1]
+   store 4 x int %tmp30305.i, 4 x int* null
+   ret void
+ }



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

voting.tpl.html updated: 1.4 - 1.5
---
Log message:

Try cut and paste.


---
Diffs of the changes:  (+126 -2)

 voting.tpl.html |  128 +++-
 1 files changed, 126 insertions(+), 2 deletions(-)


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.4 llvm-www/poll/voting.tpl.html:1.5
--- llvm-www/poll/voting.tpl.html:1.4   Wed Nov 29 13:38:00 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 13:41:02 2006
@@ -1,4 +1,125 @@
-!--#include virtual=../../header.incl --
+!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
+  http://www.w3.org/TR/html4/strict.dtd;
+html
+head
+  meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
+  titleThe LLVM Compiler Infrastructure Project/title
+  link rel=stylesheet href=/llvm.css type=text/css
+/head
+
+body style=margin-left:0;
+
+div class=www_title
+  The strongLLVM/strong Compiler Infrastructure
+/div
+
+table width=100% border=0 cellpadding=10
+tr
+td valign=top align=center
+
+bSite Map:/b
+div class=www_sidebar
+a href=/Overview/abr
+a href=/Features.htmlFeatures/abr
+a href=/docs/Documentation/abr
+a href=/docs/CommandGuide/Command Guide/abr
+a href=/docs/#maillistSupport/abr
+a href=/docs/FAQ.htmlFAQ/abr
+a href=/pubs/Publications/abr
+a href=/ProjectsWithLLVM/LLVMnbsp;Projects/abr
+a href=/OpenProjects.htmlOpennbsp;Projects/abr
+a href=/developers.cgiLLVMnbsp;People/abr
+a href=/bugs/Bugnbsp;Database/abr
+/div
+
+br
+
+bDownload!/b
+div class=www_sidebar
+span style=font-size:smallerDownload now:/span
+a href=/releases/bLLVMnbsp;1.9/b/abr
+
+br
+span style=font-size:smallerTry the/spanbr
+a href=/demo/bonline demo/b/abr
+br
+
+span style=font-size:smallerView the open-source/spanbr
+a href=/releases/1.9/LICENSE.TXTblicense/b/a
+/div
+
+br
+
+bSearchnbsp;thisnbsp;Site/b
+
+div class=www_sidebar
+  form action=http://www.google.com/search; method=get
+  input type=hidden name=sitesearch value=llvm.org
+  input type=text name=q size=11br
+  input type=submit value=Search! name=submit
+/form
+/div
+
+br
+
+bStatusnbsp;Updates/b
+div class=www_sidebar
+  span style=font-size:smaller
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-November/20.html;Nov
 19, 2006/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-August/19.html;Aug
 9, 2006/abr   
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-April/18.html;Apr
 20, 2006/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-November/17.html;Nov
 8, 2005/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-May/16.html;May
 18, 2005/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2005-February/15.html;February
 14, 2005/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-December/13.html;December
 9, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-October/12.html;October
 11, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-August/11.html;August
 13, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-July/10.html;July
 12, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-June/09.html;June
 9, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-May/08.html;May
 6, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-March/06.html;March
 19, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2004-February/05.html;February
 6, 2004/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2003-December/04.html;December
 17, 2003/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvm-announce/2003-November/03.html;November
 18, 2003/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-October/000501.html;October
 7, 2003/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-September/000489.html;September
 10, 2003/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-August/000448.html;August
 15, 2003/abr
+  a 
href=http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-June/000416.html;June 
26, 2003/abr
+  a href=/OldNews.htmlOlder News/abr
+  /span
+/div
+
+br
+
+bUsefulnbsp;Links/b
+div class=www_sidebar
+  span style=font-size:smallerMailing Lists:/spanbr
+  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-announce;LLVM-announce/abr
+  a href=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev;LLVM-dev/abr
+  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs;LLVM-bugs/abr
+  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits;LLVM-commits/a
+  a 
href=http://lists.cs.uiuc.edu/mailman/listinfo/llvm-testresults;LLVM-testresults/a
+  brbr
+
+  span style=font-size:smallerIRC Channel:/spanbr
+  a href=/docs/#ircirc.oftc.net #llvm/a
+
+  brbr
+
+  span 

[llvm-commits] CVS: llvm-www/poll/annual.php benefit1.php benefit2.php content1.php content2.php content3.php index.html month.php provide.php venue.php

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

annual.php added (r1.1)
benefit1.php added (r1.1)
benefit2.php added (r1.1)
content1.php updated: 1.2 - 1.3
content2.php updated: 1.2 - 1.3
content3.php updated: 1.2 - 1.3
index.html updated: 1.3 - 1.4
month.php updated: 1.1 - 1.2
provide.php updated: 1.2 - 1.3
venue.php updated: 1.1 - 1.2
---
Log message:

Add new pages and link them in.


---
Diffs of the changes:  (+73 -9)

 annual.php   |   15 +++
 benefit1.php |   20 
 benefit2.php |   20 
 content1.php |4 +++-
 content2.php |4 +++-
 content3.php |4 +++-
 index.html   |3 +++
 month.php|4 ++--
 provide.php  |4 +++-
 venue.php|4 +---
 10 files changed, 73 insertions(+), 9 deletions(-)


Index: llvm-www/poll/annual.php
diff -c /dev/null llvm-www/poll/annual.php:1.1
*** /dev/null   Wed Nov 29 14:23:37 2006
--- llvm-www/poll/annual.phpWed Nov 29 14:23:27 2006
***
*** 0 
--- 1,15 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   */
+   $vote_title   = 'Annual Event';
+   $vote_text= 'Would you like this conferece be an annual event?';
+   $vote_option[]= 'Yes';
+   $vote_option[]= 'No';
+   $intern_vote_name = 'annual';
+   $next_page= 'benefit1.php';
+   $next_question= 'Primary Benefit';
+   include('./vote.details.php');
+ ?


Index: llvm-www/poll/benefit1.php
diff -c /dev/null llvm-www/poll/benefit1.php:1.1
*** /dev/null   Wed Nov 29 14:23:42 2006
--- llvm-www/poll/benefit1.php  Wed Nov 29 14:23:27 2006
***
*** 0 
--- 1,20 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   */
+   $vote_title   = 'Primary Benefit';
+   $vote_text= 'What would be your primary benefit for this 
conference?';
+   $vote_option[]= 'Meeting LLVM people';
+   $vote_option[]= 'Understanding the science of compiler optimization';
+   $vote_option[]= 'Exchanging ideas with colleagues';
+   $vote_option[]= 'Discovering new ways to use LLVM';
+   $vote_option[]= 'Learning LLVM better';
+   $vote_option[]= 'Making business contacts';
+   $vote_option[]= 'Other';
+   $intern_vote_name = 'benefit1';
+   $next_page= 'benefit2.php';
+   $next_question= 'Secondary Benefit';
+   include('./vote.details.php');
+ ?


Index: llvm-www/poll/benefit2.php
diff -c /dev/null llvm-www/poll/benefit2.php:1.1
*** /dev/null   Wed Nov 29 14:23:42 2006
--- llvm-www/poll/benefit2.php  Wed Nov 29 14:23:27 2006
***
*** 0 
--- 1,20 
+ ?php
+   /*
+   ** Script configuration - for the documentation of
+   ** following variables please take a look at the
+   ** documentation file in folder 'docu'.
+   */
+   $vote_title   = 'Secondary Benefit';
+   $vote_text  = 'What would be your secondary benefit for this 
conference?';
+   $vote_option[]= 'Meeting LLVM people';
+   $vote_option[]= 'Understanding the science of compiler optimization';
+   $vote_option[]= 'Exchanging ideas with colleagues';
+   $vote_option[]= 'Discovering new ways to use LLVM';
+   $vote_option[]= 'Learning LLVM better';
+   $vote_option[]= 'Making business contacts';
+   $vote_option[]= 'Other';
+   $intern_vote_name = 'benefit2';
+   $next_page= 'content1.php';
+   $next_question= 'First Content Choice';
+   include('./vote.details.php');
+ ?


Index: llvm-www/poll/content1.php
diff -u llvm-www/poll/content1.php:1.2 llvm-www/poll/content1.php:1.3
--- llvm-www/poll/content1.php:1.2  Wed Nov 29 13:56:35 2006
+++ llvm-www/poll/content1.php  Wed Nov 29 14:23:27 2006
@@ -9,13 +9,15 @@
   $vote_option[]= 'Paper/presentation on LLVM';
   $vote_option[]= 'Paper/presentation on compiler technology';
   $vote_option[]= 'Paper/Presentation on using LLVM';
+  $vote_option[]= 'Other paper/Presentation';
   $vote_option[]= 'Tutorial on using LLVM';
   $vote_option[]= 'Tutorial on developing LLVM (extension or maintenance)';
   $vote_option[]= 'Tutorial on compiler optimization';
+  $vote_option[]= 'Other tutorial';
   $vote_option[]= 'LLVM help session';
   $vote_option[]= 'LLVM workshop (plan LLVM future)';
   $vote_option[]= 'LLVM workshop (resolve current issues)';
-  $vote_option[]= 'Other';
+  $vote_option[]= 'Other (send your ideas to llvm-dev mailing list)';
   $intern_vote_name = 'content1';
   $next_page= 'content2.php';
 

[llvm-commits] CVS: llvm-www/poll/provide.php

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

provide.php updated: 1.3 - 1.4
---
Log message:

Remove double ?


---
Diffs of the changes:  (+1 -1)

 provide.php |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-www/poll/provide.php
diff -u llvm-www/poll/provide.php:1.3 llvm-www/poll/provide.php:1.4
--- llvm-www/poll/provide.php:1.3   Wed Nov 29 14:23:27 2006
+++ llvm-www/poll/provide.php   Wed Nov 29 15:07:42 2006
@@ -5,7 +5,7 @@
   ** documentation file in folder 'docu'.
   */
   $vote_title   = 'Providing Content';
-  $vote_text= 'Which of the following could you provide??';
+  $vote_text= 'Which of the following could you provide?';
   $vote_option[]= 'Paper/presentation on LLVM';
   $vote_option[]= 'Paper/presentation on compiler technology';
   $vote_option[]= 'Paper/Presentation on using LLVM';



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/header.incl

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www:

header.incl updated: 1.50 - 1.51
---
Log message:

Add a link to the conference poll.


---
Diffs of the changes:  (+1 -0)

 header.incl |1 +
 1 files changed, 1 insertion(+)


Index: llvm-www/header.incl
diff -u llvm-www/header.incl:1.50 llvm-www/header.incl:1.51
--- llvm-www/header.incl:1.50   Mon Nov 20 01:44:49 2006
+++ llvm-www/header.inclWed Nov 29 16:15:26 2006
@@ -30,6 +30,7 @@
 a href=/OpenProjects.htmlOpennbsp;Projects/abr
 a href=/developers.cgiLLVMnbsp;People/abr
 a href=/bugs/Bugnbsp;Database/abr
+a href=/poll/Conferencenbsp;Poll/abr
 /div
 
 br



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/include/llvm/Instruction.def

2006-11-29 Thread Reid Spencer


Changes in directory llvm/include/llvm:

Instruction.def updated: 1.26 - 1.27
---
Log message:

Get the delegation right for InstVisitor.


---
Diffs of the changes:  (+12 -12)

 Instruction.def |   24 
 1 files changed, 12 insertions(+), 12 deletions(-)


Index: llvm/include/llvm/Instruction.def
diff -u llvm/include/llvm/Instruction.def:1.26 
llvm/include/llvm/Instruction.def:1.27
--- llvm/include/llvm/Instruction.def:1.26  Sun Nov 26 19:05:09 2006
+++ llvm/include/llvm/Instruction.def   Wed Nov 29 15:37:00 2006
@@ -142,18 +142,18 @@
 // NOTE: The order matters here because CastInst::isEliminableCastPair 
 // NOTE: (see Instructions.cpp) encodes a table based on this ordering.
  FIRST_CAST_INST(31)
-HANDLE_CAST_INST(31, Trunc   , CastInst )  // Truncate integers
-HANDLE_CAST_INST(32, ZExt, CastInst )  // Zero extend integers
-HANDLE_CAST_INST(33, SExt, CastInst )  // Sign extend integers
-HANDLE_CAST_INST(34, FPToUI  , CastInst )  // floating point - UInt
-HANDLE_CAST_INST(35, FPToSI  , CastInst )  // floating point - SInt
-HANDLE_CAST_INST(36, UIToFP  , CastInst )  // UInt - floating point
-HANDLE_CAST_INST(37, SIToFP  , CastInst )  // SInt - floating point
-HANDLE_CAST_INST(38, FPTrunc , CastInst )  // Truncate floating point
-HANDLE_CAST_INST(39, FPExt   , CastInst )  // Extend floating point
-HANDLE_CAST_INST(40, PtrToInt, CastInst )  // Pointer - Integer
-HANDLE_CAST_INST(41, IntToPtr, CastInst )  // Integer - Pointer
-HANDLE_CAST_INST(42, BitCast , CastInst )  // Type cast
+HANDLE_CAST_INST(31, Trunc   , TruncInst   )  // Truncate integers
+HANDLE_CAST_INST(32, ZExt, ZExtInst)  // Zero extend integers
+HANDLE_CAST_INST(33, SExt, SExtInst)  // Sign extend integers
+HANDLE_CAST_INST(34, FPToUI  , FPToUIInst  )  // floating point - UInt
+HANDLE_CAST_INST(35, FPToSI  , FPToSIInst  )  // floating point - SInt
+HANDLE_CAST_INST(36, UIToFP  , UIToFPInst  )  // UInt - floating point
+HANDLE_CAST_INST(37, SIToFP  , SIToFPInst  )  // SInt - floating point
+HANDLE_CAST_INST(38, FPTrunc , FPTruncInst )  // Truncate floating point
+HANDLE_CAST_INST(39, FPExt   , FPExtInst   )  // Extend floating point
+HANDLE_CAST_INST(40, PtrToInt, PtrToIntInst)  // Pointer - Integer
+HANDLE_CAST_INST(41, IntToPtr, IntToPtrInst)  // Integer - Pointer
+HANDLE_CAST_INST(42, BitCast , BitCastInst )  // Type cast
   LAST_CAST_INST(42)
 
 // Other operators...



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/include/llvm/Support/InstVisitor.h

2006-11-29 Thread Reid Spencer


Changes in directory llvm/include/llvm/Support:

InstVisitor.h updated: 1.43 - 1.44
---
Log message:

Get the delegation right for InstVisitor.


---
Diffs of the changes:  (+13 -1)

 InstVisitor.h |   14 +-
 1 files changed, 13 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Support/InstVisitor.h
diff -u llvm/include/llvm/Support/InstVisitor.h:1.43 
llvm/include/llvm/Support/InstVisitor.h:1.44
--- llvm/include/llvm/Support/InstVisitor.h:1.43Sun Nov 26 19:05:09 2006
+++ llvm/include/llvm/Support/InstVisitor.h Wed Nov 29 15:37:00 2006
@@ -177,7 +177,18 @@
   RetTy visitStoreInst(StoreInst   I)  { DELEGATE(Instruction); }
   RetTy visitGetElementPtrInst(GetElementPtrInst I){ DELEGATE(Instruction); }
   RetTy visitPHINode(PHINode   I)  { DELEGATE(Instruction); }
-  RetTy visitCastInst(CastInst I)  { DELEGATE(Instruction); }
+  RetTy visitTruncInst(TruncInst I){ DELEGATE(CastInst); }
+  RetTy visitZExtInst(ZExtInst I)  { DELEGATE(CastInst); }
+  RetTy visitSExtInst(SExtInst I)  { DELEGATE(CastInst); }
+  RetTy visitFPTruncInst(FPTruncInst I){ DELEGATE(CastInst); }
+  RetTy visitFPExtInst(FPExtInst I){ DELEGATE(CastInst); }
+  RetTy visitFPToUIInst(FPToUIInst I)  { DELEGATE(CastInst); }
+  RetTy visitFPToSIInst(FPToSIInst I)  { DELEGATE(CastInst); }
+  RetTy visitUIToFPInst(UIToFPInst I)  { DELEGATE(CastInst); }
+  RetTy visitSIToFPInst(SIToFPInst I)  { DELEGATE(CastInst); }
+  RetTy visitPtrToIntInst(PtrToIntInst I)  { DELEGATE(CastInst); }
+  RetTy visitIntToPtrInst(IntToPtrInst I)  { DELEGATE(CastInst); }
+  RetTy visitBitCastInst(BitCastInst I){ DELEGATE(CastInst); }
   RetTy visitSelectInst(SelectInst I)  { DELEGATE(Instruction); }
   RetTy visitCallInst(CallInst I)  { DELEGATE(Instruction); }
   RetTy visitShiftInst(ShiftInst   I)  { DELEGATE(Instruction); }
@@ -194,6 +205,7 @@
   RetTy visitBinaryOperator(BinaryOperator I) { DELEGATE(Instruction); }
   RetTy visitAllocationInst(AllocationInst I) { DELEGATE(Instruction); }
   RetTy visitCmpInst(CmpInst I)   { DELEGATE(Instruction); }
+  RetTy visitCastInst(CastInst I) { DELEGATE(Instruction); }
 
   // If the user wants a 'default' case, they can choose to override this
   // function.  If this function is not overloaded in the users subclass, then



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/X86:

X86ISelDAGToDAG.cpp updated: 1.131 - 1.132
---
Log message:

Clean up.

---
Diffs of the changes:  (+8 -8)

 X86ISelDAGToDAG.cpp |   16 
 1 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.131 
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.132
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.131   Wed Nov 29 17:19:45 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp Wed Nov 29 17:46:27 2006
@@ -643,11 +643,13 @@
 
 // For X86-64 PIC code, only allow GV / CP + displacement so we can use RIP
 // relative addressing mode.
-if ((!Subtarget-is64Bit() || TM.getCodeModel() == CodeModel::Small) 
-(!Available || (AM.Base.Reg.Val  AM.IndexReg.Val))) {
+if (Subtarget-is64Bit()  TM.getCodeModel() != CodeModel::Small)
+  break;
+if (!Available || (AM.Base.Reg.Val  AM.IndexReg.Val)) {
   bool isRIP = Subtarget-is64Bit();
-  if (isRIP  (AM.Base.Reg.Val || AM.Scale  1 || AM.IndexReg.Val ||
-AM.BaseType == X86ISelAddressMode::FrameIndexBase))
+  if (isRIP 
+  (AM.Base.Reg.Val || AM.Scale  1 || AM.IndexReg.Val ||
+   AM.BaseType == X86ISelAddressMode::FrameIndexBase))
 break;
   if (ConstantPoolSDNode *CP =
   dyn_castConstantPoolSDNode(N.getOperand(0))) {
@@ -655,8 +657,7 @@
   AM.CP = CP-getConstVal();
   AM.Align = CP-getAlignment();
   AM.Disp += CP-getOffset();
-  if (isRIP)
-AM.isRIPRel = true;
+  AM.isRIPRel = isRIP;
   return false;
 }
   } else if (GlobalAddressSDNode *G =
@@ -664,8 +665,7 @@
 if (AM.GV == 0) {
   AM.GV = G-getGlobal();
   AM.Disp += G-getOffset();
-  if (isRIP)
-AM.isRIPRel = true;
+  AM.isRIPRel = isRIP;
   return false;
 }
   } else if (isRoot  isRIP) {



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/loop-strength-reduce2.ll

2006-11-29 Thread Evan Cheng


Changes in directory llvm/test/Regression/CodeGen/X86:

loop-strength-reduce2.ll added (r1.1)
---
Log message:

New LSR test case.

---
Diffs of the changes:  (+29 -0)

 loop-strength-reduce2.ll |   29 +
 1 files changed, 29 insertions(+)


Index: llvm/test/Regression/CodeGen/X86/loop-strength-reduce2.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/loop-strength-reduce2.ll:1.1
*** /dev/null   Wed Nov 29 17:48:47 2006
--- llvm/test/Regression/CodeGen/X86/loop-strength-reduce2.ll   Wed Nov 29 
17:48:37 2006
***
*** 0 
--- 1,29 
+ ; RUN: llvm-as  %s | llc -mtriple=i686-apple-darwin -relocation-model=pic | 
not grep lea
+ ;
+ ; Make sure the PIC label flags2-L1$pb is not moved up to the preheader.
+ 
+ %flags2 = internal global [8193 x sbyte] zeroinitializer, align 32
+ 
+ void %test(int %k, int %i) {
+ entry:
+   %i = bitcast int %i to uint
+   %k_addr.012 = shl int %i, ubyte 1
+   %tmp14 = setgt int %k_addr.012, 8192
+   br bool %tmp14, label %return, label %bb
+ 
+ bb:
+   %indvar = phi uint [ 0, %entry ], [ %indvar.next, %bb ]
+   %tmp. = shl uint %i, ubyte 1
+   %tmp.15 = mul uint %indvar, %i
+   %tmp.16 = add uint %tmp.15, %tmp.
+   %k_addr.0.0 = bitcast uint %tmp.16 to int
+   %tmp = getelementptr [8193 x sbyte]* %flags2, int 0, uint %tmp.16
+   store sbyte 0, sbyte* %tmp
+   %k_addr.0 = add int %k_addr.0.0, %i
+   %tmp = setgt int %k_addr.0, 8192
+   %indvar.next = add uint %indvar, 1
+   br bool %tmp, label %return, label %bb
+ 
+ return:
+   ret void
+ }



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.297 - 1.298
---
Log message:

In PIC mode, GV not requiring an extra load can be used as address immediate.

---
Diffs of the changes:  (+7 -14)

 X86ISelLowering.cpp |   21 +++--
 1 files changed, 7 insertions(+), 14 deletions(-)


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.297 
llvm/lib/Target/X86/X86ISelLowering.cpp:1.298
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.297   Wed Nov 29 17:19:46 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Wed Nov 29 17:48:14 2006
@@ -4994,21 +4994,14 @@
 }
 
 bool X86TargetLowering::isLegalAddressImmediate(GlobalValue *GV) const {
-  // GV is 64-bit but displacement field is 32-bit unless we are in small code
-  // model. Mac OS X happens to support only small PIC code model.
-  // FIXME: better support for other OS's.
-  if (Subtarget-is64Bit()  !Subtarget-isTargetDarwin())
+  // In 64-bit mode, GV is 64-bit so it won't fit in the 32-bit displacement 
+  // field unless we are in small code model.
+  if (Subtarget-is64Bit() 
+  getTargetMachine().getCodeModel() != CodeModel::Small)
 return false;
-  if (Subtarget-isTargetDarwin()) {
-Reloc::Model RModel = getTargetMachine().getRelocationModel();
-if (RModel == Reloc::Static)
-  return true;
-else if (RModel == Reloc::DynamicNoPIC)
-  return !(Subtarget-GVRequiresExtraLoad(GV, false));
-else
-  return false;
-  } else
-return true;
+  Reloc::Model RModel = getTargetMachine().getRelocationModel();
+  return (RModel == Reloc::Static) ||
+!Subtarget-GVRequiresExtraLoad(GV, false);
 }
 
 /// isShuffleMaskLegal - Targets can use this to indicate that they only



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/content1.php content2.php content3.php

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

content1.php updated: 1.3 - 1.4
content2.php updated: 1.3 - 1.4
content3.php updated: 1.3 - 1.4
---
Log message:

Fix some grammaros


---
Diffs of the changes:  (+3 -3)

 content1.php |2 +-
 content2.php |2 +-
 content3.php |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm-www/poll/content1.php
diff -u llvm-www/poll/content1.php:1.3 llvm-www/poll/content1.php:1.4
--- llvm-www/poll/content1.php:1.3  Wed Nov 29 14:23:27 2006
+++ llvm-www/poll/content1.php  Wed Nov 29 18:40:28 2006
@@ -5,7 +5,7 @@
   ** documentation file in folder 'docu'.
   */
   $vote_title   = 'First Content Choice';
-  $vote_text= 'What would be you first choice for conference content?';
+  $vote_text= 'What is your first choice for conference content?';
   $vote_option[]= 'Paper/presentation on LLVM';
   $vote_option[]= 'Paper/presentation on compiler technology';
   $vote_option[]= 'Paper/Presentation on using LLVM';


Index: llvm-www/poll/content2.php
diff -u llvm-www/poll/content2.php:1.3 llvm-www/poll/content2.php:1.4
--- llvm-www/poll/content2.php:1.3  Wed Nov 29 14:23:27 2006
+++ llvm-www/poll/content2.php  Wed Nov 29 18:40:28 2006
@@ -5,7 +5,7 @@
   ** documentation file in folder 'docu'.
   */
   $vote_title   = 'Second Content Choice';
-  $vote_text= 'What would be you second choice for conference 
content?';
+  $vote_text= 'What is your second choice for conference content?';
   $vote_option[]= 'Paper/presentation on LLVM';
   $vote_option[]= 'Paper/presentation on compiler technology';
   $vote_option[]= 'Paper/Presentation on using LLVM';


Index: llvm-www/poll/content3.php
diff -u llvm-www/poll/content3.php:1.3 llvm-www/poll/content3.php:1.4
--- llvm-www/poll/content3.php:1.3  Wed Nov 29 14:23:27 2006
+++ llvm-www/poll/content3.php  Wed Nov 29 18:40:28 2006
@@ -5,7 +5,7 @@
   ** documentation file in folder 'docu'.
   */
   $vote_title   = 'Third Content Choice';
-  $vote_text= 'What would be you third choice for conference content?';
+  $vote_text= 'What is your third choice for conference content?';
   $vote_option[]= 'Paper/presentation on LLVM';
   $vote_option[]= 'Paper/presentation on compiler technology';
   $vote_option[]= 'Paper/Presentation on using LLVM';



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/tools/llvm-upgrade/

2006-11-29 Thread LLVM


Changes in directory llvm/tools/llvm-upgrade:

---
Log message:

Directory /var/cvs/llvm/llvm/tools/llvm-upgrade added to the repository


---
Diffs of the changes:  (+0 -0)

 0 files changed



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm-www/poll/blue.gif voting.tpl.html

2006-11-29 Thread Reid Spencer


Changes in directory llvm-www/poll:

blue.gif added (r1.1)
voting.tpl.html updated: 1.9 - 1.10
---
Log message:

Make the graph show up.


---
Diffs of the changes:  (+1 -1)

 blue.gif|0 
 voting.tpl.html |2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-www/poll/blue.gif


Index: llvm-www/poll/voting.tpl.html
diff -u llvm-www/poll/voting.tpl.html:1.9 llvm-www/poll/voting.tpl.html:1.10
--- llvm-www/poll/voting.tpl.html:1.9   Wed Nov 29 13:48:50 2006
+++ llvm-www/poll/voting.tpl.html   Wed Nov 29 16:10:34 2006
@@ -25,7 +25,7 @@
 LOOP NAME=vote_result
   tr
 td{vote_option}/td
-tdimg src=./templates/images_voting/{bar_image_name} height=15 
width={bar_width} alt= border=0/td
+tdimg src=./{bar_image_name} height=15 width={bar_width} 
alt= border=0/td
 tdnbsp;nbsp;nbsp;{vote_number}/td
 tdnbsp;nbsp;nbsp;{relation} %/td
   /tr



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] Fix darwin llvm bootstrap failure

2006-11-29 Thread Devang Patel
This patch fixes darwin llvm-gcc bootstrap failure. Applied.
-
Devang


Index: llvm-linker-hack.cpp
===
--- llvm-linker-hack.cpp(revision 120687)
+++ llvm-linker-hack.cpp(working copy)
@@ -28,7 +28,7 @@ Software Foundation, 59 Temple Place - S
  #include llvm/Bytecode/Writer.h
  #include llvm/CodeGen/ScheduleDAG.h
  #include llvm/CodeGen/Passes.h
-#include iostream
+#include llvm/Support/Streams.h

  /// dummy_function - This is used when linking the LLVM libraries  
into a dynamic
  /// library, allowing the llvm backend to be shared across the various
@@ -40,7 +40,7 @@ Software Foundation, 59 Temple Place - S
  void dummy_function() {
new llvm::ExistingModuleProvider(0);
llvm::createVerifierPass();
-  llvm::WriteBytecodeToFile(0, std::cout);
+  llvm::WriteBytecodeToFile(0, llvm::llvm_cout);

llvm::createInstructionCombiningPass();
llvm::createScalarReplAggregatesPass();

___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/tools/llvm-upgrade/.cvsignore

2006-11-29 Thread Reid Spencer


Changes in directory llvm/tools/llvm-upgrade:

.cvsignore added (r1.1)
---
Log message:

Ignore generated files.


---
Diffs of the changes:  (+4 -0)

 .cvsignore |4 
 1 files changed, 4 insertions(+)


Index: llvm/tools/llvm-upgrade/.cvsignore
diff -c /dev/null llvm/tools/llvm-upgrade/.cvsignore:1.1
*** /dev/null   Thu Nov 30 00:37:53 2006
--- llvm/tools/llvm-upgrade/.cvsignore  Thu Nov 30 00:37:43 2006
***
*** 0 
--- 1,4 
+ UpgradeParser.output
+ UpgradeLexer.cpp
+ UpgradeParser.cpp
+ UpgradeParser.h



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/Alpha:

AlphaBranchSelector.cpp updated: 1.1 - 1.2
---
Log message:

MachineInstr::setOpcode - MachineInstr::setInstrDescriptor


---
Diffs of the changes:  (+2 -1)

 AlphaBranchSelector.cpp |3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaBranchSelector.cpp
diff -u llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.1 
llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.2
--- llvm/lib/Target/Alpha/AlphaBranchSelector.cpp:1.1   Tue Oct 31 10:49:55 2006
+++ llvm/lib/Target/Alpha/AlphaBranchSelector.cpp   Thu Nov 30 01:12:03 2006
@@ -53,7 +53,8 @@
 // 0. bc opcode
 // 1. reg
 // 2. target MBB
-MBBI-setOpcode(MBBI-getOperand(0).getImm());
+const TargetInstrInfo *TII = Fn.getTarget().getInstrInfo();
+MBBI-setInstrDescriptor(TII-get(MBBI-getOperand(0).getImm()));
   }
 }
   }



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/PowerPC:

PPCRegisterInfo.cpp updated: 1.90 - 1.91
---
Log message:

MachineInstr::setOpcode - MachineInstr::setInstrDescriptor


---
Diffs of the changes:  (+1 -1)

 PPCRegisterInfo.cpp |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.90 
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.91
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.90Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp Thu Nov 30 01:12:03 2006
@@ -576,7 +576,7 @@
 assert(ImmToIdxMap.count(OpC) 
No indexed form of load or store available!);
 unsigned NewOpcode = ImmToIdxMap.find(OpC)-second;
-MI.setOpcode(NewOpcode);
+MI.setInstrDescriptor(TII.get(NewOpcode));
 MI.getOperand(1).ChangeToRegister(MI.getOperand(i).getReg(), false);
 MI.getOperand(2).ChangeToRegister(PPC::R0, false);
   } else {



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/CodeGen:

MachineInstr.cpp updated: 1.135 - 1.136
---
Log message:

- MachineInstr now keeps a ptr to TargetInstrDescriptor instead of Opcode.
- Remove the ugly TargetInstrDescriptors hack.

---
Diffs of the changes:  (+35 -42)

 MachineInstr.cpp |   77 +--
 1 files changed, 35 insertions(+), 42 deletions(-)


Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.135 
llvm/lib/CodeGen/MachineInstr.cpp:1.136
--- llvm/lib/CodeGen/MachineInstr.cpp:1.135 Tue Nov 28 16:48:48 2006
+++ llvm/lib/CodeGen/MachineInstr.cpp   Thu Nov 30 01:08:44 2006
@@ -21,28 +21,17 @@
 #include iostream
 using namespace llvm;
 
-// Global variable holding an array of descriptors for machine instructions.
-// The actual object needs to be created separately for each target machine.
-// This variable is initialized and reset by class TargetInstrInfo.
-//
-// FIXME: This should be a property of the target so that more than one target
-// at a time can be active...
-//
-namespace llvm {
-  extern const TargetInstrDescriptor *TargetInstrDescriptors;
-}
-
 /// MachineInstr ctor - This constructor creates a dummy MachineInstr with
-/// opcode 0 and no operands.
+/// TID NULL and no operands.
 MachineInstr::MachineInstr()
-  : Opcode(0), NumImplicitOps(0), parent(0) {
+  : TID(0), NumImplicitOps(0), parent(0) {
   // Make sure that we get added to a machine basicblock
   LeakDetector::addGarbageObject(this);
 }
 
-void MachineInstr::addImplicitDefUseOperands(const TargetInstrDescriptor TID) 
{
-  if (TID.ImplicitDefs)
-for (const unsigned *ImpDefs = TID.ImplicitDefs; *ImpDefs; ++ImpDefs) {
+void MachineInstr::addImplicitDefUseOperands() {
+  if (TID-ImplicitDefs)
+for (const unsigned *ImpDefs = TID-ImplicitDefs; *ImpDefs; ++ImpDefs) {
   MachineOperand Op;
   Op.opType = MachineOperand::MO_Register;
   Op.IsDef = true;
@@ -53,8 +42,8 @@
   Op.offset = 0;
   Operands.push_back(Op);
 }
-  if (TID.ImplicitUses)
-for (const unsigned *ImpUses = TID.ImplicitUses; *ImpUses; ++ImpUses) {
+  if (TID-ImplicitUses)
+for (const unsigned *ImpUses = TID-ImplicitUses; *ImpUses; ++ImpUses) {
   MachineOperand Op;
   Op.opType = MachineOperand::MO_Register;
   Op.IsDef = false;
@@ -71,16 +60,16 @@
 /// implicit operands. It reserves space for number of operands specified by
 /// TargetInstrDescriptor or the numOperands if it is not zero. (for
 /// instructions with variable number of operands).
-MachineInstr::MachineInstr(const TargetInstrDescriptor TID)
-  : Opcode(TID.Opcode), NumImplicitOps(0), parent(0) {
-  if (TID.ImplicitDefs)
-for (const unsigned *ImpDefs = TID.ImplicitDefs; *ImpDefs; ++ImpDefs)
+MachineInstr::MachineInstr(const TargetInstrDescriptor tid)
+  : TID(tid), NumImplicitOps(0), parent(0) {
+  if (TID-ImplicitDefs)
+for (const unsigned *ImpDefs = TID-ImplicitDefs; *ImpDefs; ++ImpDefs)
   NumImplicitOps++;
-  if (TID.ImplicitUses)
-for (const unsigned *ImpUses = TID.ImplicitUses; *ImpUses; ++ImpUses)
+  if (TID-ImplicitUses)
+for (const unsigned *ImpUses = TID-ImplicitUses; *ImpUses; ++ImpUses)
   NumImplicitOps++;
-  Operands.reserve(NumImplicitOps + TID.numOperands);
-  addImplicitDefUseOperands(TID);
+  Operands.reserve(NumImplicitOps + TID-numOperands);
+  addImplicitDefUseOperands();
   // Make sure that we get added to a machine basicblock
   LeakDetector::addGarbageObject(this);
 }
@@ -89,17 +78,17 @@
 /// MachineInstr is created and added to the end of the specified basic block.
 ///
 MachineInstr::MachineInstr(MachineBasicBlock *MBB,
-   const TargetInstrDescriptor TID)
-  : Opcode(TID.Opcode), NumImplicitOps(0), parent(0) {
+   const TargetInstrDescriptor tid)
+  : TID(tid), NumImplicitOps(0), parent(0) {
   assert(MBB  Cannot use inserting ctor with null basic block!);
-  if (TID.ImplicitDefs)
-for (const unsigned *ImpDefs = TID.ImplicitDefs; *ImpDefs; ++ImpDefs)
+  if (TID-ImplicitDefs)
+for (const unsigned *ImpDefs = TID-ImplicitDefs; *ImpDefs; ++ImpDefs)
   NumImplicitOps++;
-  if (TID.ImplicitUses)
-for (const unsigned *ImpUses = TID.ImplicitUses; *ImpUses; ++ImpUses)
+  if (TID-ImplicitUses)
+for (const unsigned *ImpUses = TID-ImplicitUses; *ImpUses; ++ImpUses)
   NumImplicitOps++;
-  Operands.reserve(NumImplicitOps + TID.numOperands);
-  addImplicitDefUseOperands(TID);
+  Operands.reserve(NumImplicitOps + TID-numOperands);
+  addImplicitDefUseOperands();
   // Make sure that we get added to a machine basicblock
   LeakDetector::addGarbageObject(this);
   MBB-push_back(this);  // Add instruction to end of basic block!
@@ -108,7 +97,7 @@
 /// MachineInstr ctor - Copies MachineInstr arg exactly
 ///
 MachineInstr::MachineInstr(const MachineInstr MI) {
-  Opcode = MI.getOpcode();
+  TID = MI.getInstrDescriptor();
   NumImplicitOps = MI.NumImplicitOps;
   

[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

2006-11-29 Thread Evan Cheng


Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.202 - 1.203
---
Log message:

- MachineInstr now keeps a ptr to TargetInstrDescriptor instead of Opcode.
- Remove the ugly TargetInstrDescriptors hack.

---
Diffs of the changes:  (+11 -6)

 MachineInstr.h |   17 +++--
 1 files changed, 11 insertions(+), 6 deletions(-)


Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.202 
llvm/include/llvm/CodeGen/MachineInstr.h:1.203
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.202  Tue Nov 28 16:21:29 2006
+++ llvm/include/llvm/CodeGen/MachineInstr.hThu Nov 30 01:07:25 2006
@@ -299,7 +299,7 @@
 /// MachineInstr - Representation of each machine instruction.
 ///
 class MachineInstr {
-  short Opcode; // the opcode
+  const TargetInstrDescriptor *TID; // Instruction descriptor.
   unsigned short NumImplicitOps;// Number of implicit operands (which
 // are determined at construction 
time).
 
@@ -319,7 +319,7 @@
 
 public:
   /// MachineInstr ctor - This constructor creates a dummy MachineInstr with
-  /// opcode 0 and no operands.
+  /// TID NULL and no operands.
   MachineInstr();
 
   /// MachineInstr ctor - This constructor create a MachineInstr and add the
@@ -337,10 +337,14 @@
 
   const MachineBasicBlock* getParent() const { return parent; }
   MachineBasicBlock* getParent() { return parent; }
+  
+  /// getInstrDescriptor - Returns the target instruction descriptor of this
+  /// MachineInstr.
+  const TargetInstrDescriptor *getInstrDescriptor() const { return TID; }
 
   /// getOpcode - Returns the opcode of this MachineInstr.
   ///
-  const int getOpcode() const { return Opcode; }
+  const int getOpcode() const;
 
   /// Access to explicit operands of the instruction.
   ///
@@ -500,9 +504,10 @@
   // Accessors used to modify instructions in place.
   //
 
-  /// setOpcode - Replace the opcode of the current instruction with a new one.
+  /// setInstrDescriptor - Replace the instruction descriptor (thus opcode) of
+  /// the current instruction with a new one.
   ///
-  void setOpcode(unsigned Op) { Opcode = Op; }
+  void setInstrDescriptor(const TargetInstrDescriptor tid) { TID = tid; }
 
   /// RemoveOperand - Erase an operand  from an instruction, leaving it with 
one
   /// fewer operand than it started with.
@@ -525,7 +530,7 @@
 
   /// addImplicitDefUseOperands - Add all implicit def and use operands to
   /// this instruction.
-  void addImplicitDefUseOperands(const TargetInstrDescriptor TID);
+  void addImplicitDefUseOperands();
 };
 
 
//===--===//



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/Sparc:

FPMover.cpp updated: 1.14 - 1.15
---
Log message:

MachineInstr::setOpcode - MachineInstr::setInstrDescriptor


---
Diffs of the changes:  (+4 -3)

 FPMover.cpp |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/Sparc/FPMover.cpp
diff -u llvm/lib/Target/Sparc/FPMover.cpp:1.14 
llvm/lib/Target/Sparc/FPMover.cpp:1.15
--- llvm/lib/Target/Sparc/FPMover.cpp:1.14  Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/Sparc/FPMover.cpp   Thu Nov 30 01:12:03 2006
@@ -96,12 +96,13 @@
   getDoubleRegPair(DestDReg, EvenDestReg, OddDestReg);
   getDoubleRegPair(SrcDReg, EvenSrcReg, OddSrcReg);
 
+  const TargetInstrInfo *TII = TM.getInstrInfo();
   if (MI-getOpcode() == SP::FpMOVD)
-MI-setOpcode(SP::FMOVS);
+MI-setInstrDescriptor(TII-get(SP::FMOVS));
   else if (MI-getOpcode() == SP::FpNEGD)
-MI-setOpcode(SP::FNEGS);
+MI-setInstrDescriptor(TII-get(SP::FNEGS));
   else if (MI-getOpcode() == SP::FpABSD)
-MI-setOpcode(SP::FABSS);
+MI-setInstrDescriptor(TII-get(SP::FABSS));
   else
 assert(0  Unknown opcode!);
 



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target/X86:

X86FloatingPoint.cpp updated: 1.61 - 1.62
---
Log message:

MachineInstr::setOpcode - MachineInstr::setInstrDescriptor


---
Diffs of the changes:  (+33 -31)

 X86FloatingPoint.cpp |   64 ++-
 1 files changed, 33 insertions(+), 31 deletions(-)


Index: llvm/lib/Target/X86/X86FloatingPoint.cpp
diff -u llvm/lib/Target/X86/X86FloatingPoint.cpp:1.61 
llvm/lib/Target/X86/X86FloatingPoint.cpp:1.62
--- llvm/lib/Target/X86/X86FloatingPoint.cpp:1.61   Mon Nov 27 17:37:22 2006
+++ llvm/lib/Target/X86/X86FloatingPoint.cppThu Nov 30 01:12:03 2006
@@ -108,7 +108,7 @@
 void moveToTop(unsigned RegNo, MachineBasicBlock::iterator I) {
   if (!isAtTop(RegNo)) {
 MachineFunction *MF = I-getParent()-getParent();
-const TargetInstrInfo TII = *MF-getTarget().getInstrInfo();
+const TargetInstrInfo *TII = MF-getTarget().getInstrInfo();
 
 unsigned STReg = getSTReg(RegNo);
 unsigned RegOnTop = getStackEntry(0);
@@ -121,18 +121,18 @@
 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]);
 
 // Emit an fxch to update the runtime processors version of the state
-BuildMI(*MBB, I, TII.get(X86::FXCH)).addReg(STReg);
+BuildMI(*MBB, I, TII-get(X86::FXCH)).addReg(STReg);
 NumFXCH++;
   }
 }
 
 void duplicateToTop(unsigned RegNo, unsigned AsReg, MachineInstr *I) {
   MachineFunction *MF = I-getParent()-getParent();
-  const TargetInstrInfo TII = *MF-getTarget().getInstrInfo();
+  const TargetInstrInfo *TII = MF-getTarget().getInstrInfo();
   unsigned STReg = getSTReg(RegNo);
   pushReg(AsReg);   // New register on top of stack
 
-  BuildMI(*MBB, I, TII.get(X86::FLDrr)).addReg(STReg);
+  BuildMI(*MBB, I, TII-get(X86::FLDrr)).addReg(STReg);
 }
 
 // popStackAfter - Pop the current value off of the top of the FP stack
@@ -200,13 +200,12 @@
 /// transforming FP instructions into their stack form.
 ///
 bool FPS::processBasicBlock(MachineFunction MF, MachineBasicBlock BB) {
-  const TargetInstrInfo TII = *MF.getTarget().getInstrInfo();
   bool Changed = false;
   MBB = BB;
 
   for (MachineBasicBlock::iterator I = BB.begin(); I != BB.end(); ++I) {
 MachineInstr *MI = I;
-unsigned Flags = TII.get(MI-getOpcode()).TSFlags;
+unsigned Flags = MI-getInstrDescriptor()-TSFlags;
 if ((Flags  X86II::FPTypeMask) == X86II::NotFP)
   continue;  // Efficiently ignore non-fp insts!
 
@@ -432,17 +431,16 @@
   assert(StackTop  0  Cannot pop empty stack!);
   RegMap[Stack[--StackTop]] = ~0; // Update state
 
+  MachineFunction *MF = I-getParent()-getParent();
+  const TargetInstrInfo *TII = MF-getTarget().getInstrInfo();  
   // Check to see if there is a popping version of this instruction...
   int Opcode = Lookup(PopTable, ARRAY_SIZE(PopTable), I-getOpcode());
   if (Opcode != -1) {
-I-setOpcode(Opcode);
+I-setInstrDescriptor(TII-get(Opcode));
 if (Opcode == X86::FUCOMPPr)
   I-RemoveOperand(0);
-
   } else {// Insert an explicit pop
-MachineFunction *MF = I-getParent()-getParent();
-const TargetInstrInfo TII = *MF-getTarget().getInstrInfo();
-I = BuildMI(*MBB, ++I, TII.get(X86::FSTPrr)).addReg(X86::ST0);
+I = BuildMI(*MBB, ++I, TII-get(X86::FSTPrr)).addReg(X86::ST0);
   }
 }
 
@@ -467,8 +465,8 @@
   RegMap[FPRegNo]   = ~0;
   Stack[--StackTop] = ~0;
   MachineFunction *MF = I-getParent()-getParent();
-  const TargetInstrInfo TII = *MF-getTarget().getInstrInfo();
-  I = BuildMI(*MBB, ++I, TII.get(X86::FSTPrr)).addReg(STReg);
+  const TargetInstrInfo *TII = MF-getTarget().getInstrInfo();
+  I = BuildMI(*MBB, ++I, TII-get(X86::FSTPrr)).addReg(STReg);
 }
 
 
@@ -488,11 +486,13 @@
 ///
 void FPS::handleZeroArgFP(MachineBasicBlock::iterator I) {
   MachineInstr *MI = I;
+  MachineFunction *MF = MI-getParent()-getParent();
+  const TargetInstrInfo *TII = MF-getTarget().getInstrInfo();
   unsigned DestReg = getFPReg(MI-getOperand(0));
 
   // Change from the pseudo instruction to the concrete instruction.
   MI-RemoveOperand(0);   // Remove the explicit ST(0) operand
-  MI-setOpcode(getConcreteOpcode(MI-getOpcode()));
+  MI-setInstrDescriptor(TII-get(getConcreteOpcode(MI-getOpcode(;
   
   // Result gets pushed on the stack.
   pushReg(DestReg);
@@ -502,9 +502,7 @@
 ///
 void FPS::handleOneArgFP(MachineBasicBlock::iterator I) {
   MachineInstr *MI = I;
-  MachineFunction *MF = MI-getParent()-getParent();
-  const TargetInstrInfo TII = *MF-getTarget().getInstrInfo();
-  unsigned NumOps = TII.getNumOperands(MI-getOpcode());
+  unsigned NumOps = MI-getInstrDescriptor()-numOperands;
   assert((NumOps == 5 || NumOps == 1) 
  Can only handle fst*  ftst instructions!);
 
@@ -530,7 +528,9 @@
   
   // Convert from the pseudo instruction to the concrete instruction.
   MI-RemoveOperand(NumOps-1);// Remove explicit ST(0) operand
-  

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

2006-11-29 Thread Evan Cheng


Changes in directory llvm/lib/Target:

TargetInstrInfo.cpp updated: 1.22 - 1.23
---
Log message:

Remove the ugly SPARCV9 TargetInstrDescriptors hack.

---
Diffs of the changes:  (+0 -13)

 TargetInstrInfo.cpp |   13 -
 1 files changed, 13 deletions(-)


Index: llvm/lib/Target/TargetInstrInfo.cpp
diff -u llvm/lib/Target/TargetInstrInfo.cpp:1.22 
llvm/lib/Target/TargetInstrInfo.cpp:1.23
--- llvm/lib/Target/TargetInstrInfo.cpp:1.22Wed Nov 15 14:56:03 2006
+++ llvm/lib/Target/TargetInstrInfo.cpp Thu Nov 30 01:10:43 2006
@@ -17,25 +17,12 @@
 #include llvm/DerivedTypes.h
 using namespace llvm;
 
-namespace llvm {
-  // External object describing the machine instructions Initialized only when
-  // the TargetMachine class is created and reset when that class is destroyed.
-  //
-  // FIXME: UGLY SPARCV9 HACK!
-  const TargetInstrDescriptor* TargetInstrDescriptors = 0;
-}
-
 TargetInstrInfo::TargetInstrInfo(const TargetInstrDescriptor* Desc,
  unsigned numOpcodes)
   : desc(Desc), NumOpcodes(numOpcodes) {
-  // FIXME: TargetInstrDescriptors should not be global
-  assert(TargetInstrDescriptors == NULL  desc != NULL
-  TargetMachine data structure corrupt; maybe you tried to create 
another TargetMachine? (only one may exist in a program));
-  TargetInstrDescriptors = desc; // initialize global variable
 }
 
 TargetInstrInfo::~TargetInstrInfo() {
-  TargetInstrDescriptors = NULL; // reset global variable
 }
 
 /// findTiedToSrcOperand - Returns the operand that is tied to the specified



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits