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

2007-05-05 Thread Chris Lattner
On May 5, 2007, at 11:48 PM, Duncan Sands wrote: > Hi Chris, > >> + (CE->getOpcode() == Instruction::BitCast || >> + CE->getOpcode() == Instruction::GetElementPtr)) >> +return dyn_cast(CE->getOperand(0)); > > isn't this only correct if all the GEP indices are zero? > By t

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

2007-05-05 Thread Duncan Sands
Hi Chris, > + (CE->getOpcode() == Instruction::BitCast || > + CE->getOpcode() == Instruction::GetElementPtr)) > +return dyn_cast(CE->getOperand(0)); isn't this only correct if all the GEP indices are zero? By the way, ExtractGlobalVariable in SelectionDAGISel does the

[llvm-commits] CVS: llvm/lib/Bytecode/Archive/ArchiveReader.cpp ArchiveWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Archive: ArchiveReader.cpp updated: 1.50 -> 1.51 ArchiveWriter.cpp updated: 1.37 -> 1.38 --- Log message: add bitcode support --- Diffs of the changes: (+44 -50) ArchiveReader.cpp | 48 +--- ArchiveWriter.

[llvm-commits] CVS: llvm/lib/Linker/LinkArchives.cpp LinkItems.cpp Linker.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Linker: LinkArchives.cpp updated: 1.57 -> 1.58 LinkItems.cpp updated: 1.14 -> 1.15 Linker.cpp updated: 1.14 -> 1.15 --- Log message: add bitcode support --- Diffs of the changes: (+23 -4) LinkArchives.cpp |1 - LinkItems.cpp|2 ++ Linker.cpp

[llvm-commits] CVS: llvm/tools/llvm-ar/Makefile

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-ar: Makefile updated: 1.11 -> 1.12 --- Log message: this doesn't directly depend on bytecode --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-ar/Makefile diff -u llvm/tools/llv

[llvm-commits] CVS: llvm/tools/llvm-ld/Makefile llvm-ld.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-ld: Makefile updated: 1.10 -> 1.11 llvm-ld.cpp updated: 1.51 -> 1.52 --- Log message: add bitcode support. --- Diffs of the changes: (+12 -5) Makefile|2 +- llvm-ld.cpp | 15 +++ 2 files changed, 12 insertions(+), 5 deletions(-)

[llvm-commits] CVS: llvm/tools/llvm-ranlib/Makefile

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-ranlib: Makefile updated: 1.6 -> 1.7 --- Log message: archive library already depends on bc reader --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-ranlib/Makefile diff -u llvm

[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp Makefile

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvmc: CompilerDriver.cpp updated: 1.48 -> 1.49 Makefile updated: 1.24 -> 1.25 --- Log message: add bitcode support, optimize reading to not read all function bodies just to get deplibs --- Diffs of the changes: (+17 -5) CompilerDriver.cpp | 20 +++

[llvm-commits] CVS: llvm/tools/llc/llc.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llc: llc.cpp updated: 1.146 -> 1.147 --- Log message: use an auto_ptr to avoid an explicit delete --- Diffs of the changes: (+5 -7) llc.cpp | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) Index: llvm/tools/llc/llc.cpp diff -u llvm/too

[llvm-commits] CVS: llvm/tools/bugpoint/BugDriver.cpp CrashDebugger.cpp Makefile OptimizerDriver.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/bugpoint: BugDriver.cpp updated: 1.51 -> 1.52 CrashDebugger.cpp updated: 1.57 -> 1.58 Makefile updated: 1.21 -> 1.22 OptimizerDriver.cpp updated: 1.50 -> 1.51 --- Log message: add bitcode support --- Diffs of the changes: (+18 -4) BugDriver.cpp | 10

[llvm-commits] CVS: llvm/tools/llvm-upgrade/Makefile llvm-upgrade.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-upgrade: Makefile updated: 1.6 -> 1.7 llvm-upgrade.cpp updated: 1.8 -> 1.9 --- Log message: Remove the -emit-bytecode option. Noone in the llvm tree uses it, and this keeps llvm-upgrade a simple "source to source" tool. --- Diffs of the changes: (+3 -13)

