Chris Lattner
7fdf87ff90
remove IRC transcript. Anything still misunderstood after the faq is read
...
can be added to the faq.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29744 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-17 03:25:07 +00:00
Chris Lattner
228a18e0f2
switch the SUnit pred/succ sets from being std::sets to being smallvectors.
...
This reduces selectiondag time on kc++ from 5.43s to 4.98s (9%). More
significantly, this speeds up the default ppc scheduler from ~1571ms to 1063ms,
a 33% speedup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29743 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-17 00:09:56 +00:00
Evan Cheng
b8f9723a91
Another cyclic dag test case.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29742 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-17 00:00:46 +00:00
Evan Cheng
eb8730d131
Doh. Incorrectly inverted condition. Also add a isOnlyUse check to match tablegen.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29741 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 23:59:00 +00:00
Chris Lattner
be384162c6
minor changes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29740 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 22:57:46 +00:00
Chris Lattner
67bb42aa59
add an accessor
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29739 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 22:57:08 +00:00
Patrick Jenkins
d3f341a201
My last commit added some experimental features I have been working on. This commit rolls those back.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29738 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 22:32:20 +00:00
Patrick Jenkins
b993b0a3ef
Changed the call to countloc.sh so that the correct topdirectory of the llvm build is set.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29736 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 22:18:41 +00:00
Chris Lattner
9522ee3d93
Convert vector to smallvector: 4% speedup.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29735 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 22:12:48 +00:00
Chris Lattner
67b7ff9ede
silence a warning.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29734 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 22:09:24 +00:00
Bill Wendling
b4e80c5735
Added my home web page.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29732 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 21:18:56 +00:00
Chris Lattner
5892d47a62
Change the use_list to be a smallvector instead of a vector. This reduces
...
isel time from 6.79s to 5.53s (22%) on kc++ with a release build on ppc.
Go smallvector! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29731 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 21:01:10 +00:00
Chris Lattner
f83482dcad
Use the appropriate typedef
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29730 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 20:59:32 +00:00
Reid Spencer
3b4c5d72e0
Patches to correct several bugs in llvmc.
...
Patches contributed by Bram Adams. Thanks Bram.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29729 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 20:31:44 +00:00
Rafael Espindola
ec46ea34dc
Declare the callee saved regs
...
Remove the hard coded store and load of the link register
Implement ARMFrameInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29727 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 14:43:33 +00:00
Evan Cheng
23329f5e03
SelectNodeTo() may return a SDOperand that is different from the input.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29726 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 07:30:09 +00:00
Evan Cheng
4b790573f7
RET_FLAG has an optional input flag, but it does not produce a flag result.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29725 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 07:28:58 +00:00
Reid Spencer
1014647e40
Fix a thinko noticed by Chandler Carruth.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29724 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 05:53:32 +00:00
Chris Lattner
2e40ae4de6
add a way to have multiple modules in a JIT :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29723 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 02:53:27 +00:00
Chris Lattner
5c36d78462
add a note
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29722 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 02:47:44 +00:00
Chris Lattner
fe85403467
initial changes to support JIT'ing from multiple module providers, implicitly
...
linking the program on the fly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29721 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 01:24:12 +00:00
Chris Lattner
2e6baf626d
Bugfixes for smallvector when the element size is small and N is small.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29720 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 01:23:31 +00:00
Reid Spencer
103febea8e
Add a section on how to build an RPM package as an optional release
...
activity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29719 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 00:54:50 +00:00
Reid Spencer
ea949cfafa
Add llvm.spec to the list of files to be configured.
...
Remove the search for etags. Nothing in LLVM uses it any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29718 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 00:45:38 +00:00
Reid Spencer
f7c75a6832
Add .PHONY targets for building source and binary RPM packages. You can
...
now just "make rpm" or "make srpm" and it will build them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29717 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 00:43:50 +00:00
Reid Spencer
10e46630fb
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29716 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16 00:42:52 +00:00
Chris Lattner
ccbe2ec890
Fix PowerPC/2006-08-15-SelectionCrash.ll and simplify selection code.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29715 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 23:48:22 +00:00
Chris Lattner
d039da9b41
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29714 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 23:45:28 +00:00
Chris Lattner
dfb8607397
The generated runloop shouldn't require Select to update 'Result'. In fact
...
we'd like to remove result entirely.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29713 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 23:42:26 +00:00
Chris Lattner
5298de51b8
allow Select to return the node being selected if RAU isn't needed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29712 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 23:27:50 +00:00
Chris Lattner
0b3e525a3a
Start using SDVTList more consistently
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29711 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 19:11:05 +00:00
Chris Lattner
70046e920f
add a new SDVTList type and new SelectionDAG::getVTList methods to streamline
...
the creation of canonical VTLists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29709 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 17:46:01 +00:00
Patrick Jenkins
80d9244b09
Fixed the awkward description of the -find-bugs option for bugpoint.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29708 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 17:39:40 +00:00
Patrick Jenkins
94f7850af9
Fixed the awkward description of -find-bugs in the "Advice for using bugpoint" section.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29707 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 17:38:36 +00:00
Patrick Jenkins
7d686d58a7
Added option description for -find-bugs.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29706 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 17:31:58 +00:00
Patrick Jenkins
82681661ac
This commit mentions -find-bugs under the advice for using bugpoints section of the bugpoint design and usage document.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29705 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 17:03:17 +00:00
Patrick Jenkins
032091d7f6
Adding FindBugs.cpp so the -find-bugs option will work.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29704 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 16:41:52 +00:00
Patrick Jenkins
6a3f31cb70
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.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29703 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 16:40:49 +00:00
Jim Laskey
19af0e1b49
Haste-o discovered after.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29702 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 12:15:08 +00:00
Jim Laskey
af2cca161b
Hypos pointed out by Jakob Praher.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29701 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 12:11:42 +00:00
Jim Laskey
e3c312fc89
Typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29700 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 08:14:19 +00:00
Reid Spencer
eda573ddf9
Okay, make the prose match the example too.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29697 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 04:00:29 +00:00
Reid Spencer
1c6f87d665
Some more correction to the examples, thanks to Chris Lattner.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29696 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 03:57:05 +00:00
Reid Spencer
920baeee80
Simplify this a little bit.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29695 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 03:50:10 +00:00
Reid Spencer
6ae928fc69
This script takes arguments so remove the check for number of arguments,
...
just check the first arg to see if its -topdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29694 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 03:48:22 +00:00
Reid Spencer
50739225f4
Fix an example.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29693 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 03:46:38 +00:00
Reid Spencer
80a4d05a20
Clarify the first question.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29692 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 03:43:31 +00:00
Reid Spencer
919d37151a
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29691 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 03:32:10 +00:00
Chris Lattner
884a9702bb
Add a link to the GEP faq.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29690 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 00:45:58 +00:00
Chris Lattner
33bef484ce
Add a link in a prominant location.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29689 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 00:43:35 +00:00