Commit Graph

15298 Commits

Author SHA1 Message Date
Nate Begeman f5f0b6b6b0 Disable bogus cast elimination when the cast is used by a setcc instruction.
llvm-svn: 17583
2004-11-07 20:23:42 +00:00
Reid Spencer f45ec621cc Add TARGET_TRIPLE
llvm-svn: 17581
2004-11-07 19:12:53 +00:00
Reid Spencer 9caa76c982 First version of this document listing the required software. Might need
to be made platform specific. Contents reflect my Linux build environment.

llvm-svn: 17580
2004-11-07 19:07:06 +00:00
Reid Spencer 796e531721 * Comments & cleanup per CL code review.
* Accept 'llvc' as signature for compressed bytecode

llvm-svn: 17579
2004-11-07 18:20:55 +00:00
Reid Spencer 899ad356f5 Add comments per CL code review.
llvm-svn: 17578
2004-11-07 18:19:00 +00:00
Reid Spencer 37041670c0 Make compression the default on writing.
llvm-svn: 17577
2004-11-07 18:18:11 +00:00
Reid Spencer f3e639fc6a * 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.

llvm-svn: 17576
2004-11-07 18:17:38 +00:00
Tanya Lattner 9119b9cff5 Minor error.
llvm-svn: 17573
2004-11-07 08:29:03 +00:00
Tanya Lattner 7aad4fef81 Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite
llvm-svn: 17572
2004-11-07 08:24:59 +00:00
Chris Lattner db83a85dbf Revert back to r1.1, I'm just thoroughly confused :)
llvm-svn: 17571
2004-11-07 07:46:15 +00:00
Chris Lattner 1126abf1e9 Add new (old) testcase
llvm-svn: 17570
2004-11-07 07:41:32 +00:00
Tanya Lattner 84f7fda32f Added RUN lines and dejagnu support for Feature dir.
llvm-svn: 17568
2004-11-07 06:08:43 +00:00
Reid Spencer 505b225e82 Rename the option for defeating compression to be a little more specific.
llvm-svn: 17567
2004-11-07 05:50:16 +00:00
Reid Spencer f0adf68dfa Enable compression by default.
llvm-svn: 17566
2004-11-07 05:43:51 +00:00
Reid Spencer 7b05ef63f1 * Enable bytecode compression by default
* Provide a -no-compress option to defeat compression.

llvm-svn: 17565
2004-11-07 05:41:32 +00:00
Reid Spencer feb3d5097f Turn on compression by default.
Change --compress to --no-compress so compression can be turned off.

llvm-svn: 17564
2004-11-07 05:37:27 +00:00
Reid Spencer 1f9e18e7c5 * Provide option for specifying bytecode compression
* Enabled bytecode compression by default.

llvm-svn: 17563
2004-11-07 05:30:43 +00:00
Chris Lattner fbb15f39b8 Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing

llvm-svn: 17559
2004-11-07 05:05:37 +00:00
Tanya Lattner 90b172ea93 Removing old Modulosched tests since that version of modulosched does not exist anymore and llc does not support modulosched by default.
llvm-svn: 17558
2004-11-07 05:04:58 +00:00
Tanya Lattner 3b71027e18 With the changes to these files, the Regression test suite should be tested by dejagnu without anyproblem.
Some variables could be made global.

llvm-svn: 17557
2004-11-07 05:02:56 +00:00
Tanya Lattner 62f096877f Added RUN line.
llvm-svn: 17556
2004-11-07 05:01:34 +00:00
Tanya Lattner 9082d7a6fd 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.

llvm-svn: 17555
2004-11-07 04:59:52 +00:00
Tanya Lattner 902d8d58f6 Changed to XFAIL
llvm-svn: 17554
2004-11-07 04:37:08 +00:00
Chris Lattner df925ce4cd Add a section for PPC, though it's empty for now
llvm-svn: 17553
2004-11-07 01:55:32 +00:00
Chris Lattner 4c5a8055c9 Update this to expect AT&T syntax
llvm-svn: 17552
2004-11-07 01:46:16 +00:00
Misha Brukman 68dbbe46b8 * Add note about benchmarking programs and submitting reduced test cases
* Replace llvm.org with llvm.cs.uiuc.edu

