1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
Commit Graph

8929 Commits

Author SHA1 Message Date
Chris Lattner
e081c61c0f New testcase for PR80
llvm-svn: 9699
2003-11-04 18:52:01 +00:00
Chris Lattner
5e6718da86 New testcase
llvm-svn: 9698
2003-11-04 18:34:05 +00:00
Brian Gaeke
f641ebe313 Add comments.
llvm-svn: 9697
2003-11-04 18:25:56 +00:00
Chris Lattner
397fd0d9ba While working on the pool allocator, I noticed that basicaa is failing a scary
number of simple cases.  Someday when I get a chance to work on it again, this
testcase should be corrected.

llvm-svn: 9695
2003-11-04 16:40:40 +00:00
Chris Lattner
c4cfc20335 Fix problems in previous changes. This fixes several regressions last night.
llvm-svn: 9694
2003-11-04 16:04:32 +00:00
John Criswell
3e30e40801 Checking in Chris's suggestions:
Added assert() to ensure symbol table is well formed.
Added code to remember the value that was found; resolving types can change
the symbol table and invalidate the value of the iterator.
Added comments to the ResolveTypes() function (mainly for my own benefit).
Please feel free to correct the comments if they are not accurate.

llvm-svn: 9693
2003-11-04 15:22:26 +00:00
Chris Lattner
790547084f New testcase for PR84
llvm-svn: 9690
2003-11-03 21:37:08 +00:00
John Criswell
77f2ab0370 Modified build rules so that a messages appears before and after linking.
This helps to disambiguate when linking begins and when the library/program
is linked and ready to be used.
This is sort of as preference thing, so feel free to modify/revert the change.

llvm-svn: 9687
2003-11-03 21:12:49 +00:00
Chris Lattner
414e572f11 Significantly simplify constant emission by unifying the stuff which used to build up
strings with the stuff that used to print to an ostream directly.  We now NEVER build
up big strings, only to print them once they are formed.

llvm-svn: 9686
2003-11-03 20:19:49 +00:00
Chris Lattner
53ffef88ed updates to release notes
llvm-svn: 9685
2003-11-03 20:08:08 +00:00
Chris Lattner
f100e90240 Incorporate printSingleConstantValue into its single caller
llvm-svn: 9684
2003-11-03 19:44:05 +00:00
Chris Lattner
2943114bfd * Reformat some code
* Emit bools as 1/0 instead of true/false, fixing compilation of eon and
  PR 83 & Jello/2003-11-03-GlobalBool.llx

llvm-svn: 9683
2003-11-03 19:33:45 +00:00
Chris Lattner
78decd43b9 New testcase
llvm-svn: 9682
2003-11-03 19:27:17 +00:00
Chris Lattner
8a01e11594 Fix InstCombine/2003-11-03-VarargsCallBug.ll
llvm-svn: 9681
2003-11-03 18:44:58 +00:00
Chris Lattner
d2d0cf7003 New testcase for a bug in instcombine
llvm-svn: 9680
2003-11-03 18:33:44 +00:00
Chris Lattner
40b6a81c43 Work around a bug in GCC where it can't handle common variables marked weak.
llvm-svn: 9679
2003-11-03 17:35:00 +00:00
Chris Lattner
8e65bbe451 Fix bugs with attribute weak emission
llvm-svn: 9678
2003-11-03 17:32:38 +00:00
Chris Lattner
dc9da3878f If linking a library, do not link other libraries, like libc, into it!
This fixes lots of annoying warnings and error messages

llvm-svn: 9677
2003-11-03 17:27:17 +00:00
John Criswell
fb0d09b5a1 Closed the h2 header for the LLVM Test Suite Organization section.
llvm-svn: 9676
2003-11-03 14:59:59 +00:00
Chris Lattner
d0f22d4db1 More testcases
llvm-svn: 9675
2003-11-03 05:42:50 +00:00
Chris Lattner
115f5a2e87 Move a test from cast-set to a new bit-tracking.ll file. Update file comments
llvm-svn: 9674
2003-11-03 05:30:34 +00:00
Chris Lattner
19a418db92 Implement InstCombine/cast-set.ll:test6[a]. This improves code generated for
a hot function in em3d

llvm-svn: 9673
2003-11-03 05:17:03 +00:00
Chris Lattner
643669e434 Add another case, which an implementation of test6 must be sure to handle
correctly.

llvm-svn: 9672
2003-11-03 05:08:53 +00:00
Chris Lattner
41e6298462 This simplifies the CWriter code, makes the generated code easier to read,
and makes the output work with the intel compiler.  Overall, a win.

