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
Chris Lattner
3ca002bc17
Make getNodeValueTypes methods public.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29688 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:54:24 +00:00
Chris Lattner
f9f37fc52c
eliminate use of getNode that takes vector of valuetypes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29687 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:53:35 +00:00
Devang Patel
2198f9cec4
untabify
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29686 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:37:18 +00:00
Chris Lattner
2fa6d3b1fc
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29685 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:31:51 +00:00
Devang Patel
64d128de9c
Avoid extra string copy.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29684 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:27:36 +00:00
Reid Spencer
9977ea6f33
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29682 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:19:57 +00:00
Reid Spencer
cc2665d431
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29681 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 23:15:03 +00:00
Devang Patel
30235dad4b
Use mangler, instead of addUnderscore(), to get mangled name.
...
Now, LLVMSymbol keeps symbol original name and mangled name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29679 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 22:36:16 +00:00
Reid Spencer
70bbf9a3dd
Provide indentation of the generated program.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29678 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 22:35:15 +00:00
Chris Lattner
e51ee04c3d
remove SelectionDAG::InsertISelMapEntry, it is dead
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29677 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 22:24:39 +00:00
Chris Lattner
213a16c637
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 :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29675 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 22:19:25 +00:00
Chris Lattner
b5677f933f
avoid a warning
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29674 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 21:47:50 +00:00
Chris Lattner
df32aac51b
Handle single-entry PHI nodes correctly. This fixes PR877 and
...
Transforms/CondProp/2006-08-14-SingleEntryPhiCrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29673 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 21:38:05 +00:00
Chris Lattner
a7174736fa
new testcase from PR877
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29672 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 21:37:32 +00:00
Chris Lattner
6e3b7c28f3
Fix more validation issues
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29671 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 20:51:35 +00:00
Chris Lattner
5907d407e3
Update the example to work with llvm-gcc4. Fix validation errors.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29670 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 20:45:25 +00:00
Chris Lattner
130fc13506
Add the actual constant to the hash for ConstantPool nodes. Thanks to
...
Rafael Espindola for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29669 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 20:12:44 +00:00
Chris Lattner
29a965d3c4
typo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29668 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 20:07:50 +00:00
Reid Spencer
f428c0f3f3
Fix a typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29667 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 19:51:02 +00:00
Reid Spencer
b5fc9f537b
Fix several grammaros and a few HTML usage items.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29665 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 19:19:55 +00:00
Rafael Espindola
61369da0e5
select code like
...
ldr rx, [ry, #offset]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29664 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 19:01:24 +00:00
Reid Spencer
ca7592a1ba
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29663 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 18:49:05 +00:00
Devang Patel
e6dd6a11d1
Use < and >
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29662 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 18:49:03 +00:00
Devang Patel
2c1292f709
Fix verification failures.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29661 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 18:39:35 +00:00