llvm-svn: 17551
2004-11-07 01:03:59 +00:00
Misha Brukman aeee58fc16 Replace llvm.org => llvm.cs.uiuc.edu
llvm-svn: 17550
2004-11-07 00:59:58 +00:00
Misha Brukman 8a75d2e73b Replace uses of llvm.org with llvm.cs.uiuc.edu
llvm-svn: 17549
2004-11-07 00:58:38 +00:00
Misha Brukman 7ee6c5525e Consistently use llvm.cs.uiuc.edu instead of llvm.org
llvm-svn: 17548
2004-11-07 00:58:20 +00:00
Chris Lattner b3ba9319f1 Decompose* is V9 specific, make it internal
llvm-svn: 17547
2004-11-07 00:43:24 +00:00
Chris Lattner bf5d39fe3e This is V9 specific stuff
llvm-svn: 17546
2004-11-07 00:42:29 +00:00
Chris Lattner 595016d090 This is V9 specific, move it there.
llvm-svn: 17545
2004-11-07 00:39:26 +00:00
Chris Lattner 3dadadc837 Move this file from lib/Transforms/Scalar
llvm-svn: 17544
2004-11-07 00:39:09 +00:00
Chris Lattner f32f1ce8ab Tests for this xforms should be .ll files, and they should have run lines.
llvm-svn: 17543
2004-11-07 00:38:16 +00:00
Chris Lattner b3841e5234 Remove dead tests
llvm-svn: 17542
2004-11-07 00:36:30 +00:00
Chris Lattner 7b81822fc0 This is not part of the test
llvm-svn: 17541
2004-11-07 00:34:45 +00:00
Chris Lattner f4d3fb930e Fix a test.
These other tests should be in test/Programs/SingleSource/UnitTests if anyone
cares enough to save them

llvm-svn: 17540
2004-11-07 00:33:14 +00:00
Chris Lattner f02a1137f9 Nuke useless testcases
llvm-svn: 17539
2004-11-07 00:30:51 +00:00
Chris Lattner 5993ea5da2 These files are all moved to test/Regression/CodeGen/Generic
llvm-svn: 17538
2004-11-07 00:24:14 +00:00
Chris Lattner 0624d4fd2f This test is obsolete and incorrect
llvm-svn: 17537
2004-11-06 23:42:32 +00:00
Tanya Lattner 2acf9b07fa Adding RUN lines.
llvm-svn: 17536
2004-11-06 23:32:43 +00:00
Reid Spencer 2e49204e0f Add support for compressed bytecode
llvm-svn: 17535
2004-11-06 23:17:23 +00:00
Tanya Lattner 6b01c01171 Adding RUN line.
llvm-svn: 17534
2004-11-06 23:16:51 +00:00
Tanya Lattner 16b222c6fd Adding RUN lines.
llvm-svn: 17533
2004-11-06 23:08:26 +00:00
Tanya Lattner ca21187847 Adding RUN lines.
llvm-svn: 17532
2004-11-06 22:41:00 +00:00
Tanya Lattner d9a3cebc49 Adding RUN lines.
llvm-svn: 17529
2004-11-06 22:29:57 +00:00
Tanya Lattner 32f81a5f58 Adding RUN lines.
llvm-svn: 17528
2004-11-06 22:07:09 +00:00
Tanya Lattner f14e76db43 Adding RUN lines.
llvm-svn: 17527
2004-11-06 21:40:51 +00:00
Chris Lattner 0ff1828349 Adjust to printing user+system times instead of wall times. Run the olden
numbers in 'stable' mode so that the numbers are more stable.

