[llvm-commits] CVS: llvm/test/CFrontend/2006-01-13-Includes.c

2007-01-17 Thread Reid Spencer
Changes in directory llvm/test/CFrontend: 2006-01-13-Includes.c updated: 1.5 - 1.6 --- Log message: The Regression directory is now gone. --- Diffs of the changes: (+1 -1) 2006-01-13-Includes.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp X86TargetMachine.h X86TargetObjInfo.cpp X86TargetObjInfo.h

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86TargetMachine.cpp updated: 1.136 - 1.137 X86TargetMachine.h updated: 1.42 - 1.43 X86TargetObjInfo.cpp (r1.1) removed X86TargetObjInfo.h (r1.1) removed --- Log message: Revert patch. --- Diffs of the changes: (+0 -6) X86TargetMachine.cpp |5

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/Target: TargetMachine.cpp updated: 1.57 - 1.58 --- Log message: Revert patch. --- Diffs of the changes: (+0 -2) TargetMachine.cpp |2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Target/TargetMachine.cpp diff -u

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCMachOWriter.cpp PPCTargetMachine.cpp PPCTargetMachine.h PPCTargetObjInfo.cpp PPCTargetObjInfo.h

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/Target/PowerPC: PPCMachOWriter.cpp updated: 1.10 - 1.11 PPCTargetMachine.cpp updated: 1.113 - 1.114 PPCTargetMachine.h updated: 1.26 - 1.27 PPCTargetObjInfo.cpp (r1.1) removed PPCTargetObjInfo.h (r1.1) removed --- Log message: Revert patch. --- Diffs of the

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: ELFWriter.cpp updated: 1.31 - 1.32 MachOWriter.cpp updated: 1.13 - 1.14 --- Log message: Revert patch. --- Diffs of the changes: (+126 -156) ELFWriter.cpp | 116 --- MachOWriter.cpp | 166

[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h TargetObjInfo.h

2007-01-17 Thread Bill Wendling
Changes in directory llvm/include/llvm/Target: TargetMachine.h updated: 1.72 - 1.73 TargetObjInfo.h (r1.1) removed --- Log message: Revert patch. --- Diffs of the changes: (+3 -18) TargetMachine.h | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) Index:

