[llvm-commits] [llvm] r45449 - in /llvm/trunk: include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/MachineOperand.h lib/CodeGen/MachineInstr.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sun Dec 30 00:11:04 2007 New Revision: 45449 URL: http://llvm.org/viewvc/llvm-project?rev=45449&view=rev Log: make machine operands fatter: give each one an up-pointer to the machineinstr that owns it. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h llvm/tr

[llvm-commits] [llvm-gcc-4.2] r45448 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-12-29 Thread Gordon Henriksen
Author: gordon Date: Sun Dec 30 00:10:20 2007 New Revision: 45448 URL: http://llvm.org/viewvc/llvm-project?rev=45448&view=rev Log: Fix up llvm-gcc translation for GC roots. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL: http://llvm.o

[llvm-commits] [llvm-gcc-4.0] r45447 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-12-29 Thread Gordon Henriksen
Author: gordon Date: Sun Dec 30 00:03:23 2007 New Revision: 45447 URL: http://llvm.org/viewvc/llvm-project?rev=45447&view=rev Log: Fix up llvm-gcc translation for GC roots. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp URL: http://llvm.o

[llvm-commits] [llvm] r45446 - /llvm/trunk/test/CFrontend/2007-09-20-GcrootAttribute.c

2007-12-29 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 29 23:45:49 2007 New Revision: 45446 URL: http://llvm.org/viewvc/llvm-project?rev=45446&view=rev Log: Strengthening this test so it fails in release mode. Modified: llvm/trunk/test/CFrontend/2007-09-20-GcrootAttribute.c Modified: llvm/trunk/test/CFrontend/2007-09

[llvm-commits] [llvm] r45445 - in /llvm/trunk/include/llvm/CodeGen: MachineInstr.h MachineOperand.h

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 22:40:25 2007 New Revision: 45445 URL: http://llvm.org/viewvc/llvm-project?rev=45445&view=rev Log: split machineoperand out into its own header file. Added: llvm/trunk/include/llvm/CodeGen/MachineOperand.h Modified: llvm/trunk/include/llvm/CodeGen/MachineI

[llvm-commits] [llvm] r45444 - in /llvm/trunk/lib/Target/X86: X86InstrInfo.cpp X86InstrInfo.h

2007-12-29 Thread Bill Wendling
Author: void Date: Sat Dec 29 21:18:58 2007 New Revision: 45444 URL: http://llvm.org/viewvc/llvm-project?rev=45444&view=rev Log: If we have a load of a global address that's not modified during the function, then go ahead and hoist it out of the loop. This is the result: $ cat a.c volatile int G;

[llvm-commits] [llvm] r45439 - /llvm/trunk/include/llvm/CodeGen/MachineInstr.h

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 19:11:43 2007 New Revision: 45439 URL: http://llvm.org/viewvc/llvm-project?rev=45439&view=rev Log: remove unneeded #includes. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h URL: http://llvm.o

[llvm-commits] [llvm] r45438 - /llvm/trunk/include/llvm/CodeGen/MachineInstr.h

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 19:04:05 2007 New Revision: 45438 URL: http://llvm.org/viewvc/llvm-project?rev=45438&view=rev Log: remove a bunch of now-dead methods. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h URL: http

[llvm-commits] [llvm] r45437 - in /llvm/trunk/lib/Target/ARM: ARMInstrInfo.cpp ARMRegisterInfo.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 19:01:54 2007 New Revision: 45437 URL: http://llvm.org/viewvc/llvm-project?rev=45437&view=rev Log: use simplified operand addition methods. Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.cpp llvm/trunk/lib/Target/ARM/ARMRegisterInfo.cpp Modified: llvm/t

[llvm-commits] [llvm] r45436 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:57:42 2007 New Revision: 45436 URL: http://llvm.org/viewvc/llvm-project?rev=45436&view=rev Log: use simplified operand addition methods. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Select

[llvm-commits] [llvm] r45435 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:51:11 2007 New Revision: 45435 URL: http://llvm.org/viewvc/llvm-project?rev=45435&view=rev Log: use simplified operand addition methods. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG

[llvm-commits] [llvm] r45434 - /llvm/trunk/include/llvm/CodeGen/MachineInstr.h

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:50:55 2007 New Revision: 45434 URL: http://llvm.org/viewvc/llvm-project?rev=45434&view=rev Log: make offset operand optional. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h URL: http://llv

