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
Reid Spencer
235c1555c3
Make all tools that use llvmdo have a -topdir option that allows the top
...
source dir for LLVM to be specified explicitly. This removes the dependency
on the llvm-config script. If the option is not given, then the scripts use
llvm-config which should be both built and in the PATH. This arrangement
provides a useful default for most developers but also allows the nightly
tester to execute countloc.sh before llvm-config is built and without
altering the PATH.
llvm-svn: 29663
2006-08-14 18:49:05 +00:00
Devang Patel
cee1799a33
Use < and >
...
llvm-svn: 29662
2006-08-14 18:49:03 +00:00
Devang Patel
c3b31161e7
Fix verification failures.
...
llvm-svn: 29661
2006-08-14 18:39:35 +00:00
Devang Patel
b1ebbee8b8
Add lto doc link.
...
llvm-svn: 29660
2006-08-14 18:21:53 +00:00
Devang Patel
b15c007812
Add lto doc.
...
llvm-svn: 29659
2006-08-14 18:03:40 +00:00
Patrick Jenkins
d531b509cc
Added some comments to clarify code around sub TestDirectory
...
llvm-svn: 29658
2006-08-14 16:07:14 +00:00
Reid Spencer
6d389e12fd
Add llvm2cpp.
...
llvm-svn: 29656
2006-08-13 19:04:57 +00:00
Reid Spencer
f82ce13179
1. fix bug by ensuring we start at the llvm source root.
...
2. make use of the -code-only option on llvmdo
3. Add some debug print statements to find #1
llvm-svn: 29655
2006-08-13 19:03:06 +00:00
Reid Spencer
0cb9ded022
Count the documentation. Otherwise we take a 30,000 hit in the LOC on the
...
nightly test graph. And, documentation is important.
llvm-svn: 29654
2006-08-13 18:59:40 +00:00
Reid Spencer
4e6115ea3a
Use the new -code-only option to llvmdo so that we only count things that
...
are considered to be code. This will give a drop in the LOC count on the
nightly testers, but it is more accurate than previous estimates.
llvm-svn: 29653
2006-08-13 18:29:21 +00:00
Reid Spencer
1be8d4c3c3
Add a -code-only option which restricts llvmdo to visiting just those
...
files that are considered to be code. Documentation is excluded.
llvm-svn: 29652
2006-08-13 18:28:27 +00:00
Reid Spencer
558269c8d6
Changes for LLVM coding standard compliance:
...
1. Remove tabs
2. Wrap to 80 columns
3. Put spaces between "if" or "elsif" and expression
4. Put { on same line as if statement.
5. Make indentation be 2 spaces.
Functionality change:
Run utils/countloc.sh after the build is done. This is necessary because
that script now uses llvm-config to find the top src directory.
llvm-svn: 29651
2006-08-13 09:53:02 +00:00
Nate Begeman
984c1a4a8f
Emit .set directives for jump table entries when possible, which reduces
...
the number of relocations in object files, shrinkifying them.
llvm-svn: 29650
2006-08-12 21:29:52 +00:00