[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h TargetOptions.h

2007-01-17 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.20 - 1.21 TargetOptions.h updated: 1.11 - 1.12 --- Log message: * Fix one more bug in PIC codegen: extra load is needed for *all* non-statics. * Introduce new option to output zero-initialized data to .bss section.

[llvm-commits] CVS: llvm/test/CodeGen/X86/test-pic-6.ll

2007-01-17 Thread Anton Korobeynikov
Changes in directory llvm/test/CodeGen/X86: test-pic-6.ll added (r1.1) --- Log message: * Fix one more bug in PIC codegen: extra load is needed for *all* non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by

[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86AsmPrinter.cpp X86Subtarget.cpp

2007-01-17 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86ATTAsmPrinter.cpp updated: 1.90 - 1.91 X86AsmPrinter.cpp updated: 1.228 - 1.229 X86Subtarget.cpp updated: 1.48 - 1.49 --- Log message: * Fix one more bug in PIC codegen: extra load is needed for *all* non-statics. * Introduce new option to output

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

2007-01-17 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.13 - 1.14 TargetMachine.cpp updated: 1.58 - 1.59 --- Log message: * Fix one more bug in PIC codegen: extra load is needed for *all* non-statics. * Introduce new option to output zero-initialized data to .bss section. This can

[llvm-commits] CVS: llvm/include/llvm/Target/TargetOptions.h

2007-01-17 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Target: TargetOptions.h updated: 1.12 - 1.13 --- Log message: Document flag --- Diffs of the changes: (+3 -0) TargetOptions.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/Target/TargetOptions.h diff -u

[llvm-commits] Zeros in bss patch for llvm-gcc

2007-01-17 Thread Anton Korobeynikov
Hello, Everyone. Now some codegens by default emit zero-initialized data to .bss section. However, sometimes it's really necessary not to do so. This patch will add handling of -fno-zero-initialized-in-bss llvm-gcc' option. It's necessary to compile crt*.o properly. PS: Also some fix some small

Re: [llvm-commits] Zeros in bss patch for llvm-gcc

2007-01-17 Thread Chris Lattner
On Jan 17, 2007, at 2:49 AM, Anton Korobeynikov wrote: Hello, Everyone. Now some codegens by default emit zero-initialized data to .bss section. However, sometimes it's really necessary not to do so. This patch will add handling of -fno-zero-initialized-in-bss llvm-gcc' option. It's

[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h

2007-01-17 Thread Chris Lattner
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.21 - 1.22 --- Log message: document that BSSSection can be null. Add new ZeroFillDirective directive. --- Diffs of the changes: (+9 -1) TargetAsmInfo.h | 10 +- 1 files changed, 9 insertions(+), 1

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.14 - 1.15 --- Log message: add new directive --- Diffs of the changes: (+1 -0) TargetAsmInfo.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/TargetAsmInfo.cpp diff -u

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.28 - 1.29 --- Log message: darwin doesn't support .bss, but it does have .zerofill --- Diffs of the changes: (+2 -0) X86TargetAsmInfo.cpp |2 ++ 1 files changed, 2 insertions(+) Index:

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86AsmPrinter.cpp updated: 1.229 - 1.230 --- Log message: restructure code a bit to make use of continue (simplifying things). Generalize the .zerofill directive emission to not be darwin-specific --- Diffs of the changes: (+95 -92)

[llvm-commits] CVS: llvm/Makefile.config.in

2007-01-17 Thread Reid Spencer
Changes in directory llvm: Makefile.config.in updated: 1.73 - 1.74 --- Log message: For PR739: http://llvm.org/PR739 : Support overriding the prefix and DESTDIR variables from the make command line. This makes the makefile system a little more GNU compliant and the feature makes it easier for

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

2007-01-17 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.126 - 1.127 --- Log message: Update assignPassManager() signature to allow selection of preferred pass manager type. This allows new FPPassManager to select Call Graph Pass Manager (if available) as its parent. --- Diffs of

[llvm-commits] CVS: llvm/include/llvm/Pass.h

2007-01-17 Thread Devang Patel
Changes in directory llvm/include/llvm: Pass.h updated: 1.75 - 1.76 --- Log message: Update assignPassManager() signature to allow selection of preferred pass manager type. This allows new FPPassManager to select Call Graph Pass Manager (if available) as its parent. --- Diffs of the

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

2007-01-17 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.127 - 1.128 --- Log message: s/PassDebugging_New/PassDebugging/g --- Diffs of the changes: (+5 -5) PassManager.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Index: llvm/lib/VMCore/PassManager.cpp

[llvm-commits] llvm-gcc4: use langhooks rather than front-end calls in i386.c

2007-01-17 Thread Duncan Sands
The section of code marked APPLE LOCAL CW asm blocks contains calls to routines that only exist in the C-like front-ends (C, C++, ObjC). Some of them are equivalent to langhook calls - so use langhooks for those. This reduces the number of stubs needed to get non C-like languages compiling.

[llvm-commits] llvm-gcc4: stubs for non C-like languages

2007-01-17 Thread Duncan Sands
Apple's gcc modifications require the existence of routines like iasm_addr and build_modify_expr (see the patch for an exhaustive list) that are only defined by the C-like front-ends (C, C++, ObjC). Trying to build other language front-ends fails at link-time because of the lack of these routines.

[llvm-commits] llvm-gcc4: resurrect fortran

2007-01-17 Thread Duncan Sands
Link with the common stub routines, and remove the partial set of stubs that were defined in the front-end. With this, the fortran compiler builds, but dies when compiling libgfortran: llvm-convert.cpp:4243: static llvm::Constant* TreeConstantToLLVM::Convert(tree_node*): Assertion

[llvm-commits] llvm-gcc4: resurrect java

2007-01-17 Thread Duncan Sands
Link with the common stub routines, and remove the partial set of stubs that were defined in the front-end. With this, a java build gets quite far, but dies at libffi/src/x86/ffi.c: In function 'ffi_prep_cif_machdep': libffi/src/x86/ffi.c:130: error: duplicate case value

[llvm-commits] llvm-gcc4: gimplifier fixes

2007-01-17 Thread Duncan Sands
Backported from gcc-4.3. These should only effect the Ada front-end. Index: gcc.llvm.master/gcc/tree.c === --- gcc.llvm.master.orig/gcc/tree.c 2007-01-17 21:40:30.0 +0100 +++ gcc.llvm.master/gcc/tree.c 2007-01-17

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

2007-01-17 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.128 - 1.129 --- Log message: Update ModulePass::assignPassManager() to take into account Preferred Pass Manager Type. --- Diffs of the changes: (+5 -4) PassManager.cpp |9 + 1 files changed, 5 insertions(+), 4

[llvm-commits] Stack and global alignment enhancement patch

2007-01-17 Thread Scott Michel
Per Chris' suggestion to submit enhancement patches to llvm-commits,... - Adds stack and global alignment options to TargetData specification strings. - Adds minimum stack and global alignment for aggregates. -scooter -- Scott Michel [EMAIL PROTECTED]

[llvm-commits] CVS: llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp

2007-01-17 Thread Devang Patel
Changes in directory llvm/lib/Analysis/IPA: CallGraphSCCPass.cpp updated: 1.10 - 1.11 --- Log message: Add CGPassManager. --- Diffs of the changes: (+124 -0) CallGraphSCCPass.cpp | 124 +++ 1 files changed, 124 insertions(+) Index:

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/include/llvm/Support: OutputBuffer.h added (r1.1) --- Log message: Refactored output buffer methods from MachO and ELF writers. --- Diffs of the changes: (+146 -0) OutputBuffer.h | 146 + 1 files changed,

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/include/llvm/CodeGen: ELFWriter.h updated: 1.14 - 1.15 MachOWriter.h updated: 1.13 - 1.14 --- Log message: Changed to use the OutputBuffer instead of the methods in MachO and ELF writers. --- Diffs of the changes: (+0 -191) ELFWriter.h | 96

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: ELFWriter.cpp updated: 1.32 - 1.33 MachOWriter.cpp updated: 1.14 - 1.15 --- Log message: Changed to use the OutputBuffer instead of the methods in MachO and ELF writers. --- Diffs of the changes: (+148 -126) ELFWriter.cpp | 112

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/Target/PowerPC: PPCMachOWriter.cpp updated: 1.11 - 1.12 --- Log message: Changed to use the OutputBuffer instead of the methods in MachO and ELF writers. --- Diffs of the changes: (+52 -31) PPCMachOWriter.cpp | 83

[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll

2007-01-17 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/CBackend: 2007-01-17-StackSaveNRestore.ll added (r1.1) --- Log message: For PR1028: http://llvm.org/PR1028 : Ensure the CBE generates calls to GCC builtins for stack_save and stack_restore when it encounters the corresponding intrinsics. Patch by Gordon

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.td

2007-01-17 Thread Reid Spencer
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.40 - 1.41 --- Log message: For PR1028: http://llvm.org/PR1028 : Add the llvm.stacksave and llvm.stackrestore intrinsics that correspond to the GCC builtins __builtin_stack_save and __builtin_stack_restore. This allows the CBE to

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.15 - 1.16 --- Log message: add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission. --- Diffs of the changes: (+1 -0) TargetAsmInfo.cpp |1 + 1 files changed, 1 insertion(+) Index:

[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h

2007-01-17 Thread Chris Lattner
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.22 - 1.23 --- Log message: add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission. --- Diffs of the changes: (+7 -0) TargetAsmInfo.h |7 +++ 1 files changed, 7 insertions(+) Index:

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.136 - 1.137 --- Log message: add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission. --- Diffs of the changes: (+9 -1) AsmPrinter.cpp | 10 +- 1 files changed, 9 insertions(+), 1 deletion(-)

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCTargetAsmInfo.cpp updated: 1.13 - 1.14 --- Log message: Modify emission of jump tables on darwin to emit an extra l label that delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job.

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.29 - 1.30 --- Log message: Modify emission of jump tables on darwin to emit an extra l label that delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. ---

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/include/llvm/Support: OutputBuffer.h updated: 1.1 - 1.2 --- Log message: Have the OutputBuffer take the is64Bit and isLittleEndian booleans. --- Diffs of the changes: (+5 -6) OutputBuffer.h | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-)

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: ELFWriter.cpp updated: 1.33 - 1.34 MachOWriter.cpp updated: 1.15 - 1.16 --- Log message: Have the OutputBuffer take the is64Bit and isLittleEndian booleans. --- Diffs of the changes: (+23 -14) ELFWriter.cpp | 16 +--- MachOWriter.cpp

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

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.98 - 1.99 --- Log message: Make sure we truncate stored values to their bit width. --- Diffs of the changes: (+40 -30) ExecutionEngine.cpp | 70 +--- 1 files

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.159 - 1.160 --- Log message: Two changes: 1. Fix logic for executeGEP. Only 32-bit and 64-bit integer types are acceptable as indices. 2. Ensure that all integer cast operations truncate their result to the

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/.cvsignore

2007-01-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: .cvsignore added (r1.1) --- Log message: Ignore the output directory --- Diffs of the changes: (+1 -0) .cvsignore |1 + 1 files changed, 1 insertion(+) Index: llvm-test/SingleSource/UnitTests/Integer/.cvsignore diff -c

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.160 - 1.161 --- Log message: Make shl instruction mask its result to the correct bitsize. This is sufficient to get llvm-test/SingleSource/UnitTests/Integer/general-test.ll working with lli in interpreter

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/Makefile

2007-01-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: Makefile updated: 1.3 - 1.4 --- Log message: Turn on ENABLE_LLI so that it is run, along with CBE, by default. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index:

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

2007-01-17 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86ATTAsmPrinter.cpp updated: 1.91 - 1.92 X86AsmPrinter.cpp updated: 1.230 - 1.231 --- Log message: Minor code clean up. --- Diffs of the changes: (+21 -18) X86ATTAsmPrinter.cpp | 37 - X86AsmPrinter.cpp|

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/SignlessTypes/ccc.c

2007-01-17 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/SignlessTypes: ccc.c updated: 1.1 - 1.2 --- Log message: Don't reference stderr, lli can't find it on Linux because it is both a global variable and a macro! --- Diffs of the changes: (+1 -1) ccc.c |2 +- 1 files changed, 1

Re: [llvm-commits] Stack and global alignment enhancement patch

2007-01-17 Thread Chris Lattner
On Jan 17, 2007, at 12:47 PM, Scott Michel wrote: Per Chris' suggestion to submit enhancement patches to llvm- commits,... - Adds stack and global alignment options to TargetData specification strings. - Adds minimum stack and global alignment for aggregates. Hi Scott, I think I

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Interpreter.h

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Interpreter.h updated: 1.80 - 1.81 --- Log message: Add an inline helper function that masks a GenericValue to a specified bit width. --- Diffs of the changes: (+12 -0) Interpreter.h | 12 1 files changed, 12

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.161 - 1.162 --- Log message: Use the new maskToBitWidth function to ensure that the results of computations do not overflow the intended bit width. --- Diffs of the changes: (+15 -10) Execution.cpp | 25

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

2007-01-17 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86AsmPrinter.cpp updated: 1.231 - 1.232 --- Log message: The zerofill directive needs a newline after it. --- Diffs of the changes: (+1 -1) X86AsmPrinter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Type.cpp updated: 1.161 - 1.162 --- Log message: Provide an isPowerOf2ByteWidth method for the IntegerType class. This will mostly be used by back ends that wish to distinguish between integer types that fit evenly within a natural integer type and those

[llvm-commits] CVS: llvm/include/llvm/DerivedTypes.h

2007-01-17 Thread Reid Spencer
Changes in directory llvm/include/llvm: DerivedTypes.h updated: 1.79 - 1.80 --- Log message: Provide an isPowerOf2ByteWidth method for the IntegerType class. This will mostly be used by back ends that wish to distinguish between integer types that fit evenly within a natural integer type and

[llvm-commits] Round 2: ABI and preferred alignment enhancement

2007-01-17 Thread Scott Michel
Previously known as struct/array vs. stack vs. global alignments... -scooter -- Scott Michel [EMAIL PROTECTED] Member of Technical Staff, CSRD 310/336-5034 The Aerospace Corporation --- old-llvm/include/llvm/Target/TargetData.h 2007-01-17

Re: [llvm-commits] Zeros in bss patch for llvm-gcc

2007-01-17 Thread Bill Wendling
Hi Anton, The small typo was maybe intentional. Because it's a macro, it's used like this: LLVM_SET_TARGET_OPTIONS(foo); With this patch, there will be an extra ';' at the end. -bw On Jan 17, 2007, at 2:49 AM, Anton Korobeynikov wrote: Hello, Everyone. Now some codegens by

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

2007-01-17 Thread Chris Lattner
+bool IntegerType::isPowerOf2ByteWidth() const { + unsigned BitWidth = getBitWidth(); + return (BitWidth 7 Log2_32(BitWidth) == Log2_32_Ceil (BitWidth)); +} + Please use the isPowerOf2_32 function or use ((BitWidth-1) BitWidth) == 0 instead of two Log2_32 calls. Thanks, -Chris

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/tramp3d-v4/

2007-01-17 Thread Chris Lattner
Changes in directory llvm-test/MultiSource/Benchmarks/tramp3d-v4: --- Log message: Directory /home/vadve/shared/PublicCVS/llvm-test/MultiSource/Benchmarks/tramp3d-v4 added to the repository --- Diffs of the changes: (+0 -0) 0 files changed

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Makefile

2007-01-17 Thread Chris Lattner
Changes in directory llvm-test/MultiSource/Benchmarks: Makefile updated: 1.12 - 1.13 --- Log message: run tramp3d-v4 benchmark --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/Makefile diff -u

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp

2007-01-17 Thread Chris Lattner
Changes in directory llvm-test/MultiSource/Benchmarks/tramp3d-v4: tramp3d-v4.cpp updated: 1.1 - 1.2 --- Log message: adjust to eliminate timing output --- Diffs of the changes: (+11 -4) tramp3d-v4.cpp | 15 +++ 1 files changed, 11 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/tramp3d-v4/Makefile

2007-01-17 Thread Chris Lattner
Changes in directory llvm-test/MultiSource/Benchmarks/tramp3d-v4: Makefile updated: 1.1 - 1.2 --- Log message: this doesn't use EH --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: README.txt updated: 1.106 - 1.107 --- Log message: move contents of PR587: http://llvm.org/PR587 to here. --- Diffs of the changes: (+45 -0) README.txt | 45 + 1 files changed, 45 insertions(+)