[llvm-commits] [llvm] r45433 - in /llvm/trunk: include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/MachineInstrBuilder.h lib/Target/X86/X86RegisterInfo.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:45:46 2007 New Revision: 45433 URL: http://llvm.org/viewvc/llvm-project?rev=45433&view=rev Log: Shrinkify the machine operand creation method names. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h llvm/trunk/include/llvm/CodeGen/MachineInstrBui

[llvm-commits] [llvm] r45432 - in /llvm/trunk/lib/CodeGen: LiveVariables.cpp MachineInstr.cpp SelectionDAG/ScheduleDAG.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:41:17 2007 New Revision: 45432 URL: http://llvm.org/viewvc/llvm-project?rev=45432&view=rev Log: Start using the simplified methods for adding operands. Modified: llvm/trunk/lib/CodeGen/LiveVariables.cpp llvm/trunk/lib/CodeGen/MachineInstr.cpp llvm/t

[llvm-commits] [llvm] r45431 - /llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:35:18 2007 New Revision: 45431 URL: http://llvm.org/viewvc/llvm-project?rev=45431&view=rev Log: switch MIBuilder over to use the simplified operand addition methods. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstrBuilder.h Modified: llvm/trunk/inclu

[llvm-commits] [llvm] r45430 - /llvm/trunk/include/llvm/CodeGen/MachineInstr.h

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:29:19 2007 New Revision: 45430 URL: http://llvm.org/viewvc/llvm-project?rev=45430&view=rev Log: 1. Make a static MachineOperand::create* method for every operand type. 2. Move these create methods below the accessors. 3. Simplify all the MachineInstr::add* me

[llvm-commits] [llvm] r45429 - /llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:25:23 2007 New Revision: 45429 URL: http://llvm.org/viewvc/llvm-project?rev=45429&view=rev Log: tblgen shouldn't include headers from llvm codegen. Modified: llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp Modified: llvm/trunk/utils/TableGen/InstrInfoEmitte

[llvm-commits] [llvm] r45428 - in /llvm/trunk: include/llvm/CodeGen/MachineInstr.h lib/CodeGen/MachineInstr.cpp

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 18:12:25 2007 New Revision: 45428 URL: http://llvm.org/viewvc/llvm-project?rev=45428&view=rev Log: simplify some code by factoring operand construction better. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h llvm/trunk/lib/CodeGen/MachineInstr.cpp

[llvm-commits] [test-suite] r45426 - /test-suite/trunk/SingleSource/UnitTests/Integer/

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 17:18:34 2007 New Revision: 45426 URL: http://llvm.org/viewvc/llvm-project?rev=45426&view=rev Log: Remove attribution Modified: test-suite/trunk/SingleSource/UnitTests/Integer/SSAtest.c test-suite/trunk/SingleSource/UnitTests/Integer/arith.c test-suite

[llvm-commits] [llvm] r45425 - in /llvm/trunk: autoconf/ bindings/ocaml/analysis/ bindings/ocaml/bitreader/ bindings/ocaml/bitwriter/ bindings/ocaml/executionengine/ bindings/ocaml/llvm/ include/llvm/

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 16:59:10 2007 New Revision: 45425 URL: http://llvm.org/viewvc/llvm-project?rev=45425&view=rev Log: remove attribution from a variety of miscellaneous files. Modified: llvm/trunk/autoconf/configure.ac llvm/trunk/bindings/ocaml/analysis/analysis_ocaml.c

[llvm-commits] [llvm] r45423 - in /llvm/trunk/tools: gccas/gccas.sh gccld/gccld.sh llvm-upgrade/UpgradeLexer.l llvm-upgrade/UpgradeParser.y llvmc/ConfigLexer.l

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:46:15 2007 New Revision: 45423 URL: http://llvm.org/viewvc/llvm-project?rev=45423&view=rev Log: remove attributions Modified: llvm/trunk/tools/gccas/gccas.sh llvm/trunk/tools/gccld/gccld.sh llvm/trunk/tools/llvm-upgrade/UpgradeLexer.l llvm/trunk

[llvm-commits] [llvm] r45422 - in /llvm/trunk: bindings/ocaml/llvm/llvm.ml bindings/ocaml/llvm/llvm.mli bindings/ocaml/llvm/llvm_ocaml.c include/llvm-c/Core.h test/Bindings/Ocaml/vmcore.ml