[llvm-commits] CVS: llvm/tools/llvm-nm/Makefile llvm-nm.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-nm: Makefile updated: 1.9 -> 1.10 llvm-nm.cpp updated: 1.33 -> 1.34 --- Log message: add bitcode reading support to llvm-nm --- Diffs of the changes: (+33 -24) Makefile|3 +-- llvm-nm.cpp | 54 --

[llvm-commits] CVS: llvm/lib/System/Unix/Path.inc

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/System/Unix: Path.inc updated: 1.62 -> 1.63 --- Log message: pull some win32 code into common code, add bitcode identification support. --- Diffs of the changes: (+0 -31) Path.inc | 31 --- 1 files changed, 31 deletions(-) Index

[llvm-commits] CVS: llvm/lib/System/Path.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/System: Path.cpp updated: 1.26 -> 1.27 --- Log message: pull some win32 code into common code, add bitcode identification support. --- Diffs of the changes: (+29 -0) Path.cpp | 29 + 1 files changed, 29 insertions(+) Index: llvm

[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/System/Win32: Path.inc updated: 1.65 -> 1.66 --- Log message: pull some win32 code into common code, add bitcode identification support. --- Diffs of the changes: (+0 -15) Path.inc | 15 --- 1 files changed, 15 deletions(-) Index: llvm/lib/Syst

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/System: Path.h updated: 1.57 -> 1.58 --- Log message: add support for identifying bitcode files --- Diffs of the changes: (+8 -0) Path.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llvm/System/Path.h diff -u llvm/include/ll

[llvm-commits] CVS: llvm/tools/llvm2cpp/Makefile llvm2cpp.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm2cpp: Makefile updated: 1.9 -> 1.10 llvm2cpp.cpp updated: 1.7 -> 1.8 --- Log message: bitcodify, remove eh cruft --- Diffs of the changes: (+19 -6) Makefile |3 +-- llvm2cpp.cpp | 22 ++ 2 files changed, 19 insertions(+), 6

[llvm-commits] CVS: llvm/lib/Debugger/Debugger.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Debugger: Debugger.cpp updated: 1.7 -> 1.8 --- Log message: teach this to read from bitcode files --- Diffs of the changes: (+13 -1) Debugger.cpp | 14 +- 1 files changed, 13 insertions(+), 1 deletion(-) Index: llvm/lib/Debugger/Debugger.cpp di

[llvm-commits] CVS: llvm/tools/llvm-db/Makefile

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-db: Makefile updated: 1.13 -> 1.14 --- Log message: debugger depends on bcreader, not llvm-db --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-db/Makefile diff -u llvm/tools/ll

[llvm-commits] CVS: llvm/tools/llvm-extract/Makefile llvm-extract.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-extract: Makefile updated: 1.6 -> 1.7 llvm-extract.cpp updated: 1.37 -> 1.38 --- Log message: remove EH cruft, add bitcode support --- Diffs of the changes: (+70 -55) Makefile |4 - llvm-extract.cpp | 121 ++-

[llvm-commits] CVS: llvm/tools/llvm-link/Makefile llvm-link.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-link: Makefile updated: 1.15 -> 1.16 llvm-link.cpp updated: 1.63 -> 1.64 --- Log message: remove EH cruft, add bitcode support --- Diffs of the changes: (+83 -70) Makefile |3 - llvm-link.cpp | 150 +++--

[llvm-commits] CVS: llvm/tools/lli/Makefile lli.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/lli: Makefile updated: 1.51 -> 1.52 lli.cpp updated: 1.70 -> 1.71 --- Log message: add bitcode reading support, remove eh stuff --- Diffs of the changes: (+98 -89) Makefile |3 - lli.cpp | 184 +--

[llvm-commits] CVS: llvm/tools/llc/Makefile llc.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llc: Makefile updated: 1.90 -> 1.91 llc.cpp updated: 1.145 -> 1.146 --- Log message: add bitcode reading support. Remove EH cruft. --- Diffs of the changes: (+132 -123) Makefile |3 llc.cpp | 252 --

[llvm-commits] CVS: llvm/tools/lto/Makefile lto.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/lto: Makefile updated: 1.8 -> 1.9 lto.cpp updated: 1.38 -> 1.39 --- Log message: bitcodify --- Diffs of the changes: (+24 -7) Makefile |2 +- lto.cpp | 29 +++-- 2 files changed, 24 insertions(+), 7 deletions(-) Index: llvm/t

[llvm-commits] CVS: llvm/tools/llvm-dis/llvm-dis.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-dis: llvm-dis.cpp updated: 1.59 -> 1.60 --- Log message: simplify code --- Diffs of the changes: (+2 -6) llvm-dis.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) Index: llvm/tools/llvm-dis/llvm-dis.cpp diff -u llvm/tools/llvm-dis