llvm-svn: 17525
2004-11-06 21:35:40 +00:00
Chris Lattner 1f0758cb95 Add missing run line
llvm-svn: 17522
2004-11-06 21:11:04 +00:00
Tanya Lattner b2b06fa405 First crack at support to run tests using dejagnu. This file contains a procedure to run a test like TestRunner.sh does.
llvm-svn: 17521
2004-11-06 21:07:41 +00:00
Chris Lattner 726ecb840b Add a run line
llvm-svn: 17520
2004-11-06 21:07:31 +00:00
Chris Lattner cddf99256e Add a missing run line
llvm-svn: 17519
2004-11-06 21:03:41 +00:00
Chris Lattner ca8e39d91f This pass has been removed from LLVM
llvm-svn: 17518
2004-11-06 21:02:30 +00:00
Chris Lattner 7ffc0d97aa Add missing run line
llvm-svn: 17517
2004-11-06 21:01:45 +00:00
Tanya Lattner 1d28bdac94 Adding XFAIL lines for dejagnu support.
llvm-svn: 17514
2004-11-06 20:38:27 +00:00
Reid Spencer c686a2b64b Implement the GetBytecodeSymbols interface function to extract just the
externally visible defined symbols from a bytecode file.

llvm-svn: 17503
2004-11-06 08:56:40 +00:00
Reid Spencer 20f6dc0156 Provide an interface for getting just the external symbols from a
Bytecode file.

llvm-svn: 17502
2004-11-06 08:54:47 +00:00
Reid Spencer ef24b9139a Deprecate constructors we don't want users to use.
Temporarily comment out two interface methods we might not implement.

llvm-svn: 17501
2004-11-06 08:53:59 +00:00
Reid Spencer 0f8359b061 Makefile for the LLVMArchive library.
llvm-svn: 17500
2004-11-06 08:52:36 +00:00
Reid Spencer 0cc653e59b 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

llvm-svn: 17499
2004-11-06 08:51:45 +00:00
Reid Spencer 0c6a283b2a Stop propagating method names that violate the coding standard
llvm-svn: 17498
2004-11-05 22:15:36 +00:00
Reid Spencer ed3f95892d Go ahead and trust the client not to mess with the ModuleProvider* returned
by the findModuleContainingSymbol method.

llvm-svn: 17491
2004-11-05 18:48:02 +00:00
Reid Spencer 6d2c0efec5 * Documentation corrections (thanks to Chris for nit-picking)
* Remove dead typedefs.
* Redefine how getAllPaths treats its argument.

llvm-svn: 17489
2004-11-05 17:44:26 +00:00
John Criswell ab79288e37 Fix compilation problem; make the cast and the LHS be the same type.
llvm-svn: 17488
2004-11-05 16:17:06 +00:00
Reid Spencer 50b78a6342 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.

llvm-svn: 17487
2004-11-05 09:19:17 +00:00
Chris Lattner 303bdd1e4b Remove dead var
llvm-svn: 17485
2004-11-05 04:52:08 +00:00
Chris Lattner 429aaa5855 Quiet VC++ warnings
llvm-svn: 17484
2004-11-05 04:50:59 +00:00
Chris Lattner c22ffc26b0 Do not make i have bigger scope that we need
llvm-svn: 17483
2004-11-05 04:47:37 +00:00
Chris Lattner 3c670cb65a Remove dead vars
llvm-svn: 17482
2004-11-05 04:46:22 +00:00
Chris Lattner 33eb909939 Fix some warnings on VC++
llvm-svn: 17481
2004-11-05 04:45:43 +00:00
Chris Lattner 6f38d28817 Remove this file as suggested by Jeff Cohen
llvm-svn: 17480
2004-11-05 04:17:19 +00:00
Chris Lattner 7d7f23b7db Fix project file, patch contributed by Jeff Cohen
llvm-svn: 17479
2004-11-05 04:15:30 +00:00
Misha Brukman a73e7cae72 Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
llvm-svn: 17478
2004-11-05 04:11:40 +00:00
Nate Begeman bff3d4abf0 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.