2007-12-29 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 29 14:45:00 2007 New Revision: 45422 URL: http://llvm.org/viewvc/llvm-project?rev=45422&view=rev Log: Bindings for instruction calling conventions. Modified: llvm/trunk/bindings/ocaml/llvm/llvm.ml llvm/trunk/bindings/ocaml/llvm/llvm.mli llvm/trunk/bindings

[llvm-commits] [llvm] r45421 - in /llvm/trunk/tools: bugpoint/ llc/ lli/ llvm-ar/ llvm-as/ llvm-bcanalyzer/ llvm-db/ llvm-dis/ llvm-extract/ llvm-ld/ llvm-link/ llvm-nm/ llvm-prof/ llvm-ranlib/ llvm-u

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:44:31 2007 New Revision: 45421 URL: http://llvm.org/viewvc/llvm-project?rev=45421&view=rev Log: remove attributions from tools. Modified: llvm/trunk/tools/bugpoint/BugDriver.cpp llvm/trunk/tools/bugpoint/BugDriver.h llvm/trunk/tools/bugpoint/CrashDe

[llvm-commits] [llvm] r45420 - in /llvm/trunk/examples: BrainF/BrainF.cpp BrainF/BrainF.h BrainF/BrainFDriver.cpp Fibonacci/fibonacci.cpp HowToUseJIT/HowToUseJIT.cpp ModuleMaker/ModuleMaker.cpp Parall

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:37:57 2007 New Revision: 45420 URL: http://llvm.org/viewvc/llvm-project?rev=45420&view=rev Log: remove attributions from examples. Modified: llvm/trunk/examples/BrainF/BrainF.cpp llvm/trunk/examples/BrainF/BrainF.h llvm/trunk/examples/BrainF/BrainFD

[llvm-commits] [llvm] r45419 - in /llvm/trunk/utils: ./ PerfectShuffle/ TableGen/ fpcmp/

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:37:13 2007 New Revision: 45419 URL: http://llvm.org/viewvc/llvm-project?rev=45419&view=rev Log: remove attributions from utils. Modified: llvm/trunk/utils/PerfectShuffle/PerfectShuffle.cpp llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp llvm/trunk/ut

[llvm-commits] [test-suite] r45417 - in /test-suite/trunk: Makefile Makefile.FORTRAN Makefile.common Makefile.f2c Makefile.nagfortran Makefile.rules

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:15:18 2007 New Revision: 45417 URL: http://llvm.org/viewvc/llvm-project?rev=45417&view=rev Log: remove attributions from makefiles. Modified: test-suite/trunk/Makefile test-suite/trunk/Makefile.FORTRAN test-suite/trunk/Makefile.common test-suite

[llvm-commits] [llvm] r45416 - in /llvm/trunk: ./ bindings/ bindings/ocaml/ bindings/ocaml/analysis/ bindings/ocaml/bitreader/ bindings/ocaml/bitwriter/ bindings/ocaml/executionengine/ bindings/ocaml/

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:11:13 2007 New Revision: 45416 URL: http://llvm.org/viewvc/llvm-project?rev=45416&view=rev Log: remove attributions from the rest of the llvm makefiles. Modified: llvm/trunk/Makefile llvm/trunk/Makefile.common llvm/trunk/Makefile.config.in llvm/

[llvm-commits] [llvm] r45415 - in /llvm/trunk/lib: ./ Analysis/ Analysis/IPA/ Archive/ AsmParser/ Bitcode/ Bitcode/Reader/ Bitcode/Writer/ CodeGen/ CodeGen/SelectionDAG/ Debugger/ ExecutionEngine/ Exe

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:09:26 2007 New Revision: 45415 URL: http://llvm.org/viewvc/llvm-project?rev=45415&view=rev Log: remove attribution from lib Makefiles. Modified: llvm/trunk/lib/Analysis/IPA/Makefile llvm/trunk/lib/Analysis/Makefile llvm/trunk/lib/Archive/Makefile

[llvm-commits] [llvm] r45414 - in /llvm/trunk: tools/ tools/bugpoint/ tools/gccas/ tools/gccld/ tools/llc/ tools/lli/ tools/llvm-ar/ tools/llvm-as/ tools/llvm-bcanalyzer/ tools/llvm-config/ tools/llvm

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 14:07:17 2007 New Revision: 45414 URL: http://llvm.org/viewvc/llvm-project?rev=45414&view=rev Log: remove attributions from tools/utils makefiles. Modified: llvm/trunk/tools/Makefile llvm/trunk/tools/bugpoint/Makefile llvm/trunk/tools/gccas/Makefile

