Reid Spencer [Mon, 9 Jul 2007 08:09:21 +0000 (08:09 +0000)]
cvs -> svn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38443
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:04:31 +0000 (08:04 +0000)]
Subversionify the documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38442
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 07:56:55 +0000 (07:56 +0000)]
Improve a hotspot that was making build_sets() slower by calling lookup() too
often. This improves Anton's testcase from 36s to 32s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38441
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 07:41:11 +0000 (07:41 +0000)]
Subversionify the script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38440
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 06:50:06 +0000 (06:50 +0000)]
Start using a set representation that remembers the set of value numbers represented
in the set. For the moment, this results in a slight performance decrease, but
it lays the groundwork for future improvements.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38439
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:45:18 +0000 (06:45 +0000)]
Bytecode -> Bitcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38438
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:42:22 +0000 (06:42 +0000)]
Minor language change upgrader -> upgrade tool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38437
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:32:55 +0000 (06:32 +0000)]
This dir does not appear under /docs anymore but under /cmds so use an
absolute path to the llvm.css file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38436
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:31:51 +0000 (06:31 +0000)]
Links for commands are now generated into /cmds/ URL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38435
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:14:11 +0000 (06:14 +0000)]
Fix some minor typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38434
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:06:45 +0000 (06:06 +0000)]
Fix some typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38433
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 06:01:20 +0000 (06:01 +0000)]
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38432
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 05:58:08 +0000 (05:58 +0000)]
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38431
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 05:52:49 +0000 (05:52 +0000)]
Fix some minor typos, again to test the auto-update of the web site.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38430
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 05:33:45 +0000 (05:33 +0000)]
Remove an unneeded space, mostly to verify that auto-update of the
documentation is working.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38429
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 8 Jul 2007 03:50:22 +0000 (03:50 +0000)]
Install things needed by llvm-top to allow successful building
of llvm from that level.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38423
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 8 Jul 2007 00:59:00 +0000 (00:59 +0000)]
LLVM needs ModuleInfo.txt as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38422
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Sat, 7 Jul 2007 20:13:57 +0000 (20:13 +0000)]
Fix an error where ANTIC_OUT was ending up with more than one expression of
the same value number. This fixes an infinite loop on 444.namd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37967
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 7 Jul 2007 16:23:34 +0000 (16:23 +0000)]
Back out Devang's fix for PR1320 because it causes PR1542.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37966
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:34:09 +0000 (23:34 +0000)]
No need for ccop anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37965
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:24:39 +0000 (23:24 +0000)]
Teach if-conversion about instructions that were already predicated, e.g. conditional move.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37964
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:23:38 +0000 (23:23 +0000)]
ImmutablePredicateOperand is no more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37963
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:23:19 +0000 (23:23 +0000)]
Incorrect check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37962
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:22:46 +0000 (23:22 +0000)]
Do away with ImmutablePredicateOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37961
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:22:03 +0000 (23:22 +0000)]
isUnpredicatedTerminator should treat conditional branches as unpredicated terminator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37960
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 23:21:02 +0000 (23:21 +0000)]
Do away with ImmutablePredicateOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37959
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 6 Jul 2007 23:14:35 +0000 (23:14 +0000)]
A first stab at memory dependence analysis. This is an interface on top of
alias analysis, adding caching and lazy computation of queries. This will
be used in planned improvements to memory access optimizations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37958
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 6 Jul 2007 23:13:31 +0000 (23:13 +0000)]
Add some accessors to improve consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37957
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 6 Jul 2007 22:07:22 +0000 (22:07 +0000)]
first pass of nomenclature changes in .html files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37956
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 6 Jul 2007 22:03:47 +0000 (22:03 +0000)]
These rountines are now available as part of basic block utilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37955
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 6 Jul 2007 21:43:22 +0000 (21:43 +0000)]
Request DominanceFrontiner in advance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37954
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 6 Jul 2007 21:40:13 +0000 (21:40 +0000)]
Preserve various analysis info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37953
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 6 Jul 2007 21:39:20 +0000 (21:39 +0000)]
Add SplitEdge and SplitBlock utility routines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37952
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 6 Jul 2007 20:29:43 +0000 (20:29 +0000)]
Be more aggressive in the heuristic. This mostly exposes more opportunities
for the GVN part of GVNPRE to apply.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37951
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 6 Jul 2007 20:28:40 +0000 (20:28 +0000)]
finishing touches of bytecode -> bitcode changes. also unbreak Windows
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37950
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 6 Jul 2007 18:12:36 +0000 (18:12 +0000)]
Achieve what the incorrect test was trying to do by simply requiring that all
critical edges be split before we begin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37949
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 6 Jul 2007 16:52:47 +0000 (16:52 +0000)]
Remove an incorrect check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37948
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 6 Jul 2007 14:46:23 +0000 (14:46 +0000)]
The exception handling intrinsics return values,
so must be lowered to a value, not nothing at all.
Subtle point: I made eh_selector return 0 and
eh_typeid_for return 1. This means that only
cleanups (destructors) will be run as the exception
unwinds [if eh_typeid_for returned 0 then it would
be as if the first catch always matched, and the
corresponding handler would be run], which is
probably want you want in the CBE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37947
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 6 Jul 2007 13:59:28 +0000 (13:59 +0000)]
Remove redundant declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37946
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 6 Jul 2007 13:38:17 +0000 (13:38 +0000)]
eliminate residual cruft related to recognizing bytecode
files.
bitcode files are the only LLVM format left.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37945
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 6 Jul 2007 13:27:33 +0000 (13:27 +0000)]
Fix a comment so that the element numbering match the actual element
operand numbering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37944
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 6 Jul 2007 13:15:51 +0000 (13:15 +0000)]
Add an explicit triple to the big-endian tests so that the assembly
output format is always consistent with what the greps are looking for.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37943
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 6 Jul 2007 12:46:24 +0000 (12:46 +0000)]
Indexes into the list of filter ids cannot be output
directly: they need to be turned into byte offsets
(often the same, but may not be if there are many
type infos).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37942
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 6 Jul 2007 12:38:27 +0000 (12:38 +0000)]
Test that byte offsets are used to index into the list
of filter ids, and not simply the id index. Testing
this requires at least 128 type infos!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37941
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Fri, 6 Jul 2007 10:57:03 +0000 (10:57 +0000)]
Add the byval attribute
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37940
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 6 Jul 2007 10:31:27 +0000 (10:31 +0000)]
Solaris 2.x does not have RLIMIT_RSS, check for this symbol (analog NetBSD below), should subsume Cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37939
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 6 Jul 2007 09:18:59 +0000 (09:18 +0000)]
Remove propagateEHRegister in favour of a more limited
fix, that is adequate while PR1508 remains unresolved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37938
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Fri, 6 Jul 2007 09:10:03 +0000 (09:10 +0000)]
Remove ExtractGlobalVariable - use StripPointerCasts
instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37937
91177308-0d34-0410-b5e6-
96231b3b80d8
Zhou Sheng [Fri, 6 Jul 2007 06:01:16 +0000 (06:01 +0000)]
Correct a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37936
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 01:47:35 +0000 (01:47 +0000)]
Workaround of getCopyToRegs and getCopyFromRegs bugs for big-endian machines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37935
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 01:37:28 +0000 (01:37 +0000)]
Change CalculateHeights and CalculateDepths to be non-recursive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37934
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 01:05:26 +0000 (01:05 +0000)]
Refactor code to add initial support for OptionalDefOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37933
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 01:01:34 +0000 (01:01 +0000)]
Print the s bit if the instruction is toggled to its CPSR setting form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37932
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 01:00:49 +0000 (01:00 +0000)]
PredicateDefOperand -> OptionalDefOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37931
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 6 Jul 2007 01:00:16 +0000 (01:00 +0000)]
Add OptionalDefOperand to stand for optionally defined result.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37930
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 5 Jul 2007 23:11:26 +0000 (23:11 +0000)]
Fix a bunch of issues found in a testcase from 400.perlbench.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37929
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 23:00:50 +0000 (23:00 +0000)]
Fix test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37928
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Jul 2007 22:16:19 +0000 (22:16 +0000)]
avoid ambiguity in target selection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37927
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 21:15:40 +0000 (21:15 +0000)]
Initial ARM JIT support by Raul Fernandes Herbster.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37926
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 5 Jul 2007 20:40:15 +0000 (20:40 +0000)]
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37925
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 5 Jul 2007 20:39:35 +0000 (20:39 +0000)]
Make MachineFunctionPass::runOnFunction non-virtual. Subclasses override
the virtual function runOnMachineFunction instead. And add access specifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37924
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Thu, 5 Jul 2007 20:36:08 +0000 (20:36 +0000)]
Proper flag __alloca call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37923
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 5 Jul 2007 20:15:43 +0000 (20:15 +0000)]
Make the debug string for ISD::MERGE_VALUES consistent with the others.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37922
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 5 Jul 2007 20:12:34 +0000 (20:12 +0000)]
Add a parameter to getCopyToParts and getCopyFromParts to specify whether
endian swapping should be done, and update the code to use it. This fixes
some register ordering issues on big-endian systems, such as PowerPC,
introduced by the recent illegal by-val arguments changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37921
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Jul 2007 17:28:01 +0000 (17:28 +0000)]
This enum is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37920
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Jul 2007 17:27:31 +0000 (17:27 +0000)]
update the .cvs files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37919
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Jul 2007 17:26:49 +0000 (17:26 +0000)]
update the .cvs files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37918
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 17:21:33 +0000 (17:21 +0000)]
Doh
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37917
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Jul 2007 17:18:32 +0000 (17:18 +0000)]
remove a dead case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37916
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 17:13:56 +0000 (17:13 +0000)]
Unbreak the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37915
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 17:13:19 +0000 (17:13 +0000)]
Unbreak the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37914
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Thu, 5 Jul 2007 17:07:56 +0000 (17:07 +0000)]
Here is the bulk of the sanitizing.
Almost all occurrences of "bytecode" in the sources have been eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Thu, 5 Jul 2007 16:56:24 +0000 (16:56 +0000)]
Record my recent work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37912
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Jul 2007 16:11:52 +0000 (16:11 +0000)]
the arm backend is not building, temporarily disable it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37911
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 5 Jul 2007 15:32:03 +0000 (15:32 +0000)]
Fix PR1539. Add LoopPassPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37909
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Thu, 5 Jul 2007 15:15:01 +0000 (15:15 +0000)]
Make sure only one copy of a filter is placed in the
exception handling table if we encounter it multiple
times. Filters could be folded harder than this, but
that would mean a lot more work for not much gain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37908
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Thu, 5 Jul 2007 10:32:33 +0000 (10:32 +0000)]
Test commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37907
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 5 Jul 2007 10:12:19 +0000 (10:12 +0000)]
Add a note about llvm2cpp's dubious future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37906
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 5 Jul 2007 10:00:19 +0000 (10:00 +0000)]
Get the version number right, finally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37905
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:19:45 +0000 (07:19 +0000)]
Teach DAGISelEmitter about zero_reg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37900
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:19:29 +0000 (07:19 +0000)]
Instructions with ImmutablePredicateOperand aren't really predicable since their predicates are fixed at isel time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37899
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:18:20 +0000 (07:18 +0000)]
Reflects the chanegs made to PredicateOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37898
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:17:13 +0000 (07:17 +0000)]
Added ARM::CPSR to represent ARM CPSR status register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37897
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:15:27 +0000 (07:15 +0000)]
Unfortunately we now require C++ code to isel Bcc, conditional moves, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37896
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:13:32 +0000 (07:13 +0000)]
Each ARM use predicate operand is now made up of two components. The new component is the CPSR register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37895
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:11:03 +0000 (07:11 +0000)]
Added ARM::CPSR to represent ARM CPSR status register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37894
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:09:50 +0000 (07:09 +0000)]
PPC conditional branch predicate does not change after isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37893
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:09:09 +0000 (07:09 +0000)]
- Added zero_reg def to stand for register 0.
- Added two variants of PredicateOperand: ImmutablePredicateOperand, whose predicate does not change after isel; PredicateDefOperand, which represent a predicate defintion operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37892
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:06:46 +0000 (07:06 +0000)]
Do not check isPredicated() on non-predicable instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37891
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 5 Jul 2007 07:05:38 +0000 (07:05 +0000)]
Better assertion messages.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37890
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 5 Jul 2007 03:15:00 +0000 (03:15 +0000)]
Break "variable canonicalization" out of InequalityGraph and into its own class
"ValueNumbering".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37881
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Wed, 4 Jul 2007 22:33:23 +0000 (22:33 +0000)]
Fix another bug, this time in PREing select instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37878
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Wed, 4 Jul 2007 21:55:50 +0000 (21:55 +0000)]
Pretty straightforward replacement of "bytecode" by "bitcode"
performed on tools/ first, in order not to cause lethal damage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37877
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Wed, 4 Jul 2007 21:07:47 +0000 (21:07 +0000)]
Refactor X87 instructions. As a side effect, all
their names are changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37876
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Wed, 4 Jul 2007 20:52:51 +0000 (20:52 +0000)]
Extend eh.selector to support both catches and filters.
Drop the eh.filter intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37875
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Wed, 4 Jul 2007 20:48:48 +0000 (20:48 +0000)]
Nested try-catch-filter testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37874
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Jul 2007 18:42:47 +0000 (18:42 +0000)]
Make the GSG actually work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37872
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Wed, 4 Jul 2007 18:26:18 +0000 (18:26 +0000)]
Fix a typo that was killing GVNPRE of select instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37871
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Wed, 4 Jul 2007 04:51:16 +0000 (04:51 +0000)]
Fix an error in phi translation of GEPs that was causing failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37868
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 4 Jul 2007 01:35:32 +0000 (01:35 +0000)]
Ignore the .svn directories so countloc.sh and llvmgrep won't traverse them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37867
91177308-0d34-0410-b5e6-
96231b3b80d8