llvm-svn: 17476
2004-11-04 19:43:18 +00:00
Chris Lattner adb5342ae8 Fix typeo
llvm-svn: 17466
2004-11-04 05:00:18 +00:00
Brian Gaeke 0da246f535 Handle "call" operands of type long/ulong passed in registers.
llvm-svn: 17464
2004-11-04 00:27:04 +00:00
Chris Lattner bd2886d1f0 Cleanup this example, simplifying it and making it conform to LLVM coding
standards

llvm-svn: 17459
2004-11-03 21:43:03 +00:00
Chris Lattner a67a030d9d Don't call Constant::getNullValue when the argument could be VoidTy
llvm-svn: 17457
2004-11-03 18:51:26 +00:00
Chris Lattner f305b0ae1b 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!

llvm-svn: 17450
2004-11-03 17:15:45 +00:00
Brian Gaeke 1845e9b4c7 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.

llvm-svn: 17449
2004-11-03 17:11:23 +00:00
Reid Spencer 7206bf9e9f Top level files for building natively on win32
llvm-svn: 17447
2004-11-03 16:14:40 +00:00
Reid Spencer 67b62fbaa7 MS Visual Studio files for building LLVM on Win32 platforms.
llvm-svn: 17446
2004-11-03 16:13:14 +00:00
Chris Lattner cff3b41e95 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

llvm-svn: 17443
2004-11-02 22:18:18 +00:00
Tanya Lattner 444be61ea6 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.
llvm-svn: 17441
2004-11-02 21:04:56 +00:00
Chris Lattner 32b01c3143 Fix typo, contributed by Henrik Bach!
llvm-svn: 17434
2004-11-02 17:31:02 +00:00
Reid Spencer 651dd3ad5a * 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.

llvm-svn: 17433
2004-11-02 16:56:15 +00:00
Reid Spencer 9d0c1e0de6 * New Recursive Target: clean-all
llvm-svn: 17432
2004-11-02 16:36:03 +00:00
Chris Lattner 99d7bb3378 Fix a warning
llvm-svn: 17431
2004-11-02 15:27:57 +00:00
Chris Lattner 96f6616479 * Rearrange code slightly
* Disable broken transforms for simplifying (setcc (cast X to larger), CI)
  where CC is not != or ==

llvm-svn: 17422
2004-11-02 03:50:32 +00:00
Reid Spencer 9df63b4e52 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.

llvm-svn: 17416
2004-11-01 21:57:35 +00:00
Reid Spencer 2ed33b46d5 Add compliant header.
NOTE: This doc needs to describe the bugpoint "subsystem" not the tool.