[llvm-commits] CVS: llvm/tools/llvm-prof/Makefile llvm-prof.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-prof: Makefile updated: 1.9 -> 1.10 llvm-prof.cpp updated: 1.31 -> 1.32 --- Log message: add support to llvm-prof for reading from a bitcode file --- Diffs of the changes: (+18 -4) Makefile |2 +- llvm-prof.cpp | 20 +--- 2 fi

[llvm-commits] CVS: llvm/tools/opt/opt.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/opt: opt.cpp updated: 1.138 -> 1.139 --- Log message: add support to llvm-prof for reading from a bitcode file --- Diffs of the changes: (+2 -6) opt.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) Index: llvm/tools/opt/opt.cpp diff -u

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

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: MemoryBuffer.h updated: 1.1 -> 1.2 --- Log message: Add a helper that either opens a file or stdin. --- Diffs of the changes: (+11 -0) MemoryBuffer.h | 11 +++ 1 files changed, 11 insertions(+) Index: llvm/include/llvm/Support/Mem

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

2007-05-05 Thread Nate Begeman
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.306 -> 1.307 --- Log message: Reference correct header --- Diffs of the changes: (+1 -1) X86InstrInfo.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/X86/X86InstrInfo.td diff -u llvm/

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitstreamReader.h

2007-05-05 Thread Jeff Cohen
Changes in directory llvm/include/llvm/Bitcode: BitstreamReader.h updated: 1.19 -> 1.20 --- Log message: Make code more 64-bit aware. --- Diffs of the changes: (+3 -3) BitstreamReader.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/include/llvm/Bitcode/Bitstr

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.h

2007-05-05 Thread Jeff Cohen
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.h updated: 1.18 -> 1.19 --- Log message: Keep header file free of 'possible loss of data' warnings. --- Diffs of the changes: (+3 -3) BitcodeReader.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitCodes.h BitstreamReader.h BitstreamWriter.h

2007-05-05 Thread Jeff Cohen
Changes in directory llvm/include/llvm/Bitcode: BitCodes.h updated: 1.7 -> 1.8 BitstreamReader.h updated: 1.18 -> 1.19 BitstreamWriter.h updated: 1.13 -> 1.14 --- Log message: Unbreak VC++. --- Diffs of the changes: (+10 -8) BitCodes.h|2 ++ BitstreamReader.h | 12 ++--

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Jeff Cohen
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.49 -> 1.50 --- Log message: Unbreak VC++. --- Diffs of the changes: (+1 -1) BitcodeWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp diff -u llvm/

[llvm-commits] CVS: llvm/win32/Bitcode/Bitcode.vcproj

2007-05-05 Thread Jeff Cohen
Changes in directory llvm/win32/Bitcode: Bitcode.vcproj updated: 1.3 -> 1.4 --- Log message: Unbreak VC++. --- Diffs of the changes: (+3 -0) Bitcode.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/Bitcode/Bitcode.vcproj diff -u llvm/win32/Bitcode/Bitcode.vcproj:1.3

[llvm-commits] CVS: llvm/win32/llvm.sln

