Commit Graph

8249 Commits

Author SHA1 Message Date
Chris Lattner
16b18fdc35 Use a set to keep track of which edges have been noticed as executable already
to avoid reprocessing PHI nodes needlessly.  This speeds up the big bad PHI
testcase 43%: from 104.9826 to 73.5157s


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8964 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 16:55:34 +00:00
Chris Lattner
3d405b07b4 Minor fixes here and there
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8963 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 16:21:03 +00:00
Chris Lattner
7d275f459b Avoid building data structures we don't really need. This improves the runtime
of a test that Bill Wendling sent me from 228.5s to 105s.  Obviously there is
more improvement to be had, but this is a nice speedup which should be "felt"
by many programs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8962 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 15:47:41 +00:00
Chris Lattner
0d4379a5b0 Convert over to short bug URLs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8961 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 06:01:38 +00:00
Alkis Evlogimenos
73ff5120eb Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs
and TargetInstrDescriptor::ImplicitUses to always point to a null
terminated array and never be null. So there is no need to check for
pointer validity when iterating over those sets. Code that looked
like:

if (const unsigned* AS = TID.ImplicitDefs) {
  for (int i = 0; AS[i]; ++i) {
    // use AS[i]
  }
}

was changed to:

for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) {
  // use *AS
}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8960 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 05:20:08 +00:00
Alkis Evlogimenos
6b8b22585c Properly close anchor tags in column descriptions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8959 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 05:09:52 +00:00
Alkis Evlogimenos
185a7ab2ed Forward declare class Type since it is used in this class and Type.h is not included
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8958 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 04:45:45 +00:00
Brian Gaeke
e9b509057b Add rule for regenerating config.h.in using autoheader.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8957 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 23:44:10 +00:00
Brian Gaeke
cbeedf73d4 Regenerated with (at top-level llvm directory):
% autoheader -I autoconf autoconf/configure.ac


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8956 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 23:39:51 +00:00
Chris Lattner
d558dc3464 whoops, don't accidentally lose variable names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8955 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:58:41 +00:00
Chris Lattner
6c266db54c Fix bug: InstCombine/cast.ll:test11 / PR#7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8954 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:54:13 +00:00
Chris Lattner
d1c5ea1071 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:53:46 +00:00
Chris Lattner
a44d8a2897 Refactor code a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8952 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:32:43 +00:00
Chris Lattner
9eacf8aac8 Add a sanity check for constant expression casts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8951 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:19:19 +00:00
Chris Lattner
fcc54b3ede Add links to bugzilla
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8950 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:14:37 +00:00
John Criswell
5512659f36 Renamed -use-spec to -use-spec2000.
The pathname to SPEC2000 is now given with the -use-spec2000 option.
On our machines, SPEC2000 will be enabled by default.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8949 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:57:39 +00:00
Chris Lattner
47ad72ca5f Cleanups, include a list of passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8948 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:38:31 +00:00
Brian Gaeke
f204012bd1 Fix bugs in mmap()-of-files test program on Mac OS X:
1) MAP_FAILED is declared to be a pointer
2) can't include sys/mman.h before sys/types.h without getting an error :-(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8947 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:33:27 +00:00
John Criswell
0c9efc2b1d Fixed the location of the expectations file.
Added the registration of the LLVM Database class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8946 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:30:07 +00:00
John Criswell
f424d7481e Switching over to the new test database.
Adding new qmt files should no longer be necessary.
QMTest should know just "magically" know what sort of test each file is.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 21:13:47 +00:00
Chris Lattner
71ab896042 Add more credits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8944 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:50:29 +00:00
Chris Lattner
644b8ee116 cleanup analyze documents
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8943 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:36:00 +00:00
Chris Lattner
651fbec146 Ensure both columns take 50%
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8942 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:35:55 +00:00
Chris Lattner
83273d5c43 no this really isn't extract
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8941 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:33:52 +00:00
Chris Lattner
1213bc773d initial checkin of the bugpoint doxs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8940 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:33:30 +00:00
Chris Lattner
26814d0dfe TTify, add links between pages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:17:24 +00:00
Chris Lattner
08a04fdd67 Consistently set the background color
Change the footer to include "maintained by"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8938 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:12:05 +00:00
Chris Lattner
bf6f438252 <tt>ify things
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8937 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:09:21 +00:00
Chris Lattner
d053efdef8 Make the index page a big more attractive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8936 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:05:23 +00:00
Chris Lattner
537a02c582 More changes and updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8935 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 20:01:09 +00:00
Chris Lattner
aaba10cb2f <tt>ify, other minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8934 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:51:55 +00:00
Chris Lattner
f8cf4161f8 <tt> stuff
simplify a bit


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8933 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:48:25 +00:00
Chris Lattner
090fcc1853 Add pointer to LLC for code generator options. <tt> a bunch of stuff which should be
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8932 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:46:37 +00:00
Chris Lattner
7a59bc8fae separate options into X86 and sparc specific options
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8931 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:42:50 +00:00
Chris Lattner
da78b002ca Fix bugzilla bug #5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8930 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:33:31 +00:00
John Criswell
8324fa7cf2 These scripts are no longer needed. They have been replaced by QMTest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8929 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 19:07:00 +00:00
Chris Lattner
ebbc1a5aa0 Bill contributed this major rewrite of the -lowerswitch pass to make it generate
logarithmic conditional branch sequences instead of linear sequences.  Thanks Bill!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8928 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 18:46:23 +00:00
Brian Gaeke
7528343cbd Add target to regenerate top-level "configure" script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8927 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 17:12:11 +00:00
Chris Lattner
8bf3385844 Wrap at 80 columns
remove -time-passes and -stats, because llvm-link doesn't really need them


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8926 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 16:36:25 +00:00
Chris Lattner
3a8bddb28d Renamed llvmas.html llvmdis.html and llvmlink.html to have hyphens in them
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8925 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 16:34:51 +00:00
Chris Lattner
a2a628f322 remove options specific to the -internalize pass, add the -debug option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8924 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 16:33:42 +00:00
Misha Brukman
94fe1f99e2 Depend on config.status instead of config.h, because config.h timestamp may not
change even though configure changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8923 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 15:24:23 +00:00
Chris Lattner
6061000b54 Fix bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8922 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 15:17:02 +00:00
John Criswell
bd082800ec Added targets that force users to re-run autoconf when the script has been
updated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8921 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 14:16:44 +00:00
Chris Lattner
5de0bac111 This header file moved. Thanks to Bill and Nightly tester for noticing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8920 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 13:45:51 +00:00
Brian Gaeke
c45be043e3 regenerated using autoconf-2.57.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8917 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 06:01:34 +00:00
Brian Gaeke
4c42378ec0 Don't abort if dlopen cannot be found; it's not like it's going to break
everything.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8916 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 05:03:36 +00:00
Brian Gaeke
a6e91d6fe7 Check for functions: strtoq, strtoll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8915 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 03:56:29 +00:00
Chris Lattner
85c5a3f31c new testcase, distilled by Brian
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8914 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 02:57:51 +00:00
Misha Brukman
1b36d676d1 Break lines so that they fit within 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8901 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-06 19:26:00 +00:00