Commit Graph

25819 Commits

Author SHA1 Message Date
Chris Lattner 3c36b702f4 Remove assertions from the SmallVector class. They slow down clients of
smallvector too much in a release build.  Removing them speeds up isel 4%.

llvm-svn: 29556
2006-08-07 23:41:59 +00:00
Chris Lattner b5bfd69172 New CSEMap datastructure impl
llvm-svn: 29555
2006-08-07 23:31:24 +00:00
Reid Spencer 70e41b14e0 Make the name of the project consistent with that specified in the
configure.ac file. This fixes some case-consistency issues between the name
of the tarball created by "make dist" and the tarball used for source when
building the LLVM RPM package.

llvm-svn: 29554
2006-08-07 23:23:39 +00:00
Reid Spencer 47b1ed7276 Remove the use of "IncludeFile" from this support facility. The mechanism
to build a loadable module is now correctly defined and documented so this
workaround isn't needed any longer.

llvm-svn: 29553
2006-08-07 23:20:15 +00:00
Reid Spencer 2b6d18a64f Make this example pass use some things from lib/Support (EscapeString,
SlowOperatingInfo, Statistics). Besides providing an example of how to
use these facilities, it also serves to debug problems with runtime linking
when dlopening a loadable module. These three support facilities exercise
different combinations of Text/Weak Weak/Text and Text/Text linking
between the executable and the module.

llvm-svn: 29552
2006-08-07 23:17:24 +00:00
Reid Spencer e6458c3fb2 For PR780:
1. Change the usage of LOADABLE_MODULE so that it implies all the things
   necessary to make a loadable module. This reduces the user's burdern to
   get a loadable module correctly built.
2. Document the usage of LOADABLE_MODULE in the MakefileGuide
3. Adjust the makefile for lib/Transforms/Hello to use the new specification
   for building loadable modules
4. Adjust the sample project to not attempt to build a shared library for
   its little library. This was just wasteful and not instructive at all.

llvm-svn: 29551
2006-08-07 23:12:15 +00:00
Chris Lattner 1ee75ce65d Revamp the "CSEMap" datastructure used in the SelectionDAG class. This
eliminates a bunch of std::map's in the SelectionDAG, replacing them with a
home-grown hashtable.

This is still a work in progress: not all the maps have been moved over and the
hashtable never resizes.  That said, this still speeds up llc 20% on kimwitu++
with -fast -regalloc=local using a release build.

llvm-svn: 29550
2006-08-07 23:03:03 +00:00
Evan Cheng b9d34bd098 Match tablegen isel changes.
llvm-svn: 29549
2006-08-07 22:28:20 +00:00
Evan Cheng 97d5cc165a Making TableGen'd instruction selection code non-recursive. This fixes PR805.
llvm-svn: 29548
2006-08-07 22:17:58 +00:00
Evan Cheng f3bda31296 Move DAGSize to SelectionDAGISel; it's used in tablegen'd isel code.
llvm-svn: 29547
2006-08-07 22:16:08 +00:00
Evan Cheng 445b91a041 Clear TopOrder before assigning topological order. Some clean ups.
llvm-svn: 29546
2006-08-07 22:13:29 +00:00
Evan Cheng 1640ae5a84 Reverse the FlaggedNodes after scanning up for flagged preds or else the order would be reversed.
llvm-svn: 29545
2006-08-07 22:12:12 +00:00
Evan Cheng d5e38e017c Make XMM, FP register dwarf register numbers consistent with gcc.
llvm-svn: 29543
2006-08-07 21:02:39 +00:00
Chris Lattner 751c8f1832 Add a clear method to SmallVector
llvm-svn: 29542
2006-08-07 05:45:34 +00:00
Reid Spencer d6f8b1c70a Remove extraneous #include.
llvm-svn: 29541
2006-08-07 05:36:24 +00:00
Reid Spencer 448e2460e0 Make the removal of files use Path::eraseFromDisk just like it does for
the removal of directories. Using std::remove is indiscriminate and can
lead to the removal of things like /dev/null if run as root. The
Path::eraseFromDisk method ensures that we only ever remove regular files
or directories, but never character or block special nodes.  This should
clear up the problem with usage like: llvm-as -o /dev/null which is used
in the llvm-test makefiles.

llvm-svn: 29540
2006-08-07 05:34:08 +00:00
Reid Spencer 5f9e301521 Add a note about how the "isFile" check in Path::eraseFromDisk prevents
the erasure of non-file paths like /dev/null.