2007-05-05 Thread Jeff Cohen
Changes in directory llvm/win32: llvm.sln updated: 1.28 -> 1.29 --- Log message: Unbreak VC++. --- Diffs of the changes: (+1 -0) llvm.sln |1 + 1 files changed, 1 insertion(+) Index: llvm/win32/llvm.sln diff -u llvm/win32/llvm.sln:1.28 llvm/win32/llvm.sln:1.29 --- llvm/win32/llvm.sln:

[llvm-commits] CVS: llvm/tools/opt/Makefile opt.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/opt: Makefile updated: 1.61 -> 1.62 opt.cpp updated: 1.137 -> 1.138 --- Log message: if -bitcode is specified, read and write a bitcode file instead of a bytecode file. --- Diffs of the changes: (+31 -5) Makefile |2 +- opt.cpp | 34 +

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.48 -> 1.49 --- Log message: add abbrevs for binops and casts. This shrinks a testcase from 725132->682500 bytes. --- Diffs of the changes: (+29 -3) BitcodeWriter.cpp | 32 +--- 1 file

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriterPass.cpp added (r1.1) --- Log message: add a new CreateBitcodeWriterPass method, which creates a bitcode writer as a pass --- Diffs of the changes: (+43 -0) BitcodeWriterPass.cpp | 43 +++

[llvm-commits] CVS: llvm/include/llvm/Bitcode/ReaderWriter.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: ReaderWriter.h updated: 1.2 -> 1.3 --- Log message: add a new CreateBitcodeWriterPass method, which creates a bitcode writer as a pass --- Diffs of the changes: (+5 -0) ReaderWriter.h |5 + 1 files changed, 5 insertions(+) Index: ll

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.47 -> 1.48 --- Log message: implement reading/writing of inlineasm objects --- Diffs of the changes: (+16 -6) BitcodeWriter.cpp | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) Inde

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.43 -> 1.44 --- Log message: implement reading/writing of inlineasm objects --- Diffs of the changes: (+21 -0) BitcodeReader.cpp | 21 + 1 files changed, 21 insertions(+) Index: llvm/lib/Bitco

[llvm-commits] CVS: llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-bcanalyzer: llvm-bcanalyzer.cpp updated: 1.21 -> 1.22 --- Log message: add inline asm code --- Diffs of the changes: (+1 -0) llvm-bcanalyzer.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp diff -u ll

