Chris Lattner [Thu, 17 Mar 2005 20:33:27 +0000 (20:33 +0000)]
add some possibly bogus assertions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20665
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 20:25:04 +0000 (20:25 +0000)]
Do not include the Function* for direct call/invoke instructions in the
alias evaluation. Clients really don't care.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20664
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 20:23:27 +0000 (20:23 +0000)]
typo/denial
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20663
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 20:16:58 +0000 (20:16 +0000)]
simplify this function a bit, allow DS-AA to build on/improve the mod/ref
results returned by AA, not just use one or the other.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20662
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 19:56:56 +0000 (19:56 +0000)]
Clean up some code, handle null pointer specially to avoid an assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20660
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 19:56:18 +0000 (19:56 +0000)]
Two changes:
1. Chain to the parent implementation of M/R analysis if we can't find
any information. It has some heuristics that often do well.
2. Do not clear all flags, this can make invalid nodes by turning nodes
that used to be collapsed into non-collapsed nodes (fixing crashes)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20659
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 19:00:40 +0000 (19:00 +0000)]
clean up warnings when building in release mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20658
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 18:57:02 +0000 (18:57 +0000)]
now the angry bug reports have somewhere to go!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20657
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 18:39:06 +0000 (18:39 +0000)]
statically link ia64 into llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20656
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 18:37:05 +0000 (18:37 +0000)]
OK, IA64 is statically linked into llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20655
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 18:29:04 +0000 (18:29 +0000)]
build the IA64 target as a .so for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20654
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 18:23:22 +0000 (18:23 +0000)]
dainty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20653
91177308-0d34-0410-b5e6-
96231b3b80d8
Duraid Madina [Thu, 17 Mar 2005 18:17:03 +0000 (18:17 +0000)]
and so it begins...
PHASE 1: write instruction selector
PHASE 2: ???
PHASE 3: profit!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20652
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 16:29:26 +0000 (16:29 +0000)]
Don't emit two comparisons when comparing a FP value against zero!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20651
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 16:07:45 +0000 (16:07 +0000)]
spiff up the nightly tester output one more notch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20650
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 15:38:16 +0000 (15:38 +0000)]
Fix the missing symbols problem Bill was hitting. Patch contributed by
Bill Wendling!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20649
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 05:25:34 +0000 (05:25 +0000)]
Do not create ridiculously huge DSNodes, as described in the comments.
This speeds up the BU pass on 172.mgrid from 62.3 -> 0.1242s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20648
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Mar 2005 04:49:04 +0000 (04:49 +0000)]
Fix a bug where we would consider " .99" and "1.0" different because of the
leading whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20647
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Mar 2005 22:42:45 +0000 (22:42 +0000)]
remove compat_iterator, which is dead in the tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20644
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Mar 2005 22:42:19 +0000 (22:42 +0000)]
remove use of compat_iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20643
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Mar 2005 22:42:01 +0000 (22:42 +0000)]
remove use of compat_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20642
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Mar 2005 17:09:53 +0000 (17:09 +0000)]
Print out who commits and what files were modified at the bottom of the test summary log sent to llvm-commits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20641
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Wed, 16 Mar 2005 05:49:58 +0000 (05:49 +0000)]
Do #include HashExtras.h with VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20640
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Wed, 16 Mar 2005 05:49:06 +0000 (05:49 +0000)]
Don't provide default hash struct instantiation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20639
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 16 Mar 2005 05:42:00 +0000 (05:42 +0000)]
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20638
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Wed, 16 Mar 2005 05:25:09 +0000 (05:25 +0000)]
Add adapter class to let VC++ hash_map use GCC's hash struct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20637
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Wed, 16 Mar 2005 05:09:59 +0000 (05:09 +0000)]
Remove deleted files from VC++ project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20636
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 16 Mar 2005 03:54:50 +0000 (03:54 +0000)]
Fix grammar wrt apostrophe's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20635
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 16 Mar 2005 03:46:55 +0000 (03:46 +0000)]
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20634
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 23:03:34 +0000 (23:03 +0000)]
fix some 80 column violations
Add support for programs that define main in a .a file, such as f2c'd programs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20631
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 22:55:17 +0000 (22:55 +0000)]
consolidate LinkFiles into LinkItems, use lib_* iterators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20630
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 22:51:40 +0000 (22:51 +0000)]
consolidate LinkLibraries into LinkItems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20629
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 22:47:18 +0000 (22:47 +0000)]
make sure to mark nodes in the globals graph incomplete after computing it
so that external globals (and whatever they point to) are marked incomplete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20628
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 22:10:04 +0000 (22:10 +0000)]
fix crashes when we only have a prototype for main.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20627
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 21:36:50 +0000 (21:36 +0000)]
Fix a crash that happens when mapping something like this:
{ short, short }
to
short
where the second short maps onto the second field of the first struct. In
this case, the struct index is not aligned, so we should avoid calling
getLink(2), which asserts out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20626
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Tue, 15 Mar 2005 19:51:19 +0000 (19:51 +0000)]
sure, I can set a flag, but if I never check it, why bother setting it? Should fix 20 programs :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20623
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 17:52:18 +0000 (17:52 +0000)]
Make computeGGToGMapping compute an invnodemap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20622
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 17:52:07 +0000 (17:52 +0000)]
remove warning, make computeGGToGMapping return an invnodemap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20621
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 17:51:51 +0000 (17:51 +0000)]
add support for hashing nodehandles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20620
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 17:14:09 +0000 (17:14 +0000)]
Finally fix (the right way) the problem where functions like this:
void foo() {
G = 1;
}
would have an empty DSGraph even though G (a global) is directly used
in the function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20619
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 16:55:04 +0000 (16:55 +0000)]
Start using retnodes_* for iteration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20618
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 16:46:11 +0000 (16:46 +0000)]
add iterators for return nodes list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20617
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 15:48:22 +0000 (15:48 +0000)]
method renamed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20616
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 15:48:06 +0000 (15:48 +0000)]
Replace more a*'s with arg_*'s, thanks to Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20615
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 15:46:23 +0000 (15:46 +0000)]
add missing copyright header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20614
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Tue, 15 Mar 2005 07:20:55 +0000 (07:20 +0000)]
Stop using abegin and aend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20610
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Tue, 15 Mar 2005 07:12:30 +0000 (07:12 +0000)]
Stop using abegin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20609
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Tue, 15 Mar 2005 07:02:26 +0000 (07:02 +0000)]
Use arg_iterator and arg_begin and arg_end functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20608
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Tue, 15 Mar 2005 06:31:46 +0000 (06:31 +0000)]
Add EquivClassGraphs.cpp to VC++ project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20607
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 06:29:12 +0000 (06:29 +0000)]
avoid varialbe name collisions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20606
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Tue, 15 Mar 2005 06:21:40 +0000 (06:21 +0000)]
Do it right...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20605
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Tue, 15 Mar 2005 06:15:08 +0000 (06:15 +0000)]
Fix VC++ breakage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20604
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 05:19:49 +0000 (05:19 +0000)]
stop using method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20603
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 05:19:20 +0000 (05:19 +0000)]
methods removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20602
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 05:17:48 +0000 (05:17 +0000)]
remove reverse BB iterators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20601
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 05:13:47 +0000 (05:13 +0000)]
remove a whole bunch of dead methods. Noone should use reverse iterators anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20600
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 05:03:36 +0000 (05:03 +0000)]
stop using arg_front
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20599
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 04:59:17 +0000 (04:59 +0000)]
stop using arg_back
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20598
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 04:54:21 +0000 (04:54 +0000)]
This mega patch converts us from using Function::a{iterator|begin|end} to
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20597
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 04:48:32 +0000 (04:48 +0000)]
switch from a* to arg_* and g* to global_* for argument/global var iterators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20596
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 04:40:24 +0000 (04:40 +0000)]
Don't crash if computing a mapping to a node with zero size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20595
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 00:58:16 +0000 (00:58 +0000)]
rename method, add counterpart
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20593
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Mar 2005 00:58:09 +0000 (00:58 +0000)]
Rename method, add counterpart.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20592
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 14 Mar 2005 23:49:40 +0000 (23:49 +0000)]
Remove the reverse iterators for arguments and global vars.
Rename argument iterators arg_* instead of a*
Remove global variable iterators global_* instead of g*.
Keep the old names for temporary compatibility.
Patch contributed by Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20591
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Mon, 14 Mar 2005 19:23:45 +0000 (19:23 +0000)]
FP 0.0 setcc optimization, and generate short branch sequence for setcc(FP) rather than stack usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20589
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 14 Mar 2005 19:22:47 +0000 (19:22 +0000)]
add a method to compute a commonly used mapping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20588
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 14 Mar 2005 19:22:33 +0000 (19:22 +0000)]
Add a useful method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20587
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 20:36:01 +0000 (20:36 +0000)]
regardless of whether or not the client things we should mark globals incomplete,
ALWAYS mark them incomplete if they are external!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20586
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 20:32:26 +0000 (20:32 +0000)]
Make sure to remove incomplete markers before we add to them! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20585
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 20:22:10 +0000 (20:22 +0000)]
The incoming arguments to main (the argv list) are not complete!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20584
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 20:15:06 +0000 (20:15 +0000)]
After finishing BU analysis, move all global variables from the globals
graph into main and mark them complete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20583
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 19:51:24 +0000 (19:51 +0000)]
ADd support for printing eqgraphs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20582
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 19:50:40 +0000 (19:50 +0000)]
Add support for printing EQ graphs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20581
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 19:05:05 +0000 (19:05 +0000)]
Replace linear search with logrithmic one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20580
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 19:04:41 +0000 (19:04 +0000)]
add a StructLayout::getElementContainingOffset method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20579
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Mar 2005 19:04:04 +0000 (19:04 +0000)]
add a helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20578
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Sun, 13 Mar 2005 00:43:20 +0000 (00:43 +0000)]
Should fix mesa
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20577
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 12 Mar 2005 14:58:28 +0000 (14:58 +0000)]
make sure to mark nodes returned from functions as incomplete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20576
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 12 Mar 2005 12:08:52 +0000 (12:08 +0000)]
remove this from the PA namespace, leaving it in the llvm ns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20574
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 12 Mar 2005 11:51:30 +0000 (11:51 +0000)]
Move this from the pool allocator project to here, where it logically belongs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20570
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 12 Mar 2005 03:43:38 +0000 (03:43 +0000)]
this doesn't fail on the suns either!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20567
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 11 Mar 2005 21:18:18 +0000 (21:18 +0000)]
Move link to GCC prefetch info here, since it's gone from Open Projects page
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20566
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 11 Mar 2005 21:18:00 +0000 (21:18 +0000)]
this passes on darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20565
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 11 Mar 2005 20:17:04 +0000 (20:17 +0000)]
Fix computation of compiled objects, contributed by Vladimir Merzliakov!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20564
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Fri, 11 Mar 2005 17:48:05 +0000 (17:48 +0000)]
remove a pseudo instruction and improve inline constant generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20563
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 11 Mar 2005 06:16:26 +0000 (06:16 +0000)]
prefetch is now supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20562
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 11 Mar 2005 06:14:23 +0000 (06:14 +0000)]
new testcase for __builtin_prefetch support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20561
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 11 Mar 2005 04:15:18 +0000 (04:15 +0000)]
* Remove extraneous spaces
* Convert some tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20560
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Fri, 11 Mar 2005 03:58:53 +0000 (03:58 +0000)]
Add SelectionDAG library to PPC JIT so that lli will link when
PPC32ISelPattern.cpp is present.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20559
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 11 Mar 2005 00:00:56 +0000 (00:00 +0000)]
Fix some crashes noted by John Mellor-Crummey's group.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20558
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 11 Mar 2005 00:00:33 +0000 (00:00 +0000)]
Sprinkle code examples and command-line interaction examples with some style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20557
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 10 Mar 2005 22:51:59 +0000 (22:51 +0000)]
* Add directions to send output of nightly test script to llvm-testresults@cs
* Use the doc_code class to nightly test script example
* Enclose file names in <tt> tags
* Achieve compliance with HTML-4.01 Strict
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20556
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 10 Mar 2005 20:59:51 +0000 (20:59 +0000)]
I didn't mean to check this in. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20555
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 10 Mar 2005 20:55:51 +0000 (20:55 +0000)]
Fix a bug where we would incorrectly do a sign ext instead of a zero ext
because we were checking the wrong thing. Thanks to andrew for pointing
this out!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20554
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Thu, 10 Mar 2005 20:15:09 +0000 (20:15 +0000)]
yay for camel_cvs diff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20552
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Thu, 10 Mar 2005 19:02:02 +0000 (19:02 +0000)]
some typoes and .bss isn't liked, at all
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20542
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 10 Mar 2005 16:32:33 +0000 (16:32 +0000)]
Replace tabs with spaces, separate function arguments with a space
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20538
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 10 Mar 2005 16:26:50 +0000 (16:26 +0000)]
Improve formatting of the sent mail for the dj test results.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20537
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 9 Mar 2005 23:05:19 +0000 (23:05 +0000)]
Allow the live interval analysis pass to be a bit more aggressive about
numbering values in live ranges for physical registers.
The alpha backend currently generates code that looks like this:
vreg = preg
...
preg = vreg
use preg
...
preg = vreg
use preg
etc. Because vreg contains the value of preg coming in, each of the
copies back into preg contain that initial value as well.
In the case of the Alpha, this allows this testcase:
void "foo"(int %blah) {
store int 5, int *%MyVar
store int 12, int* %MyVar2
ret void
}
to compile to:
foo:
ldgp $29, 0($27)
ldiq $0,5
stl $0,MyVar
ldiq $0,12
stl $0,MyVar2
ret $31,($26),1
instead of:
foo:
ldgp $29, 0($27)
bis $29,$29,$0
ldiq $1,5
bis $0,$0,$29
stl $1,MyVar
ldiq $1,12
bis $0,$0,$29
stl $1,MyVar2
ret $31,($26),1
This does not seem to have any noticable effect on X86 code.
This fixes PR535.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20536
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 9 Mar 2005 20:48:23 +0000 (20:48 +0000)]
minor correction for Register that isn't used
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20535
91177308-0d34-0410-b5e6-
96231b3b80d8