[llvm-commits] [llvm] r45409 - in /llvm/trunk/docs: CodingStandards.html DeveloperPolicy.html

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 13:56:08 2007 New Revision: 45409 URL: http://llvm.org/viewvc/llvm-project?rev=45409&view=rev Log: Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Modified: llvm/trunk/docs/CodingStandards.html llvm/trunk/docs/Deve

[llvm-commits] [llvm] r45408 - /llvm/trunk/lib/Target/README.txt

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 13:38:02 2007 New Revision: 45408 URL: http://llvm.org/viewvc/llvm-project?rev=45408&view=rev Log: this is done. Modified: llvm/trunk/lib/Target/README.txt Modified: llvm/trunk/lib/Target/README.txt URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Tar

[llvm-commits] [llvm] r45407 - in /llvm/trunk: lib/Target/X86/README-SSE.txt test/CodeGen/X86/vec_set-8.ll

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 13:31:47 2007 New Revision: 45407 URL: http://llvm.org/viewvc/llvm-project?rev=45407&view=rev Log: One readme entry is done, one is really easy (Evan, want to investigate eliminating the llvm.x86.sse2.loadl.pd intrinsic?), one shuffle optzn may be done (if shufps i

[llvm-commits] [llvm] r45406 - /llvm/trunk/test/CodeGen/X86/vec_set-7.ll

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 13:24:06 2007 New Revision: 45406 URL: http://llvm.org/viewvc/llvm-project?rev=45406&view=rev Log: upgrade this test Modified: llvm/trunk/test/CodeGen/X86/vec_set-7.ll Modified: llvm/trunk/test/CodeGen/X86/vec_set-7.ll URL: http://llvm.org/viewvc/llvm-projec

Re: [llvm-commits] [llvm] r45405 - in /llvm/trunk: lib/CodeGen/SelectionDAG/TargetLowering.cpp lib/Target/X86/README.txt

2007-12-29 Thread Chris Lattner
On Dec 29, 2007, at 2:27 AM, Anton Korobeynikov wrote: > Hello, Chris > >> _foo: >> fcmpu cr7, f1, f1 >> mfcr r2 >> rlwinm r3, r2, 0, 31, 31 >> blr > How this is connected with X86 changes? :) It's a target independent improvement :) -Chris __

Re: [llvm-commits] [llvm] r45405 - in /llvm/tr unk: lib/CodeGen/SelectionDAG/TargetLow ering.cpp lib/Target/X86/README.txt

2007-12-29 Thread Anton Korobeynikov
Hello, Chris > _foo: > fcmpu cr7, f1, f1 > mfcr r2 > rlwinm r3, r2, 0, 31, 31 > blr How this is connected with X86 changes? :) -- WBR, Anton Korobeynikov ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.ui

[llvm-commits] [llvm] r45405 - in /llvm/trunk: lib/CodeGen/SelectionDAG/TargetLowering.cpp lib/Target/X86/README.txt test/CodeGen/X86/isnan.ll

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 02:37:08 2007 New Revision: 45405 URL: http://llvm.org/viewvc/llvm-project?rev=45405&view=rev Log: Fold comparisons against a constant nan, and optimize ORD/UNORD comparisons with a constant. This allows us to compile isnan to: _foo: fcmpu cr7, f1, f1

[llvm-commits] [llvm] r45404 - in /llvm/trunk: lib/Target/X86/README.txt test/CodeGen/X86/sext-load.ll

2007-12-29 Thread Chris Lattner
Author: lattner Date: Sat Dec 29 02:19:39 2007 New Revision: 45404 URL: http://llvm.org/viewvc/llvm-project?rev=45404&view=rev Log: this xform is implemented. Added: llvm/trunk/test/CodeGen/X86/sext-load.ll Modified: llvm/trunk/lib/Target/X86/README.txt Modified: llvm/trunk/lib/Target/X8

[llvm-commits] [llvm] r45403 - in /llvm/trunk/lib/Transforms/Scalar: InstructionCombining.cpp SCCP.cpp

2007-12-29 Thread Christopher Lamb
Author: clamb Date: Sat Dec 29 01:56:53 2007 New Revision: 45403 URL: http://llvm.org/viewvc/llvm-project?rev=45403&view=rev Log: Disable null pointer folding transforms for non-generic address spaces. This should probably be a target-specific predicate based on address space. That way for targe