1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
Commit Graph

26175 Commits

Author SHA1 Message Date
Chris Lattner
7476a6c710 add a note
llvm-svn: 29722
2006-08-16 02:47:44 +00:00
Chris Lattner
1eabe5fb58 initial changes to support JIT'ing from multiple module providers, implicitly
linking the program on the fly.

llvm-svn: 29721
2006-08-16 01:24:12 +00:00
Chris Lattner
2cd25d1642 Bugfixes for smallvector when the element size is small and N is small.
llvm-svn: 29720
2006-08-16 01:23:31 +00:00
Reid Spencer
971ff5c234 Add a section on how to build an RPM package as an optional release
activity.

llvm-svn: 29719
2006-08-16 00:54:50 +00:00
Reid Spencer
b3db4e3851 Add llvm.spec to the list of files to be configured.
Remove the search for etags. Nothing in LLVM uses it any more.

llvm-svn: 29718
2006-08-16 00:45:38 +00:00
Reid Spencer
db940fb3e7 Add .PHONY targets for building source and binary RPM packages. You can
now just "make rpm" or "make srpm" and it will build them.

llvm-svn: 29717
2006-08-16 00:43:50 +00:00
Reid Spencer
65d2e70cc5 Transform the LLVM RPM spec file to be a configured file. This allows us
to automatically pick up the configured version number and other details.
Also, update the contents of this script to allow building both a source
and binary version of the RPM package.

llvm-svn: 29716
2006-08-16 00:42:52 +00:00
Chris Lattner
2c12a719c0 Fix PowerPC/2006-08-15-SelectionCrash.ll and simplify selection code.
llvm-svn: 29715
2006-08-15 23:48:22 +00:00
Chris Lattner
3630dfc3c4 New testcase
llvm-svn: 29714
2006-08-15 23:45:28 +00:00
Chris Lattner
9611f01574 The generated runloop shouldn't require Select to update 'Result'. In fact
we'd like to remove result entirely.

llvm-svn: 29713
2006-08-15 23:42:26 +00:00
Chris Lattner
3771e3035f allow Select to return the node being selected if RAU isn't needed.
llvm-svn: 29712
2006-08-15 23:27:50 +00:00
Chris Lattner
cb3adb8225 Start using SDVTList more consistently
llvm-svn: 29711
2006-08-15 19:11:05 +00:00
Chris Lattner
ff1826e850 add a new SDVTList type and new SelectionDAG::getVTList methods to streamline
the creation of canonical VTLists.

llvm-svn: 29709
2006-08-15 17:46:01 +00:00
Patrick Jenkins
a7fecc75b8 Fixed the awkward description of the -find-bugs option for bugpoint.
llvm-svn: 29708
2006-08-15 17:39:40 +00:00
Patrick Jenkins
43b668def1 Fixed the awkward description of -find-bugs in the "Advice for using bugpoint" section.
llvm-svn: 29707
2006-08-15 17:38:36 +00:00
Patrick Jenkins
746464767c Added option description for -find-bugs.
llvm-svn: 29706
2006-08-15 17:31:58 +00:00
Patrick Jenkins
91e9efed83 This commit mentions -find-bugs under the advice for using bugpoints section of the bugpoint design and usage document.
llvm-svn: 29705
2006-08-15 17:03:17 +00:00
Patrick Jenkins
7161695260 Adding FindBugs.cpp so the -find-bugs option will work.
llvm-svn: 29704
2006-08-15 16:41:52 +00:00
Patrick Jenkins
689b3e1549 This commit adds a new feature called find-bugs. The find-bugs option can be invoked on a .bc file from the command like with -find-bugs and a list of passes you wish to test. This procedure takes the set of optimization passes the user specifies, randomizes the passes, runs the passes on the specified .bc file, compiles the program, and finally runs the program checking its output vs the .bc file with no optimizations. This process repeats until either the user kills bugpoint or an error occurs in the optimizations, program complitation, or the running of the program. If an error occurs, bugpoint attempts to diagnose the error by eliminating passes that are not at fault and code that is not needed.
llvm-svn: 29703
2006-08-15 16:40:49 +00:00
Jim Laskey
8f6b3a3f4a Haste-o discovered after.
llvm-svn: 29702
2006-08-15 12:15:08 +00:00
Jim Laskey
ac5dd429f9 Hypos pointed out by Jakob Praher.
llvm-svn: 29701
2006-08-15 12:11:42 +00:00
Jim Laskey
1dda263107 Typo.
llvm-svn: 29700
2006-08-15 08:14:19 +00:00
Reid Spencer
033fd39c0d Okay, make the prose match the example too.
llvm-svn: 29697
2006-08-15 04:00:29 +00:00
Reid Spencer
fcae78528d Some more correction to the examples, thanks to Chris Lattner.
llvm-svn: 29696
2006-08-15 03:57:05 +00:00
Reid Spencer
452be375b7 Simplify this a little bit.
llvm-svn: 29695
2006-08-15 03:50:10 +00:00
Reid Spencer
9d1b18e36e This script takes arguments so remove the check for number of arguments,
just check the first arg to see if its -topdir.