llvm-svn: 17415
2004-11-01 21:55:46 +00:00
Reid Spencer 10c6d3f372 Add missing tag.
llvm-svn: 17414
2004-11-01 21:31:39 +00:00
Reid Spencer 6b6557c5eb Update table to llvm.css standards.
llvm-svn: 17409
2004-11-01 20:47:22 +00:00
Reid Spencer a4e9b54222 Get rid of bogus entity references.
llvm-svn: 17408
2004-11-01 20:41:01 +00:00
Chris Lattner 720eb217a7 Add placeholder variable to make Win32 work, applied for Morten Ofstad
llvm-svn: 17406
2004-11-01 20:10:20 +00:00
Reid Spencer 1e64cad5ff Attempt CSS 2 compliance.
llvm-svn: 17404
2004-11-01 09:26:57 +00:00
Reid Spencer 4ffe4a7733 Attempt CSS 2 validation.
llvm-svn: 17403
2004-11-01 09:25:03 +00:00
Reid Spencer 7336a6c337 HTML 4.01 Strict compliance.
llvm-svn: 17402
2004-11-01 09:22:49 +00:00
Reid Spencer 271fe88b3f Correct the document type declaration.
llvm-svn: 17401
2004-11-01 09:21:32 +00:00
Reid Spencer fea14b5599 Add the HTML 4.01 and CSS icons with links to validators.
llvm-svn: 17400
2004-11-01 09:19:53 +00:00
Reid Spencer 0777321b8f Attempt HTML 4.01 Strict compliance.
llvm-svn: 17399
2004-11-01 09:16:30 +00:00
Reid Spencer f0714dd617 Cleanup the constants section.
llvm-svn: 17398
2004-11-01 09:02:53 +00:00
Reid Spencer 49fb40c6d9 Remove spurious end tag, fix indentation.
llvm-svn: 17397
2004-11-01 08:30:14 +00:00
Reid Spencer 9f16cad663 Make HTML 4.01 Strict compliant.
llvm-svn: 17396
2004-11-01 08:26:25 +00:00
Reid Spencer 4d21242e66 Fix tag placement to make HTML 4.01 Strict compliant.
llvm-svn: 17395
2004-11-01 08:24:13 +00:00
Reid Spencer c3c4c4f843 Minor format tweask for tables.
llvm-svn: 17394
2004-11-01 08:19:36 +00:00
Reid Spencer ad44f5c0be Add layout classes for table elements so tables can be used for layouts.
This is easier than attempting to figure out dual purpose columnar layouts
for multiple browser types. All browsers understand tables.

llvm-svn: 17393
2004-11-01 08:18:06 +00:00
Reid Spencer 0be901556b Configuration -> BuildMode
llvm-svn: 17392
2004-11-01 07:53:17 +00:00
Reid Spencer b5b92fbaf6 Eliminate redundant variable definition. Rename Configuration -> BuildMode
Make lex/yacc output cleaned only if in a directory that has those sources.

