Commit Graph

26064 Commits

Author SHA1 Message Date
Chris Lattner 9ed9ddeae4 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 34ddd2861f 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 1277ba22b8 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 d14c6ca455 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 0afdce389c 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 bc485fdc4c Fix PowerPC/2006-08-15-SelectionCrash.ll and simplify selection code.
llvm-svn: 29715
2006-08-15 23:48:22 +00:00
Chris Lattner 75b5713bc8 New testcase
llvm-svn: 29714
2006-08-15 23:45:28 +00:00
Chris Lattner d16696d115 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 72608b5387 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 a5a3eafbd0 Start using SDVTList more consistently
llvm-svn: 29711
2006-08-15 19:11:05 +00:00
Chris Lattner f98411a220 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 499b96d5a8 Fixed the awkward description of the -find-bugs option for bugpoint.
llvm-svn: 29708
2006-08-15 17:39:40 +00:00
Patrick Jenkins d6e477dccf 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 c884cfbeb9 Added option description for -find-bugs.
llvm-svn: 29706
2006-08-15 17:31:58 +00:00
Patrick Jenkins 478cc0435b 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 38a197a2eb Adding FindBugs.cpp so the -find-bugs option will work.
llvm-svn: 29704
2006-08-15 16:41:52 +00:00
Patrick Jenkins c46c03834c 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 6047ec97ed Haste-o discovered after.
llvm-svn: 29702
2006-08-15 12:15:08 +00:00
Jim Laskey 6cef9de0c1 Hypos pointed out by Jakob Praher.
llvm-svn: 29701
2006-08-15 12:11:42 +00:00
Jim Laskey 00389a8269 Typo.
llvm-svn: 29700
2006-08-15 08:14:19 +00:00
Reid Spencer c438e0879c Okay, make the prose match the example too.
llvm-svn: 29697
2006-08-15 04:00:29 +00:00
Reid Spencer 334e26be28 Some more correction to the examples, thanks to Chris Lattner.
llvm-svn: 29696
2006-08-15 03:57:05 +00:00
Reid Spencer 7c63770b0e Simplify this a little bit.
llvm-svn: 29695
2006-08-15 03:50:10 +00:00
Reid Spencer e2bcaaa250 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 22bb5c3305 Fix an example.
llvm-svn: 29693
2006-08-15 03:46:38 +00:00
Reid Spencer 6500f40a4e Clarify the first question.
llvm-svn: 29692
2006-08-15 03:43:31 +00:00
Reid Spencer afa58f1c7d 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 6ab6672cac Add a link to the GEP faq.
llvm-svn: 29690
2006-08-15 00:45:58 +00:00
Chris Lattner 667c901622 Add a link in a prominant location.
llvm-svn: 29689
2006-08-15 00:43:35 +00:00
Chris Lattner 99908dc720 Make getNodeValueTypes methods public.
llvm-svn: 29688
2006-08-14 23:54:24 +00:00
Chris Lattner bd8877744b eliminate use of getNode that takes vector of valuetypes.
llvm-svn: 29687
2006-08-14 23:53:35 +00:00
Devang Patel 151c3969b1 untabify
llvm-svn: 29686
2006-08-14 23:37:18 +00:00
Chris Lattner 3bf4be453f 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 b23eff64f1 Avoid extra string copy.
llvm-svn: 29684
2006-08-14 23:27:36 +00:00
Reid Spencer 5f55c21d80 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 df2e100063 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 4500688cc7 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 82c0e38366 Provide indentation of the generated program.
llvm-svn: 29678
2006-08-14 22:35:15 +00:00
Chris Lattner e93a39f2d7 remove SelectionDAG::InsertISelMapEntry, it is dead
llvm-svn: 29677
2006-08-14 22:24:39 +00:00
Chris Lattner 63268f0672 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 fdb296850c avoid a warning
llvm-svn: 29674
2006-08-14 21:47:50 +00:00
Chris Lattner 6441cf93c9 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 c5bbda70e3 new testcase from PR877
llvm-svn: 29672
2006-08-14 21:37:32 +00:00
Chris Lattner c7443af7d3 Fix more validation issues
llvm-svn: 29671
2006-08-14 20:51:35 +00:00
Chris Lattner 5b560d98da Update the example to work with llvm-gcc4. Fix validation errors.
llvm-svn: 29670
2006-08-14 20:45:25 +00:00
Chris Lattner 8e37283d8b 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 a496ec35ed typo
llvm-svn: 29668
2006-08-14 20:07:50 +00:00
Reid Spencer 8627ee227c Fix a typo.
llvm-svn: 29667
2006-08-14 19:51:02 +00:00
Reid Spencer 105780fb7d Fix several grammaros and a few HTML usage items.
llvm-svn: 29665
2006-08-14 19:19:55 +00:00
Rafael Espindola 157971b04a select code like
ldr rx, [ry, #offset]

llvm-svn: 29664
2006-08-14 19:01:24 +00:00