Commit Graph

8688 Commits

Author SHA1 Message Date
Brian Gaeke
232db6e8d6 Move the implementations of ==, != on AllocInfos here, from UnpackTraceFunction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9452 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 20:39:18 +00:00
Brian Gaeke
537132bf12 Move AllocInfo structure to a private AllocInfo.h header file.
Make FnAllocState contain vectors of AllocInfo, instead of LLVM Constants.
Give doFinalization a method comment, and let it do the work of converting
 AllocInfos to LLVM Constants.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9451 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 20:32:55 +00:00
Brian Gaeke
b8dbbcee25 Make FnAllocState contain vectors of AllocInfo, instead of LLVM Constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9450 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 20:32:02 +00:00
Brian Gaeke
3d7125cd66 New file, containing AllocInfo structure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9449 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 20:31:51 +00:00
Chris Lattner
70bb09b04c Recommend using -z3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9445 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:49:01 +00:00
Chris Lattner
fafe630318 Remove explicit paths
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9444 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:48:11 +00:00
Chris Lattner
7c4098ee2b Add assertions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9443 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:33:49 +00:00
Chris Lattner
4a2c0e9259 Fix bug in eon hopefully
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9442 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:33:44 +00:00
Chris Lattner
472a7ef1cb Fix bug: CBackend/2003-10-23-UnusedType.ll and hopefully 252.eon
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9441 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:30:30 +00:00
Chris Lattner
10be6a6c73 New testcase, which failes to compile. 252.eon hits this problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9440 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:25:53 +00:00
John Criswell
e8a63eb78f Updated configure script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9438 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 19:16:12 +00:00
Chris Lattner
2e56dd82b3 We might as well strip off any CPRs before propagation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9437 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:49:23 +00:00
Chris Lattner
4065ef99f9 Fail gracefully if we have a zero arg varargs function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9436 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:39:22 +00:00
Chris Lattner
eaa35bb794 Turn on the IPCP pass by default. It has passed all of the tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9435 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:25:57 +00:00
Brian Gaeke
af19f2e52c Reformat. A few minor edits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9434 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:10:28 +00:00
Misha Brukman
f54c437714 * Eliminate `using' directive
* Fix order of #includes
* Make code layout more consistent
* Eliminate extraneous whitespace and comment-lines


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9433 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:10:02 +00:00
Misha Brukman
396c8c34ed * Fix order of #include files
* Doxygen-ify method comments


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9432 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:06:27 +00:00
Misha Brukman
0d82a54bb9 * Order #includes as per style guide
* Doxygen-ify comments
* Make code layout more consistent


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9431 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:03:50 +00:00
Misha Brukman
a1f64355d7 * Use C++ style comments instead of C-style
* Make file description more readable
* Make code layout more consistent, include comment in assert so it's visible
  during execution if it hits


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9430 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:02:47 +00:00
Misha Brukman
1913848e33 * Eliminate `using' directive
* Order #includes as per style guide


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9429 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 18:00:34 +00:00
Chris Lattner
ff5bf9c62b * We were forgetting to pass varargs arguments through a call
* Add a work around for bug PR56, gross but necessary for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9428 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:44:53 +00:00
Misha Brukman
0849f5ace9 * Eliminate `using' directive
* Make code layout more consistent


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9427 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:43:17 +00:00
Misha Brukman
5e152593e0 Make code layout more consistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9426 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:39:37 +00:00
Chris Lattner
eea7cca366 Zero arg varargs functions are legal in LLVM, but not in C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9425 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:31:33 +00:00
Chris Lattner
cadff4477e Delete unused EmitByteSwap method
Implement mul/div/rem constant expressions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9424 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 17:21:43 +00:00
Chris Lattner
d358e6fed5 Check in initial version of ipcp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9423 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:52:27 +00:00
Chris Lattner
815904d373 Include new prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9422 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:51:49 +00:00
Misha Brukman
b461d37be9 Make code layout more consistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9418 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:48:30 +00:00
Chris Lattner
d97487d1e0 Actually share constants local to a function!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9417 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:29:12 +00:00
Misha Brukman
c8893fcc71 * Order includes according to style guide
* Convert tabs to spaces
* Make code fit within 80 columns


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9416 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:22:08 +00:00
Misha Brukman
1da2d6a1c4 * Stop referring to llvmbugs mailing list, point them to Bugzilla
* Use ASCII (c) instead of the special character, which may not display
  correctly for everyone
* Wrap at 80 columns


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9415 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:18:51 +00:00
Chris Lattner
5139f2b549 Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:01:03 +00:00
Chris Lattner
599dcb07f7 document real source of bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9413 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:00:59 +00:00
John Criswell
e35a61c70f Added new license information in preparation for LLVM 1.0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9410 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:57:59 +00:00
Chris Lattner
0655845a4a fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:57:45 +00:00
Chris Lattner
de08597fe6 Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9408 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:51:55 +00:00
Chris Lattner
8087e25017 Fix buggy test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9407 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:46:42 +00:00
Chris Lattner
5da69c79f9 Fix an assertion failure in Bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9406 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:42:55 +00:00
John Criswell
49207925b3 Do not report errors if QMTest returns a non-zero value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9404 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 14:11:53 +00:00
Chris Lattner
653de272c2 Fix bug: instcombine/2003-10-23-InstcombineNullFail.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9403 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 05:21:48 +00:00
Chris Lattner
5e845c5444 A new testcase for an instcombine miscompilation!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9402 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 05:10:53 +00:00
Brian Gaeke
0bd2189e5f Fix apparent typo in head-of-file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9400 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 04:01:49 +00:00
Chris Lattner
e38c628939 Minor edits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9399 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 03:55:23 +00:00
Chris Lattner
c3afd9bf4b Make this pass substantially stronger by having it delete dead return values
as well as arguments.  Now it can delete arguments and return values which are
only passed into other arguments or are returned, if they are dead.  This causes
it to delete several hundred extra args/retvals from the C++ hello world program,
shrinking it by about 2K.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9398 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 03:48:17 +00:00
Chris Lattner
3087550362 To say this file is obsolete to understate the obvious
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9397 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 03:30:55 +00:00
Misha Brukman
b215425bb0 Really close the <li> tags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9396 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 02:29:42 +00:00
Misha Brukman
e8320f29af Remove extraneous comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9395 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 01:50:39 +00:00
Misha Brukman
21b892c224 * Quote a value in <font> tag.
* Let CVS figure out the last-modified-date for us


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9394 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 01:49:47 +00:00
Misha Brukman
83bd33a814 * Use UTF-8 instead of ISO-8859-1
* Use stylesheet instead of explicit <font> formatting
* Stop using <ul> for layout
* Close <li> tags


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9393 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 01:48:33 +00:00
Misha Brukman
cd11e45d61 * Use UTF-8 instead of soon-to-be-extinct ISO-8859-1 ;)
* Use stylesheets instead of explicit <font> tags
* Stop using <ul> for spacing layout
* Close <a> and <p> tags


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9392 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 23:27:16 +00:00