llvm-svn: 29539
2006-08-07 05:20:05 +00:00
Patrick Jenkins 814928fb32 Reinstated the sending of a list of all dejagnutests run. Also fixed a rather embarresing error introduced during version 1.41 where i commented out the actual sending of the data to the results server.
llvm-svn: 29538
2006-08-07 01:54:37 +00:00
Patrick Jenkins f6f9f6509e no longer sending the list of all dejagnu tests because it is too big at the present time
llvm-svn: 29537
2006-08-06 21:47:43 +00:00
Chris Lattner de48f1ba0a Silence a warning on x86-64, reported by chandlerc.
llvm-svn: 29535
2006-08-06 18:12:50 +00:00
Evan Cheng 927f95b5cf This causes some random crashes.
llvm-svn: 29534
2006-08-05 17:31:00 +00:00
Anton Korobeynikov 4bf026787a Fixed typo. Thanks, Reid.
llvm-svn: 29533
2006-08-04 22:55:53 +00:00
Anton Korobeynikov ec35113141 Removed usage of "sort", which can lead to undeterministic behavior on mingw & cygwin platforms.
llvm-svn: 29532
2006-08-04 21:52:23 +00:00
Patrick Jenkins 9ecfdd4185 Changed a = to a .= so we now append tests we have performed to the master list of all tests instead of assigning it as the master list.
llvm-svn: 29531
2006-08-04 21:42:58 +00:00
Devang Patel 308f033e59 Collect references from globals.
llvm-svn: 29530
2006-08-04 19:10:26 +00:00
Reid Spencer 0b52e2f433 Update the auto* tools: autoconf 2.60, libtool 1.5.22, automake 1.9.6.
Update ltld.[ch] to version 1.5.22.
Correct the notes about updating these tools (autoconf/README.TXT)
Add configure options for getting the correct option for including a whole
archive when linking.

llvm-svn: 29529
2006-08-04 18:18:08 +00:00
Jim Laskey 575df8b844 Added how to add machine passes to command line options.
llvm-svn: 29528
2006-08-04 18:10:12 +00:00
Chris Lattner cd4ff2b36f converge on the right number of %'s :)
llvm-svn: 29527
2006-08-04 18:09:27 +00:00
Patrick Jenkins 681f7f80a4 Made some more changes to the print statements in the nightly tester. The last commit was a preemptive strike.
llvm-svn: 29526
2006-08-04 17:55:01 +00:00
Patrick Jenkins 19685f14eb Encapsulated all of the print statements in "if( $VERBOSE) { }". The testing script will be absoutely silent now except for errors, which will still be printed to the annoyance of the user.
llvm-svn: 29525
2006-08-04 17:53:27 +00:00
Chris Lattner 8927c875bb Make SelectionDAG::RemoveDeadNodes iterative instead of recursive, which
also make it simpler.

llvm-svn: 29524
2006-08-04 17:45:20 +00:00
Patrick Jenkins 8c2b8f3b0b We should now send the correct list of dejagnu tests instead of the csv file of test results when we submit results back to the nightly tester.
llvm-svn: 29523
2006-08-04 17:40:54 +00:00
Reid Spencer 661f62625a Use the %llvm-gcc% variable to find llvm-gcc for those of us that don't
have it in our path and to ensure it uses the configured llvm-gcc not just
any one randomly placed in the path.

llvm-svn: 29522
2006-08-04 17:35:18 +00:00
Rafael Espindola 2bcb8c0f05 use a 'register pressure reducing' scheduler
make sure only one move is used in a hello world

llvm-svn: 29520
2006-08-04 12:48:42 +00:00
Rafael Espindola e19f6fde2d Bug fix: always generate a RET_FLAG in LowerRET
fixes ret_null.ll and call.ll

llvm-svn: 29519
2006-08-03 22:50:11 +00:00
Chris Lattner c4774271ea updated CVS server location
llvm-svn: 29518
2006-08-03 22:14:43 +00:00
Reid Spencer a5c3483f7d For PR845:
Enable the makefile check on the result of find-cycles.pl. LLVM is now
cycle free and we intend to keep it that way. This patch will fail the
build if cycles are found.

llvm-svn: 29517
2006-08-03 21:46:42 +00:00
Reid Spencer c45a6e40bd Fix a typo in the name of expand_dependencies.
Make the dependency line pattern match handle white space better.

llvm-svn: 29516
2006-08-03 21:45:35 +00:00
Chris Lattner c9009d917d Fix PR867 (and maybe 868) and testcsae:
Transforms/SimplifyCFG/2006-08-03-Crash.ll

llvm-svn: 29515
2006-08-03 21:40:24 +00:00
Chris Lattner 64de8fb7e8 new testcase for pr867
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Jim Laskey 79bf4c67fc Applying for all.
llvm-svn: 29512
2006-08-03 20:56:35 +00:00
Jim Laskey a5b707e3ad Copy the liveins for the first block. PR859
llvm-svn: 29511
2006-08-03 20:51:06 +00:00
Jim Laskey d9f2969cdb Make all the schedulers continue to work.
llvm-svn: 29510
2006-08-03 20:49:29 +00:00
Reid Spencer e141e3187a Print an error message if the lib directory (first argument) is not a
directory.

llvm-svn: 29508
2006-08-03 19:10:03 +00:00
Chris Lattner 0655fcaf8c update comment
llvm-svn: 29507
2006-08-03 18:57:28 +00:00
Chris Lattner fef2c5f0a2 remove some more dead sparcv9 support stuff
llvm-svn: 29506
2006-08-03 18:55:44 +00:00
Chris Lattner 682ff0dd15 remove a dead proto
llvm-svn: 29505
2006-08-03 18:51:04 +00:00
Jim Laskey f2c14591e6 Get darwin intel debugging up and running.
llvm-svn: 29504
2006-08-03 17:27:09 +00:00
Devang Patel a108423475 Make it fit into 80-columns.
llvm-svn: 29503
2006-08-03 17:26:30 +00:00
Devang Patel 27672ee821 Fix typo.
llvm-svn: 29502
2006-08-03 17:25:36 +00:00