llvm-svn: 29694
2006-08-15 03:48:22 +00:00
Reid Spencer
5376d1a901 Fix an example.
llvm-svn: 29693
2006-08-15 03:46:38 +00:00
Reid Spencer
24f2239940 Clarify the first question.
llvm-svn: 29692
2006-08-15 03:43:31 +00:00
Reid Spencer
78bac43f3f Rearrange things for clarity, don't talk about "dereferencing" when we
shouldn't, and add a better example for one of the questions. Thanks to
Chris Lattner for these suggestions.

llvm-svn: 29691
2006-08-15 03:32:10 +00:00
Chris Lattner
180ca1aa2e Add a link to the GEP faq.
llvm-svn: 29690
2006-08-15 00:45:58 +00:00
Chris Lattner
f391863d7a Add a link in a prominant location.
llvm-svn: 29689
2006-08-15 00:43:35 +00:00
Chris Lattner
28369b8d7d Make getNodeValueTypes methods public.
llvm-svn: 29688
2006-08-14 23:54:24 +00:00
Chris Lattner
44d58ded54 eliminate use of getNode that takes vector of valuetypes.
llvm-svn: 29687
2006-08-14 23:53:35 +00:00
Devang Patel
d930310498 untabify
llvm-svn: 29686
2006-08-14 23:37:18 +00:00
Chris Lattner
8e8d9a3358 Add a new getNode() method that takes a pointer to an already-intern'd list
of value-type nodes.  This avoids having to do mallocs for std::vectors of
valuetypes when a node returns more than one type.

llvm-svn: 29685
2006-08-14 23:31:51 +00:00
Devang Patel
91349ea154 Avoid extra string copy.
llvm-svn: 29684
2006-08-14 23:27:36 +00:00
Reid Spencer
758464bc38 For PR876:
Fix problem setting the USE_{program} variable. It should be set to a
Makefile variable definition line, not just "1". Problem noted by
Kenneth Hoste.

llvm-svn: 29682
2006-08-14 23:19:57 +00:00
Reid Spencer
a324a7e3bd For PR876:
Fix problem noticed by Kenneth Hoste. The wrong name for a variable was
being set and subsequently uses of the correct name were empty.

llvm-svn: 29681
2006-08-14 23:15:03 +00:00
Devang Patel
c97ee74e6a Use mangler, instead of addUnderscore(), to get mangled name.
Now, LLVMSymbol keeps symbol original name and mangled name.

llvm-svn: 29679
2006-08-14 22:36:16 +00:00
Reid Spencer
249b932022 Provide indentation of the generated program.
llvm-svn: 29678
2006-08-14 22:35:15 +00:00
Chris Lattner
9ff7eb17e0 remove SelectionDAG::InsertISelMapEntry, it is dead
llvm-svn: 29677
2006-08-14 22:24:39 +00:00
Chris Lattner
fe1fd00ce8 Add code to resize the CSEMap hash table. This doesn't speedup codegen of
kimwitu, but seems like a good idea from a "avoid performance cliffs" standpoint :)

llvm-svn: 29675
2006-08-14 22:19:25 +00:00
Chris Lattner
67305e3cf6 avoid a warning
llvm-svn: 29674
2006-08-14 21:47:50 +00:00
Chris Lattner
d9ce68d3ec Handle single-entry PHI nodes correctly. This fixes PR877 and
Transforms/CondProp/2006-08-14-SingleEntryPhiCrash.ll

llvm-svn: 29673
2006-08-14 21:38:05 +00:00
Chris Lattner
fde089b9ff new testcase from PR877
llvm-svn: 29672
2006-08-14 21:37:32 +00:00
Chris Lattner
f8de3567f9 Fix more validation issues
llvm-svn: 29671
2006-08-14 20:51:35 +00:00
Chris Lattner
900d2595bf Update the example to work with llvm-gcc4. Fix validation errors.
llvm-svn: 29670
2006-08-14 20:45:25 +00:00
Chris Lattner
e02af2c427 Add the actual constant to the hash for ConstantPool nodes. Thanks to
Rafael Espindola for pointing this out.

llvm-svn: 29669
2006-08-14 20:12:44 +00:00
Chris Lattner
85fd338549 typo
llvm-svn: 29668
2006-08-14 20:07:50 +00:00
Reid Spencer
4b43c21b25 Fix a typo.
llvm-svn: 29667
2006-08-14 19:51:02 +00:00