llvm-svn: 9671
2003-11-03 04:31:54 +00:00
Chris Lattner
d8c97ff65d Implement InstCombine/cast-set.ll: test1, test2, test7
llvm-svn: 9670
2003-11-03 04:25:02 +00:00
Chris Lattner
2dd0cee6cd Add the testcase from PR8
llvm-svn: 9669
2003-11-03 03:52:34 +00:00
Chris Lattner
9ee49abb83 Add another case, which occurs in em3d
llvm-svn: 9668
2003-11-03 03:51:26 +00:00
Chris Lattner
01dd059e75 Fix bug with zero sized casts
llvm-svn: 9667
2003-11-03 01:29:41 +00:00
Chris Lattner
c92cb7905b Eliminate the silly namedContext member of printType
llvm-svn: 9666
2003-11-03 01:01:59 +00:00
Chris Lattner
6bdf3f6928 Allow CallSites to be used as the key of a map
llvm-svn: 9660
2003-11-02 23:04:33 +00:00
Chris Lattner
a71b07eeca All DSGraphs keep a reference to the targetdata they are created with. This is
used to eliminate the hard coded, hacked in, sparc specific, global TargetData.
Changing the TargetData used to actually match the code fixes problems, and
eliminates a crash.

llvm-svn: 9659
2003-11-02 22:27:28 +00:00
Chris Lattner
63fb5bcaac Fix bug: test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
llvm-svn: 9658
2003-11-02 21:02:20 +00:00
Chris Lattner
4794600a71 New testcase for DSA which is improperly collapsed!
llvm-svn: 9657
2003-11-02 20:43:10 +00:00
Chris Lattner
e005f61e9e Fix bug in previous checkin
llvm-svn: 9656
2003-11-02 06:54:48 +00:00
Chris Lattner
931d295504 The 'thefunc' function should not have weak linkage, it should have linkonce linkage.
llvm-svn: 9655
2003-11-02 06:30:39 +00:00
Chris Lattner
a06aa3d2f2 Implement transmogriphication of allocation instructions
llvm-svn: 9654
2003-11-02 05:57:39 +00:00
Chris Lattner
276e4ddaf8 Add test for instcombine transmogrifying allocation instructions
llvm-svn: 9653
2003-11-02 05:56:58 +00:00
Chris Lattner
02b779148b Add note about profile.sh
llvm-svn: 9652
2003-11-02 05:20:44 +00:00
Chris Lattner
3d3bf4a1fe Add -help option
llvm-svn: 9651
2003-11-02 05:17:32 +00:00
Chris Lattner
ff77c4e077 Bugz fixed
llvm-svn: 9650
2003-11-02 02:15:11 +00:00
Chris Lattner
5e3729d0f6 Checkin an initial version of the llvm-prof documentation
llvm-svn: 9649
2003-11-02 02:10:54 +00:00
Chris Lattner
d6b4a4c1c9 Fix PR78
llvm-svn: 9648
2003-11-02 02:06:27 +00:00
Chris Lattner
4db6e0ea7a The "correct" fix for CBackend/2003-10-23-UnusedType.ll is to not even try
to emit types which are not used.

llvm-svn: 9647
2003-11-02 01:29:27 +00:00
Chris Lattner
29f03b2d39 Including the symbol table in the FindUsedTypes analysis was the WRONG way
to fix test/Regression/CBackend/2003-10-23-UnusedType.ll.  This completely
neutered the deadtypeelim pass.

llvm-svn: 9646
2003-11-02 01:28:41 +00:00
Chris Lattner
ea2e52824b New testcase for PR79
llvm-svn: 9645
2003-11-02 00:57:56 +00:00
Chris Lattner
74d605f0aa new testcase, for PR 81
llvm-svn: 9644
2003-11-02 00:22:27 +00:00
Chris Lattner
8f4675f3f2 Regression test for PR 80
llvm-svn: 9643
2003-11-01 23:42:08 +00:00
Chris Lattner
1826fc42b4 Escape "'s, which are frequent visitors to C++ types
llvm-svn: 9642
2003-10-31 22:16:41 +00:00
Chris Lattner
18192fe20c Strip off CPR's manually, because if we don't, the inliner doesn't delete dead
functions.  GRR

llvm-svn: 9641
2003-10-31 21:05:58 +00:00
Chris Lattner
9c85e0b72c Make the call graph more precise despite the hated constantpointerrefs.
Do you detect the animosity I feel towards CPRs yet?

llvm-svn: 9640
2003-10-31 21:05:12 +00:00