Chris Lattner [Tue, 10 Jul 2007 20:03:50 +0000 (20:03 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38507
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Tue, 10 Jul 2007 19:28:12 +0000 (19:28 +0000)]
check for correct usage of the byval attribute
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38506
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 10 Jul 2007 19:07:35 +0000 (19:07 +0000)]
During module cloning copy aliases too. This fixes PR1544
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38505
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 18:43:15 +0000 (18:43 +0000)]
Handle vaarg instructions correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38504
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 10 Jul 2007 18:20:44 +0000 (18:20 +0000)]
Change the peep for EXTRACT_VECTOR_ELT of BUILD_PAIR to look for
the new CONCAT_VECTORS node type instead, as that's what legalize
uses now. And add a peep for EXTRACT_VECTOR_ELT of INSERT_VECTOR_ELT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38503
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 18:11:42 +0000 (18:11 +0000)]
Volatile loads and stores depend on each other.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38502
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 18:08:01 +0000 (18:08 +0000)]
Remove clobbersPred. Add an OptionalDefOperand to instructions which have the 's' bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38501
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 18:07:08 +0000 (18:07 +0000)]
Remove clobbersPred.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38500
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 18:06:29 +0000 (18:06 +0000)]
Add OptionalDefOperand. Remove clobbersPred. Also add DefinesPredicate to be used by if-converter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38499
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 18:05:01 +0000 (18:05 +0000)]
Try committing again. Add OptionalDefOperand. Remove clobbersPred.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38498
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 17:59:22 +0000 (17:59 +0000)]
Add support for finding the dependencies of call and invoke instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38497
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 17:52:20 +0000 (17:52 +0000)]
If the operand is marked M_OPTIONAL_DEF_OPERAND, then it's a def.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38496
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 17:50:43 +0000 (17:50 +0000)]
Somehow this wasn't committed last time. M_CLOBBERS_PRED is gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38495
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 17:25:03 +0000 (17:25 +0000)]
Fix the build, and fix the handling of pointer sizes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38494
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 17:08:11 +0000 (17:08 +0000)]
Fix a bunch of things from Chris' feedback
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38493
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 10 Jul 2007 15:34:29 +0000 (15:34 +0000)]
Add a regression test for folding spill code into scalar min and max.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38492
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 10 Jul 2007 15:19:29 +0000 (15:19 +0000)]
Fix a bug in the folding of binary operators to undef.
Thanks to Lauro for spotting this!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38491
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Jul 2007 14:52:01 +0000 (14:52 +0000)]
Make sure to keep symbols for profile build.
Patch by Benoit Boissinot. Thanks, Benoit!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38490
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 10 Jul 2007 14:20:37 +0000 (14:20 +0000)]
Fix the folding of undef in several binary operators to recognize
undef in either the left or right operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38489
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Jul 2007 07:48:09 +0000 (07:48 +0000)]
Simplify the handling of the --*flags options. The makefile already gets it
right so there is no need to duplicate logic, just use the values the makefile
provides.
Eliminate some redundnt -D options from the output.
Fix the help output so it fits on 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38488
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Jul 2007 07:21:34 +0000 (07:21 +0000)]
Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines only
contains some of the defines but not all CPP flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38487
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Jul 2007 07:19:53 +0000 (07:19 +0000)]
Make sure that preprocessor symbols like _DEBUG, NDEBUG, and _GLIBC_DEBUG are
put into the CPP.Defines variable. Seems the convention was corrupted with
various changes made. It is important to get command line parameters into the
right variable because things like llvm-config and sub-makefiles depend on it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38486
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 07:08:32 +0000 (07:08 +0000)]
When a node value is only used by a CopyToReg, use the user's dest. This should not be restricted to nodes that produce only a single value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38485
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 10 Jul 2007 06:59:55 +0000 (06:59 +0000)]
Move DenseMapKeyInfo<SDOperand> from LegalizeDAG.cpp to SelectionDAGNodes.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38484
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Tue, 10 Jul 2007 03:28:21 +0000 (03:28 +0000)]
Update the ValueRanges interface to use value numbers instead of Value*s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38483
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 02:01:16 +0000 (02:01 +0000)]
Evidently my earlier fix did not go far enough. When resizing a zero-sized
BitVector, make sure to set or clear ALL of the bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38481
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 00:27:22 +0000 (00:27 +0000)]
Move some key maps from std::map to DenseMap. This improves the time to optimize Anton's testcase from 17.5s
to 15.7s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38480
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Tue, 10 Jul 2007 00:09:25 +0000 (00:09 +0000)]
Use a cheaper test, delaying calling find_leader() until we know that it's necessary. This improves
the time to optimize Anton's testcase from 21.1s to 17.6s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38479
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 10 Jul 2007 00:05:58 +0000 (00:05 +0000)]
Define non-intrinsic instructions for vector min, max, sqrt, rsqrt, and rcp,
in addition to the intrinsic forms. Add spill-folding entries for these new
instructions, and for the scalar min and max instrinsic instructions which
were missing. And add some preliminary ISelLowering code for using the new
non-intrinsic vector sqrt instruction, and fneg and fabs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38478
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 23:57:18 +0000 (23:57 +0000)]
Add an assertion if find_leader fails.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38477
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 23:39:39 +0000 (23:39 +0000)]
When resizing a BitVector with size 0, be sure to clear the low word before using it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38476
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 22:29:50 +0000 (22:29 +0000)]
Take advantage of the new fast SmallPtrSet assignment operator when propagating AVAIL_OUT sets.
This reduces the time to optimize Anton's testcase from 31.2s to 21.s!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38475
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 22:27:20 +0000 (22:27 +0000)]
Make the assignment operator for SmallPtrSet much faster for normal cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38474
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 9 Jul 2007 22:18:38 +0000 (22:18 +0000)]
Preserve volatililty and alignment information when lowering or
simplifying loads and stores.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38473
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 9 Jul 2007 21:19:23 +0000 (21:19 +0000)]
Expose struct size threhold to allow users to tweak their own setting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38472
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 9 Jul 2007 20:59:04 +0000 (20:59 +0000)]
Change getCopyToParts and getCopyFromParts to always use target-endian
register ordering, for both physical and virtual registers. Update the PPC
target lowering for calls to expect registers for the call result to
already be in target order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38471
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 20:59:01 +0000 (20:59 +0000)]
Make the assignment operator for SmallPtrSet return a reference, and fix a long-standing bug in the copy
ctor while I'm at it.
Thanks to Chris Lattner for help with this patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38470
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 9 Jul 2007 20:52:39 +0000 (20:52 +0000)]
Fix memory leak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38469
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 9 Jul 2007 20:49:44 +0000 (20:49 +0000)]
Initialize the IndexedModeActions array with memset before
updating it with calls to setIndexedLoadAction/setIndexedStoreAction,
which only update a few bits at a time. This avoids ostensible
undefined behavior of operationg on values which may be
trap-representations, and as a practical matter fixes errors from
valgrind, which doesn't track uninitialized memory with bit
granularity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38468
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 18:51:15 +0000 (18:51 +0000)]
Fix an error in the assignment operator that was causing an infinite loop in GVNPRE.cpp.
Patch by Chis Lattner.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38467
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 17:35:18 +0000 (17:35 +0000)]
force a cpu without SSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38466
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 17:32:28 +0000 (17:32 +0000)]
allow this to work on ppc-darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38465
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 17:31:07 +0000 (17:31 +0000)]
remove this bogus t-t
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38464
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 17:25:29 +0000 (17:25 +0000)]
The various "getModuleMatchQuality" implementations should return
zero if they see a target triple they don't understand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38463
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 17:14:58 +0000 (17:14 +0000)]
add target triple to fix PR1546
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38462
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 17:11:53 +0000 (17:11 +0000)]
work around an aparent gcc name resolution bug by
detemplatizing this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38461
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 16:54:03 +0000 (16:54 +0000)]
implement operator= for smallptrset
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38460
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Mon, 9 Jul 2007 16:43:55 +0000 (16:43 +0000)]
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38459
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Jul 2007 16:16:34 +0000 (16:16 +0000)]
Fix this warning:
DAGCombiner.cpp: In member function 'llvm::SDOperand<unnamed>::DAGCombiner::visitOR(llvm::SDNode*)':
DAGCombiner.cpp:1608: warning: passing negative value '-0x00000000000000001' for argument 1 to 'llvm::SDOperand llvm::SelectionDAG::getConstant(uint64_t, llvm::MVT::ValueType, bool)'
oiy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38458
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 9 Jul 2007 15:25:17 +0000 (15:25 +0000)]
Move the APInt form of SCEVUnknown::getIntegerSCEV to SCEVConstant::get, and
use SCEVConstant::get instead of SCEVUnknown::get when constructing a SCEV
for a ConstantInt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38457
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 9 Jul 2007 15:15:24 +0000 (15:15 +0000)]
Fix a typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38456
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 9 Jul 2007 13:42:32 +0000 (13:42 +0000)]
Add explicit triples to these tests so that llc behaves as expected on
non-Apple hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38455
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Mon, 9 Jul 2007 12:20:30 +0000 (12:20 +0000)]
missed this one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38454
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Mon, 9 Jul 2007 12:00:59 +0000 (12:00 +0000)]
fix typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38453
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Mon, 9 Jul 2007 11:24:05 +0000 (11:24 +0000)]
eliminated all references to 'bytecode' from .pod files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38452
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:49:26 +0000 (08:49 +0000)]
Update the svn:ignore property to eliminate all files
that start with svn-commit. because there can be several of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38451
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:47:45 +0000 (08:47 +0000)]
Add more svn:ignore property values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38450
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:46:01 +0000 (08:46 +0000)]
More svn:ignore property restorations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38449
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:44:12 +0000 (08:44 +0000)]
Restore properties I accidentally deleted with the last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38448
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:34:37 +0000 (08:34 +0000)]
Set the svn:ignore property to ignore the Debug, Release, and
Release-Asserts sub-directories in all directories that build code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38447
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:31:14 +0000 (08:31 +0000)]
Remove the cvsupdate script. Its no longer useful in the face of
tools such as svn info and svn status.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38446
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 9 Jul 2007 08:10:07 +0000 (08:10 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38444
91177308-0d34-0410-b5e6-
96231b3b80d8
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