[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: LLVMBitCodes.h updated: 1.18 -> 1.19 --- Log message: add inline asm code --- Diffs of the changes: (+2 -1) LLVMBitCodes.h |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Bitcode/LLVMBitCodes.h diff -u l

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitstreamReader.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: BitstreamReader.h updated: 1.17 -> 1.18 --- Log message: Fix a subtle bug that prevented round-tripping 470.lbm --- Diffs of the changes: (+1 -1) BitstreamReader.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/includ

[llvm-commits] CVS: llvm/CREDITS.TXT

2007-05-05 Thread Reid Spencer
Changes in directory llvm: CREDITS.TXT updated: 1.77 -> 1.78 --- Log message: Make my credits refer to my wiki page. --- Diffs of the changes: (+1 -4) CREDITS.TXT |5 + 1 files changed, 1 insertion(+), 4 deletions(-) Index: llvm/CREDITS.TXT diff -u llvm/CREDITS.TXT:1.77 llvm/CRED

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.46 -> 1.47 --- Log message: add some abbrevs for ret and unreachable, shrinking kc++ from 2717360->2705388 --- Diffs of the changes: (+31 -3) BitcodeWriter.cpp | 34 +++--- 1 files chan

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/ValueEnumerator.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: ValueEnumerator.cpp updated: 1.12 -> 1.13 --- Log message: enumerate the operands of a constant before we enumerate the constant itself This avoids fwd references in the reader. --- Diffs of the changes: (+22 -9) ValueEnumerator.cpp | 31

[llvm-commits] CVS: llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/tools/llvm-bcanalyzer: llvm-bcanalyzer.cpp updated: 1.20 -> 1.21 --- Log message: add a denser encoding for null terminated strings, add a 6-bit abbrev as well. This shrinks kc++ from 2724088 to 2717360 bytes. --- Diffs of the changes: (+2 -0) llvm-bcanalyzer.cp

[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: LLVMBitCodes.h updated: 1.17 -> 1.18 --- Log message: add a denser encoding for null terminated strings, add a 6-bit abbrev as well. This shrinks kc++ from 2724088 to 2717360 bytes. --- Diffs of the changes: (+9 -8) LLVMBitCodes.h | 17 ++

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.45 -> 1.46 --- Log message: add a denser encoding for null terminated strings, add a 6-bit abbrev as well. This shrinks kc++ from 2724088 to 2717360 bytes. --- Diffs of the changes: (+36 -8) BitcodeWriter.cpp |

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.42 -> 1.43 --- Log message: add a denser encoding for null terminated strings, add a 6-bit abbrev as well. This shrinks kc++ from 2724088 to 2717360 bytes. --- Diffs of the changes: (+14 -0) BitcodeReader.cpp |

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.44 -> 1.45 --- Log message: add an abbreviation for the string constants opzn, shrinking the constnats block from: Block ID #11 (CONSTANTS_BLOCK): Num Instances: 1722 Total Size: 3.85976e+06b/482470B/12

[llvm-commits] CVS: llvm/CREDITS.TXT

2007-05-05 Thread Lauro Ramos Venancio
Changes in directory llvm: CREDITS.TXT updated: 1.76 -> 1.77 --- Log message: Add myself. --- Diffs of the changes: (+5 -0) CREDITS.TXT |5 + 1 files changed, 5 insertions(+) Index: llvm/CREDITS.TXT diff -u llvm/CREDITS.TXT:1.76 llvm/CREDITS.TXT:1.77 --- llvm/CREDITS.TXT:1.76

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp ValueEnumerator.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.43 -> 1.44 ValueEnumerator.cpp updated: 1.11 -> 1.12 --- Log message: implement the 'string constant' optimization. This shrinks kc.bit from 2878544 to 2815788 --- Diffs of the changes: (+11 -4) BitcodeWriter.cpp

[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: LLVMBitCodes.h updated: 1.16 -> 1.17 --- Log message: implement the 'string constant' optimization. This shrinks kc.bit from 2878544 to 2815788 --- Diffs of the changes: (+9 -8) LLVMBitCodes.h | 17 + 1 files changed, 9 ins

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.41 -> 1.42 --- Log message: implement the 'string constant' optimization. This shrinks kc.bit from 2878544 to 2815788 --- Diffs of the changes: (+15 -1) BitcodeReader.cpp | 16 +++- 1 files changed, 1

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.40 -> 1.41 --- Log message: further reduce the redundancy of types in the instruction encoding. This shrinks function bodies in kc++ from 891913B to 884073B --- Diffs of the changes: (+65 -64) BitcodeReader.cpp |

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.42 -> 1.43 --- Log message: further reduce the redundancy of types in the instruction encoding. This shrinks function bodies in kc++ from 891913B to 884073B --- Diffs of the changes: (+12 -20) BitcodeWriter.cpp |

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp BitcodeReader.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.39 -> 1.40 BitcodeReader.h updated: 1.17 -> 1.18 --- Log message: stop encoding type/value pairs when the type is implied by the value. This shrinks the function block of kc++ from 1055K to 906K --- Diffs of the change

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.41 -> 1.42 --- Log message: stop encoding type/value pairs when the type is implied by the value. This shrinks the function block of kc++ from 1055K to 906K --- Diffs of the changes: (+48 -35) BitcodeWriter.cpp |

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

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Globals.cpp updated: 1.24 -> 1.25 --- Log message: handle gep aliasee --- Diffs of the changes: (+4 -3) Globals.cpp |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/lib/VMCore/Globals.cpp diff -u llvm/lib/VMCore/Globals.cp

[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-05-05-InvalidPushPop.ll

2007-05-05 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: 2007-05-05-InvalidPushPop.ll added (r1.1) --- Log message: Fix PR1390: http://llvm.org/PR1390 . Don't spill extra register to align the stack. --- Diffs of the changes: (+41 -0) 2007-05-05-InvalidPushPop.ll | 41

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

2007-05-05 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.93 -> 1.94 --- Log message: Fix PR1390: http://llvm.org/PR1390 . Don't spill extra register to align the stack. --- Diffs of the changes: (+10 -38) ARMRegisterInfo.cpp | 48 ++

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitstreamWriter.h

2007-05-05 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: BitstreamWriter.h updated: 1.12 -> 1.13 --- Log message: fix a bug I introduced when I merged some code together --- Diffs of the changes: (+1 -1) BitstreamWriter.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/inclu

[llvm-commits] CVS: llvm/test/Transforms/ArgumentPromotion/recursion.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/ArgumentPromotion: recursion.ll (r1.4) removed --- Log message: this test is now in Target/README.txt --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiu

[llvm-commits] CVS: llvm/lib/Target/README.txt

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Target: README.txt updated: 1.60 -> 1.61 --- Log message: add a note --- Diffs of the changes: (+25 -0) README.txt | 25 + 1 files changed, 25 insertions(+) Index: llvm/lib/Target/README.txt diff -u llvm/lib/Target/README.txt:1.60 l

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2006-05-10-InvalidIndexUndef.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: 2006-05-10-InvalidIndexUndef.ll (r1.3) removed --- Log message: remove an old xfailed test --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.u

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.759 -> 1.760 --- Log message: Implement Transforms/InstCombine/cast_ptr.ll --- Diffs of the changes: (+22 -1) InstructionCombining.cpp | 23 ++- 1 files changed, 22 insertions(+), 1 d

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/cast_ptr.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: cast_ptr.ll updated: 1.6 -> 1.7 --- Log message: un-xfail this. --- Diffs of the changes: (+0 -1) cast_ptr.ll |1 - 1 files changed, 1 deletion(-) Index: llvm/test/Transforms/InstCombine/cast_ptr.ll diff -u llvm/test/Transforms/I

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Anton Korobeynikov
Jeff, > This is the output on my machine. It looks better than when I last > looked at it, but still leaves a lot to be desired. Could you please send me output from your native compiler. Something like 'gcc -g -O0 -S -dA foo.c' should be enough. -- With best regards, Anton Korobeynikov. Facul

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp InstructionCombining.cpp Reg2Mem.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: CorrelatedExprs.cpp updated: 1.60 -> 1.61 InstructionCombining.cpp updated: 1.758 -> 1.759 Reg2Mem.cpp updated: 1.15 -> 1.16 --- Log message: wrap long lines --- Diffs of the changes: (+15 -14) CorrelatedExprs.cpp | 10 +- Ins

[llvm-commits] CVS: llvm/lib/Target/README.txt

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Target: README.txt updated: 1.59 -> 1.60 --- Log message: the mason example is implemented. Move some examples out of llvm/test, upgrade the syntax of some other examples. --- Diffs of the changes: (+51 -36) README.txt | 87

[llvm-commits] CVS: llvm/test/Transforms/Reassociate/backwards.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/Reassociate: backwards.ll (r1.1) removed --- Log message: move these xfailed tests to lib/Target/README.txt --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@

[llvm-commits] CVS: llvm/test/Transforms/TailCallElim/tail_call_with_branch.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/TailCallElim: tail_call_with_branch.ll (r1.4) removed --- Log message: move these xfailed tests to lib/Target/README.txt --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list

[llvm-commits] CVS: llvm/test/Transforms/ScalarRepl/DifferingTypes.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/ScalarRepl: DifferingTypes.ll added (r1.1) --- Log message: Move Mem2Reg/DifferingTypes.ll -> ScalarRepl/DifferingTypes.ll. -scalarrepl implements this xform. --- Diffs of the changes: (+19 -0) DifferingTypes.ll | 19 +++ 1 file

[llvm-commits] CVS: llvm/test/Transforms/Mem2Reg/DifferingTypes.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/Mem2Reg: DifferingTypes.ll (r1.6) removed --- Log message: Move Mem2Reg/DifferingTypes.ll -> ScalarRepl/DifferingTypes.ll. -scalarrepl implements this xform. --- Diffs of the changes: (+0 -0) 0 files changed ___

[llvm-commits] CVS: llvm/test/Transforms/CorrelatedExprs/looptest.ll nullpointer.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Transforms/CorrelatedExprs: looptest.ll (r1.7) removed nullpointer.ll (r1.8) removed --- Log message: remvoe two tests that cee has never gotten right --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-co

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64InstrInfo.td

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Target/IA64: IA64InstrInfo.td updated: 1.49 -> 1.50 --- Log message: implement anyextend from i1 -> i64 --- Diffs of the changes: (+2 -0) IA64InstrInfo.td |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Target/IA64/IA64InstrInfo.td diff -u llvm/l

[llvm-commits] CVS: llvm/test/CodeGen/Generic/isunord.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: isunord.ll updated: 1.5 -> 1.6 --- Log message: the sparc v8 backend handles this correctly --- Diffs of the changes: (+1 -1) isunord.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/Generic/isunord.ll d

[llvm-commits] CVS: llvm/test/CodeGen/X86/overlap-add.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: overlap-add.ll (r1.7) removed --- Log message: remove this xfail'd test, move it to the X86 readme. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiu

[llvm-commits] CVS: llvm/lib/Target/X86/README.txt

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: README.txt updated: 1.166 -> 1.167 --- Log message: move CodeGen/X86/overlap-add.ll here. --- Diffs of the changes: (+27 -0) README.txt | 27 +++ 1 files changed, 27 insertions(+) Index: llvm/lib/Target/X86/README.txt di

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Jeff Cohen
Chris Lattner wrote: > > On May 5, 2007, at 2:49 PM, Jeff Cohen wrote: > >> Chris Lattner wrote: >>> On May 5, 2007, at 2:03 PM, Jeff Cohen wrote: Are you sure that's the problem? Even on my machine, where the OS identifies the hardware as amd64, the test was correctly XFAILing. >>> >>>

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Anton Korobeynikov
> Ok, then it really is failing. Same here. This is strange, however I haven't tested debug information on C++ programs. Will try to look. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. _

[llvm-commits] CVS: llvm/test/CodeGen/X86/2005-12-03-IndirectTailCall.ll fast-cc-tail-call.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: 2005-12-03-IndirectTailCall.ll (r1.6) removed fast-cc-tail-call.ll (r1.5) removed --- Log message: We need support for tail calls, this is moved to PR1392: http://llvm.org/PR1392 --- Diffs of the changes: (+0 -0) 0 files changed _

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Chris Lattner
On May 5, 2007, at 2:49 PM, Jeff Cohen wrote: > Chris Lattner wrote: >> On May 5, 2007, at 2:03 PM, Jeff Cohen wrote: >>> Are you sure that's the problem? Even on my machine, where the OS >>> identifies the hardware as amd64, the test was correctly XFAILing. >> >> No, I'm not sure. A better que

[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-03-15-GEP-Idx-Sink.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/ARM: 2007-03-15-GEP-Idx-Sink.ll (r1.4) removed --- Log message: remove xfailed testcase (attached to pr) --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiu

[llvm-commits] CVS: llvm/test/CodeGen/Generic/bit-intrinsics.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: bit-intrinsics.ll updated: 1.3 -> 1.4 --- Log message: unxfail this, llc doesn't support this feature yet, so don't run it. --- Diffs of the changes: (+0 -2) bit-intrinsics.ll |2 -- 1 files changed, 2 deletions(-) Index: llvm/test/Code

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Jeff Cohen
Chris Lattner wrote: > On May 5, 2007, at 2:03 PM, Jeff Cohen wrote: >> Are you sure that's the problem? Even on my machine, where the OS >> identifies the hardware as amd64, the test was correctly XFAILing. > > No, I'm not sure. A better question is: why is this ppc specific? :) > > -Chris On m

[llvm-commits] CVS: llvm/test/Assembler/2004-12-06-ConstantFloatRange.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Assembler: 2004-12-06-ConstantFloatRange.ll (r1.6) removed --- Log message: Remove bogus testcase, PR409: http://llvm.org/PR409 is wontfix --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits maili

[llvm-commits] CVS: llvm/test/CFrontend/2003-02-12-NonlocalGoto.c

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2003-02-12-NonlocalGoto.c (r1.6) removed --- Log message: this tests for a missing feature. Move it to PR1391: http://llvm.org/PR1391 instead of being an xfailed testcase --- Diffs of the changes: (+0 -0) 0 files changed

[llvm-commits] [126951] Fix PR1252, patch by Anton K.

2007-05-05 Thread clattner
Revision: 126951 Author: clattner Date: 2007-05-05 14:40:50 -0700 (Sat, 05 May 2007) Log Message: --- Fix PR1252, patch by Anton K. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp ===

[llvm-commits] CVS: llvm/test/CFrontend/2004-02-13-StringInit.c.tr

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2004-02-13-StringInit.c.tr (r1.2) removed --- Log message: remove this xfailed testcase, move it into a comment in PR279: http://llvm.org/PR279 , an enhancement PR. --- Diffs of the changes: (+0 -0) 0 files changed _

[llvm-commits] CVS: llvm/test/C++Frontend/2006-09-27-Debug-Protection.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/C++Frontend: 2006-09-27-Debug-Protection.cpp updated: 1.4 -> 1.5 --- Log message: llvm-gcc3 is gone --- Diffs of the changes: (+0 -1) 2006-09-27-Debug-Protection.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/test/C++Frontend/2006-09-27-Debug-Prot

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Chris Lattner
On May 5, 2007, at 2:03 PM, Jeff Cohen wrote: > Are you sure that's the problem? Even on my machine, where the OS > identifies the hardware as amd64, the test was correctly XFAILing. No, I'm not sure. A better question is: why is this ppc specific? :) -Chris > Chris Lattner wrote: >> Changes i

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86.td

2007-05-05 Thread Anton Korobeynikov
> One question: are there any cpus that support "3dnowa" but not > "3dnow"? I definitely think, that no. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. ___ llvm-commits mailing list

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86.td

2007-05-05 Thread Chris Lattner
> >> Does 64-bit imply sse2 or sse3? >> > Again, I didn't know. :-) If they do, I can fix it. X86Subtarget.cpp says that SSE2 is always available if the cpu is 64- bit. Can the logic in that file be simplified with your changes? (is it ever possible to have SSE2 bit set but not SSE1 now?) -C

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86.td

2007-05-05 Thread Chris Lattner
On May 5, 2007, at 1:43 PM, Bill Wendling wrote: > On May 5, 2007, at 1:32 PM, Anton Korobeynikov wrote: > >> Hello, Bill. >> >>> I didn't know if they should or not. Should they? :-) >> I can check anything 3dnow-related in hardware. Do you have some >> testcase? >> > Not for 3dnow...In truth, o

Re: [llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Jeff Cohen
Are you sure that's the problem? Even on my machine, where the OS identifies the hardware as amd64, the test was correctly XFAILing. Chris Lattner wrote: > Changes in directory llvm/test/DebugInfo: > > 2006-11-06-StackTrace.cpp updated: 1.11 -> 1.12 > --- > Log message: > > fix failure on ahs3's

[llvm-commits] CVS: llvm/test/DebugInfo/2006-11-06-StackTrace.cpp

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/DebugInfo: 2006-11-06-StackTrace.cpp updated: 1.11 -> 1.12 --- Log message: fix failure on ahs3's tester --- Diffs of the changes: (+3 -1) 2006-11-06-StackTrace.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/test/DebugInfo/2006

[llvm-commits] CVS: llvm/test/Verifier/2004-01-22-FloatNormalization.ll

2007-05-05 Thread Chris Lattner
Changes in directory llvm/test/Verifier: 2004-01-22-FloatNormalization.ll (r1.4) removed --- Log message: remove bogus xfailed testcase --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu ht

  1   2   >