Nate Begeman [Sun, 7 Nov 2004 20:23:42 +0000 (20:23 +0000)]
Disable bogus cast elimination when the cast is used by a setcc instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17583
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 19:12:53 +0000 (19:12 +0000)]
Add TARGET_TRIPLE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17581
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 19:07:06 +0000 (19:07 +0000)]
First version of this document listing the required software. Might need
to be made platform specific. Contents reflect my Linux build environment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17580
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 18:20:55 +0000 (18:20 +0000)]
* Comments & cleanup per CL code review.
* Accept 'llvc' as signature for compressed bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17579
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 18:19:00 +0000 (18:19 +0000)]
Add comments per CL code review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17578
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 18:18:11 +0000 (18:18 +0000)]
Make compression the default on writing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17577
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 18:17:38 +0000 (18:17 +0000)]
* Add comments and cleanup per CL code review
* Make signature for compressed bytecode llvc instead of unreadable
* Make the CompressionContext have a constructor and destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17576
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 08:29:03 +0000 (08:29 +0000)]
Minor error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17573
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 08:24:59 +0000 (08:24 +0000)]
Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17572
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 07:46:15 +0000 (07:46 +0000)]
Revert back to r1.1, I'm just thoroughly confused :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17571
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 07:41:32 +0000 (07:41 +0000)]
Add new (old) testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17570
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 06:08:43 +0000 (06:08 +0000)]
Added RUN lines and dejagnu support for Feature dir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17568
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 05:50:16 +0000 (05:50 +0000)]
Rename the option for defeating compression to be a little more specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17567
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 05:43:51 +0000 (05:43 +0000)]
Enable compression by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17566
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 05:41:32 +0000 (05:41 +0000)]
* Enable bytecode compression by default
* Provide a -no-compress option to defeat compression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17565
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 05:37:27 +0000 (05:37 +0000)]
Turn on compression by default.
Change --compress to --no-compress so compression can be turned off.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17564
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 7 Nov 2004 05:30:43 +0000 (05:30 +0000)]
* Provide option for specifying bytecode compression
* Enabled bytecode compression by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17563
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 05:05:37 +0000 (05:05 +0000)]
Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17559
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 05:04:58 +0000 (05:04 +0000)]
Removing old Modulosched tests since that version of modulosched does not exist anymore and llc does not support modulosched by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17558
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 05:02:56 +0000 (05:02 +0000)]
With the changes to these files, the Regression test suite should be tested by dejagnu without anyproblem.
Some variables could be made global.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17557
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 05:01:34 +0000 (05:01 +0000)]
Added RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17556
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 04:59:52 +0000 (04:59 +0000)]
Added rough support for dejagnu testing. Changes need to be made to autoconf to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash.
The dejagnu-clean needs to be fixed to use find.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17555
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sun, 7 Nov 2004 04:37:08 +0000 (04:37 +0000)]
Changed to XFAIL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17554
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 01:55:32 +0000 (01:55 +0000)]
Add a section for PPC, though it's empty for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17553
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 01:46:16 +0000 (01:46 +0000)]
Update this to expect AT&T syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17552
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 7 Nov 2004 01:03:59 +0000 (01:03 +0000)]
* Add note about benchmarking programs and submitting reduced test cases
* Replace llvm.org with llvm.cs.uiuc.edu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17551
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 7 Nov 2004 00:59:58 +0000 (00:59 +0000)]
Replace llvm.org => llvm.cs.uiuc.edu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17550
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 7 Nov 2004 00:58:38 +0000 (00:58 +0000)]
Replace uses of llvm.org with llvm.cs.uiuc.edu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17549
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 7 Nov 2004 00:58:20 +0000 (00:58 +0000)]
Consistently use llvm.cs.uiuc.edu instead of llvm.org
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17548
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:43:24 +0000 (00:43 +0000)]
Decompose* is V9 specific, make it internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17547
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:42:29 +0000 (00:42 +0000)]
This is V9 specific stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17546
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:39:26 +0000 (00:39 +0000)]
This is V9 specific, move it there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17545
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:39:09 +0000 (00:39 +0000)]
Move this file from lib/Transforms/Scalar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17544
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:38:16 +0000 (00:38 +0000)]
Tests for this xforms should be .ll files, and they should have run lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17543
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:36:30 +0000 (00:36 +0000)]
Remove dead tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17542
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:34:45 +0000 (00:34 +0000)]
This is not part of the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17541
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:33:14 +0000 (00:33 +0000)]
Fix a test.
These other tests should be in test/Programs/SingleSource/UnitTests if anyone
cares enough to save them
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17540
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:30:51 +0000 (00:30 +0000)]
Nuke useless testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17539
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:24:14 +0000 (00:24 +0000)]
These files are all moved to test/Regression/CodeGen/Generic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17538
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 23:42:32 +0000 (23:42 +0000)]
This test is obsolete and incorrect
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17537
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 23:32:43 +0000 (23:32 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 23:17:23 +0000 (23:17 +0000)]
Add support for compressed bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17535
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 23:16:51 +0000 (23:16 +0000)]
Adding RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17534
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 23:08:26 +0000 (23:08 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 22:41:00 +0000 (22:41 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17532
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 22:29:57 +0000 (22:29 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17529
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 22:07:09 +0000 (22:07 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 21:40:51 +0000 (21:40 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17527
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:35:40 +0000 (21:35 +0000)]
Adjust to printing user+system times instead of wall times. Run the olden
numbers in 'stable' mode so that the numbers are more stable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17525
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:11:04 +0000 (21:11 +0000)]
Add missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17522
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 21:07:41 +0000 (21:07 +0000)]
First crack at support to run tests using dejagnu. This file contains a procedure to run a test like TestRunner.sh does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17521
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:07:31 +0000 (21:07 +0000)]
Add a run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17520
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:03:41 +0000 (21:03 +0000)]
Add a missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17519
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:02:30 +0000 (21:02 +0000)]
This pass has been removed from LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17518
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:01:45 +0000 (21:01 +0000)]
Add missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17517
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 20:38:27 +0000 (20:38 +0000)]
Adding XFAIL lines for dejagnu support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17514
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 17:07:36 +0000 (17:07 +0000)]
From Jeff Cohen:
I checked out from cvs directly on Windows and I ran into another
problem with the project files. Evidently, the files were initially
checked in on Unix, and the files were transfered to Unix without
converting the CR/LF line endings first. When checked out on Windows,
cvs converts the files to DOS format, resulting in two CRs for each LF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17504
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:56:40 +0000 (08:56 +0000)]
Implement the GetBytecodeSymbols interface function to extract just the
externally visible defined symbols from a bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17503
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:54:47 +0000 (08:54 +0000)]
Provide an interface for getting just the external symbols from a
Bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17502
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:53:59 +0000 (08:53 +0000)]
Deprecate constructors we don't want users to use.
Temporarily comment out two interface methods we might not implement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17501
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:52:36 +0000 (08:52 +0000)]
Makefile for the LLVMArchive library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17500
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:51:45 +0000 (08:51 +0000)]
First kinda/sorta working version of the Archive library. Reading is not
yet supported but writing works. Way too early to review this. More to come
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17499
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 22:15:36 +0000 (22:15 +0000)]
Stop propagating method names that violate the coding standard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17498
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 18:48:02 +0000 (18:48 +0000)]
Go ahead and trust the client not to mess with the ModuleProvider* returned
by the findModuleContainingSymbol method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17491
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 17:44:26 +0000 (17:44 +0000)]
* Documentation corrections (thanks to Chris for nit-picking)
* Remove dead typedefs.
* Redefine how getAllPaths treats its argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17489
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 5 Nov 2004 16:17:06 +0000 (16:17 +0000)]
Fix compilation problem; make the cast and the LHS be the same type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17488
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 09:19:17 +0000 (09:19 +0000)]
First version of the interface to Archive files. This introduces the
llvm::Archive class to provide for reading, writing, indexing and search
functions on standard ar(1) format files that contain bytecode modules.
Implementation to follow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17487
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:52:08 +0000 (04:52 +0000)]
Remove dead var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17485
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:50:59 +0000 (04:50 +0000)]
Quiet VC++ warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17484
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:47:37 +0000 (04:47 +0000)]
Do not make i have bigger scope that we need
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17483
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:46:22 +0000 (04:46 +0000)]
Remove dead vars
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17482
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:45:43 +0000 (04:45 +0000)]
Fix some warnings on VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17481
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:17:19 +0000 (04:17 +0000)]
Remove this file as suggested by Jeff Cohen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17480
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:15:30 +0000 (04:15 +0000)]
Fix project file, patch contributed by Jeff Cohen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17479
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 5 Nov 2004 04:11:40 +0000 (04:11 +0000)]
Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17478
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Thu, 4 Nov 2004 19:43:18 +0000 (19:43 +0000)]
Thanks to sabre for pointing out that we were incorrectly codegen'ing
int test(int x) { return 32768 - x; }
Fixed by teaching the function that checks a constant's validity to be used
as an immediate argument about subtract-from instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17476
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 4 Nov 2004 05:00:18 +0000 (05:00 +0000)]
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17466
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 4 Nov 2004 00:27:04 +0000 (00:27 +0000)]
Handle "call" operands of type long/ulong passed in registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17464
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 3 Nov 2004 21:43:03 +0000 (21:43 +0000)]
Cleanup this example, simplifying it and making it conform to LLVM coding
standards
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17459
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 3 Nov 2004 18:51:26 +0000 (18:51 +0000)]
Don't call Constant::getNullValue when the argument could be VoidTy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17457
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 3 Nov 2004 17:15:45 +0000 (17:15 +0000)]
defining __STDC_LIMIT_MACROS on the command line is not really necessary
for Visual Studio, and is a bit of a pain when you want to include the
LLVM headers from your own project, so I moved the check a bit down into
the Unix case to avoid the hassle... Here is a patch
Patch by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17450
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 3 Nov 2004 17:11:23 +0000 (17:11 +0000)]
CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.
Due to qmtest's or llvm.py's lousy error checking, this single error
causes qmtest to fork-bomb the machine, filling the process table with
python processes that do nothing. Clearly, better error checking is
needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17449
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 3 Nov 2004 16:14:40 +0000 (16:14 +0000)]
Top level files for building natively on win32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17447
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 3 Nov 2004 16:13:14 +0000 (16:13 +0000)]
MS Visual Studio files for building LLVM on Win32 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17446
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 22:18:18 +0000 (22:18 +0000)]
Fix this function to not say that longs have 8-byte alignment on X86/PPC.
This method is really a gross hack, but at least we can make it work on
the targets we support right now.
This bug fix stops a crash in a testcase reduced from 176.gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17443
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 2 Nov 2004 21:04:56 +0000 (21:04 +0000)]
Added gross hacks such as creating my own def-use map, and picking on Instruction that I can add all my TmpInstructions to its MCFI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17441
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 20:31:06 +0000 (20:31 +0000)]
Graphs that are part of equivalence sets can be multi-function SCC's
themselves. Make sure to update DSInfo correctly. This fixes a testcase
reduced from Prolangs-C++/objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17439
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 19:29:59 +0000 (19:29 +0000)]
Correctly handle new SCC's found as a result of merging EQ graphs do to
function pointer equivalences. This fixes many problems, including a testcase
reduced Prolangs-C++/objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17437
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 17:51:11 +0000 (17:51 +0000)]
Substantially cleanup/speedup the eq graphs pass by walking the callgraph
a DSGraph at a time instead of a function at a time. This is also more
correct, though it doesn't seem to fix any programs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17435
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 17:31:02 +0000 (17:31 +0000)]
Fix typo, contributed by Henrik Bach!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17434
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 2 Nov 2004 16:56:15 +0000 (16:56 +0000)]
* New Recursive Target: clean-all. This target will recursively descend the
$(ObjDir) and clean out all build modes (Debug, Release, Profile) in
addition to the normal "clean" rules.
* Fix "clean" problems with Lex/Yacc so all files are remove properly.
* Ensure errors from "rm" don't thwart the uninstall and clean targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17433
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 2 Nov 2004 16:36:03 +0000 (16:36 +0000)]
* New Recursive Target: clean-all
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17432
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 15:27:57 +0000 (15:27 +0000)]
Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17431
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 06:38:58 +0000 (06:38 +0000)]
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17428
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 03:50:32 +0000 (03:50 +0000)]
* Rearrange code slightly
* Disable broken transforms for simplifying (setcc (cast X to larger), CI)
where CC is not != or ==
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17422
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 21:57:35 +0000 (21:57 +0000)]
List the individual tools for easier reference.
Make the bugpoint link reference the man page in the CommandGuide until
the Bugpoint.html file can describe bugpoint in a little more of a tutorial
style instead of just being a man page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17416
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 21:55:46 +0000 (21:55 +0000)]
Add compliant header.
NOTE: This doc needs to describe the bugpoint "subsystem" not the tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17415
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 21:31:39 +0000 (21:31 +0000)]
Add missing tag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17414
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 21:07:05 +0000 (21:07 +0000)]
Remove more dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17413
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 21:04:47 +0000 (21:04 +0000)]
Delete a dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17412
91177308-0d34-0410-b5e6-
96231b3b80d8