llvm-svn: 17391
2004-11-01 07:50:27 +00:00
Chris Lattner 8af7424920 Speed up the tail duplication pass on the testcase below from 68.2s to 1.23s:
#define CL0(a) case a: f(); goto c;
 #define CL1(a) CL0(a##0) CL0(a##1) CL0(a##2) CL0(a##3) CL0(a##4) CL0(a##5) \
 CL0(a##6) CL0(a##7) CL0(a##8) CL0(a##9)
 #define CL2(a) CL1(a##0) CL1(a##1) CL1(a##2) CL1(a##3) CL1(a##4) CL1(a##5) \
 CL1(a##6) CL1(a##7) CL1(a##8) CL1(a##9)
 #define CL3(a) CL2(a##0) CL2(a##1) CL2(a##2) CL2(a##3) CL2(a##4) CL2(a##5) \
 CL2(a##6) CL2(a##7) CL2(a##8) CL2(a##9)
 #define CL4(a) CL3(a##0) CL3(a##1) CL3(a##2) CL3(a##3) CL3(a##4) CL3(a##5) \
 CL3(a##6) CL3(a##7) CL3(a##8) CL3(a##9)

 void f();

 void a() {
     int b;
  c: switch (b) {
         CL4(1)
     }
 }

This comes from GCC PR 15524

llvm-svn: 17390
2004-11-01 07:05:07 +00:00
Chris Lattner 93d1e39f3e Do not compute the predecessor list for a block unless we need it.
This speeds up simplifycfg on this program, from 44.87s to 0.29s (with
a profiled build):

 #define CL0(a) case a: goto c;
 #define CL1(a) CL0(a##0) CL0(a##1) CL0(a##2) CL0(a##3) CL0(a##4) CL0(a##5) \
 CL0(a##6) CL0(a##7) CL0(a##8) CL0(a##9)
 #define CL2(a) CL1(a##0) CL1(a##1) CL1(a##2) CL1(a##3) CL1(a##4) CL1(a##5) \
 CL1(a##6) CL1(a##7) CL1(a##8) CL1(a##9)
 #define CL3(a) CL2(a##0) CL2(a##1) CL2(a##2) CL2(a##3) CL2(a##4) CL2(a##5) \
 CL2(a##6) CL2(a##7) CL2(a##8) CL2(a##9)
 #define CL4(a) CL3(a##0) CL3(a##1) CL3(a##2) CL3(a##3) CL3(a##4) CL3(a##5) \
 CL3(a##6) CL3(a##7) CL3(a##8) CL3(a##9)

 void f();

 void a() {
     int b;
  c: switch (b) {
         CL4(1)
     }
 }

This testcase is contrived to expose N^2 behavior, but this patch should speedup
simplifycfg on any programs that use large switch statements.  This testcase
comes from GCC PR17895.

llvm-svn: 17389
2004-11-01 06:53:58 +00:00
Chris Lattner 615e7fbcf3 When compiling a file, indicate what build it is for
llvm-svn: 17388
2004-11-01 06:14:59 +00:00
Reid Spencer b1454879b3 Wrap to 80 cols
llvm-svn: 17385
2004-10-31 23:24:31 +00:00
Reid Spencer 0b40fdb0ad Add UsingLibraries.html link.
llvm-svn: 17384
2004-10-31 23:02:38 +00:00
Reid Spencer 1e3586ee1d Give table headers the striped background.
llvm-svn: 17382
2004-10-31 23:01:02 +00:00
Reid Spencer 0d6d8d0af5 * Moved from ObjectFiles.html
* Changed names of libraries to reflect new naming scheme
* Added some more introductory material
* Added a rule of thumb.

llvm-svn: 17381
2004-10-31 23:00:25 +00:00
Reid Spencer 67fe9440e6 Renamed UsingLibraries.html
llvm-svn: 17380
2004-10-31 22:59:06 +00:00
Reid Spencer 737424ced3 Get the shared library extension right on all platforms, regardless of what
Chris wants on his platform.

llvm-svn: 17379
2004-10-31 22:53:06 +00:00
Chris Lattner e3c00e9eee Fix comment
llvm-svn: 17377
2004-10-31 21:54:51 +00:00
Reid Spencer 68172d44c2 Fix output for building shared libraries per Chris' requirements
llvm-svn: 17376
2004-10-31 21:07:34 +00:00
Chris Lattner 70fdac83e3 Improve comment
llvm-svn: 17375
2004-10-31 19:57:43 +00:00
Reid Spencer 991f66abc1 Actually use the correct variable name for building bytecode files.
llvm-svn: 17374
2004-10-31 18:52:15 +00:00
Reid Spencer 8adaaf474a Add the preconditions target per suggestion by Henrik Bach.
llvm-svn: 17373
2004-10-31 18:50:34 +00:00
Reid Spencer bbc642ee5e One more missing end tag.
llvm-svn: 17371
2004-10-31 17:58:58 +00:00
Reid Spencer 301f20a824 Correct tag usage for HTML 4.01 Strict compliance
llvm-svn: 17370
2004-10-31 17:56:50 +00:00
Reid Spencer f4215f71d3 Add a tutorial and some more general concepts.
llvm-svn: 17369
2004-10-31 17:51:38 +00:00
Chris Lattner 3f7dbfc898 Add more paranoid assertions :)
llvm-svn: 17367
2004-10-31 17:45:40 +00:00
Misha Brukman 619a24c4d9 No, really, the library name is `LLVMexecve'
llvm-svn: 17366
2004-10-31 17:30:52 +00:00
Vikram S. Adve 254afc4614 Fix patterns to match only one-char words.
llvm-svn: 17365
2004-10-30 23:11:26 +00:00
Reid Spencer 965ff465eb Add a few more terms.
llvm-svn: 17364
2004-10-30 21:40:28 +00:00
Reid Spencer 1fdc95c239 Complete the description of public variables. Internal variables are listed
but not described. It might just stay that way.

llvm-svn: 17363
2004-10-30 21:39:42 +00:00
Reid Spencer a537198f2c Change macro names per naming standard in Makefile.rules.
llvm-svn: 17361
2004-10-30 09:26:22 +00:00
Reid Spencer f22aa469c9 Correct macro names per naming standard in Makefile.rules
llvm-svn: 17360
2004-10-30 09:25:27 +00:00
Reid Spencer f88808ae43 Internalize variable names to prevent recursive assignment. Cleanup docs.
llvm-svn: 17359
2004-10-30 09:19:36 +00:00
Chris Lattner c76fef1248 Fix some more problems where we called getOffset before getNode()
llvm-svn: 17358
2004-10-30 07:21:19 +00:00
Chris Lattner 8aa0bafe1a Fix three bugs:
1. Calls to external global VARIABLES should not be treated as a call to an
    external function
 2. Efficiently deleting an element from a vector by using std::swap with
    the back, then pop_back is NOT a good way to keep the vector sorted.
 3. Our hope of having stuff get deleted by making them redundant just won't
    work.  In particular, if we have three calls in sequence that should be
    merged: A, B, C   first we unify B into A.  To be sure that they appeared
    identical (so B would be erased) we set B = A.  On the next step, we
    unified C into A and set C = A.  Unfortunately, this is no guarantee that
    C = B, so we would fail to delete the dead call.  Switch to a more
    explicit scheme.

llvm-svn: 17357
2004-10-30 05:41:23 +00:00
Chris Lattner bc740090a9 Fix more undefined behavior
llvm-svn: 17356
2004-10-30 04:22:45 +00:00
Chris Lattner ba96f0fd83 * Add a method
* change some uses of NH.getNode() in a bool context to use !NH.isNull()
* Fix a bunch of places where we depended on the (undefined) order of
  evaluation of arguments to function calls to ensure that getNode() was
  called before getOffset().  In practice, this was NOT happening.

llvm-svn: 17354
2004-10-30 04:05:01 +00:00
Chris Lattner 334df0463d Add an assertion and a method
llvm-svn: 17353
2004-10-30 04:03:47 +00:00
Chris Lattner b508b00e6b No really, this is LLVM!
llvm-svn: 17352
2004-10-30 00:57:52 +00:00
Tanya Lattner ddebd1eeaa Fixed bug with infinite epilogues.
Fixed issue with generating the partial order. It now adds the nodes not in recurrences in sets for each connected component.

llvm-svn: 17351
2004-10-30 00:39:07 +00:00
Misha Brukman b56287dfd2 Fix file header comment
llvm-svn: 17350
2004-10-29 23:26:09 +00:00
Misha Brukman c7c8d88804 * Fix compilation on AIX: GCC's fixincludes eliminates isinf() declaration
* Move file comment to the top of the header where it belongs

llvm-svn: 17349
2004-10-29 23:17:45 +00:00
Reid Spencer bd44bbdc0e Don't modify user vars because they will get passed down (modified) to
sub-makes and recursively append causing huge command lines and incorrect
compilation results.

Also, fix the printvars target to align its output and ensure that the
contents of variables can't get interpreted by the shell.

llvm-svn: 17348
2004-10-29 22:14:56 +00:00
Brian Gaeke b87e08e0ef Change name of target lib to conform to new naming scheme.
llvm-svn: 17347
2004-10-29 21:57:16 +00:00
Brian Gaeke 6254a798ca Remove dependency on MRegisterInfo::getRegClass
llvm-svn: 17346
2004-10-29 21:42:27 +00:00
Misha Brukman 3415c77f59 Fix grammar (i.e.)
llvm-svn: 17343
2004-10-29 19:20:42 +00:00
Reid Spencer e6b944f2f5 Disable the build in the samples directory so that llvmc dependencies don't
mess up the build.

llvm-svn: 17342
2004-10-29 18:43:49 +00:00
Misha Brukman a8816d3fe2 The Alpha (tm) intrinsics aren't even being used
llvm-svn: 17341
2004-10-29 18:43:43 +00:00