oota-llvm.git
17 years agoswitch an std::set to a SmallPtr set, this speeds up instcombine by 9.5%
Chris Lattner [Thu, 15 Feb 2007 19:41:52 +0000 (19:41 +0000)]
switch an std::set to a SmallPtr set, this speeds up instcombine by 9.5%
on 447.dealII

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34323 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMissing a ;
Evan Cheng [Thu, 15 Feb 2007 19:29:05 +0000 (19:29 +0000)]
Missing a ;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34322 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agothe lengths of the strings are known, just use memcmp
Chris Lattner [Thu, 15 Feb 2007 19:26:16 +0000 (19:26 +0000)]
the lengths of the strings are known, just use memcmp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34321 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoBitVector::reference operator=(const reference& rhs) is unnecessary thanks to autocon...
Evan Cheng [Thu, 15 Feb 2007 19:21:44 +0000 (19:21 +0000)]
BitVector::reference operator=(const reference& rhs) is unnecessary thanks to autoconvert to bool.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34320 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRemove unnecessary checks.
Evan Cheng [Thu, 15 Feb 2007 19:18:12 +0000 (19:18 +0000)]
Remove unnecessary checks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34319 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoImplement Function::getIntrinsicID without it needing to call Value::getName,
Chris Lattner [Thu, 15 Feb 2007 19:17:16 +0000 (19:17 +0000)]
Implement Function::getIntrinsicID without it needing to call Value::getName,
which allocates a string.  This speeds up instcombine on 447.dealII by 5%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34318 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agooperator== returns false when two bitvectors have different sizes.
Evan Cheng [Thu, 15 Feb 2007 19:16:21 +0000 (19:16 +0000)]
operator== returns false when two bitvectors have different sizes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34317 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMerges two resize() variants.
Evan Cheng [Thu, 15 Feb 2007 19:12:39 +0000 (19:12 +0000)]
Merges two resize() variants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34316 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoClear no longer deleting the bits to avoid mallocs.
Evan Cheng [Thu, 15 Feb 2007 19:10:34 +0000 (19:10 +0000)]
Clear no longer deleting the bits to avoid mallocs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34315 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoBitVector::count() bugs.
Evan Cheng [Thu, 15 Feb 2007 19:09:36 +0000 (19:09 +0000)]
BitVector::count() bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34314 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoEliminate a redundent ctor; eliminate one more potential new [0].
Evan Cheng [Thu, 15 Feb 2007 19:05:25 +0000 (19:05 +0000)]
Eliminate a redundent ctor; eliminate one more potential new [0].

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34313 91177308-0d34-0410-b5e6-96231b3b80d8

17 years ago1 -> 1L since BitWord has type unsigned long.
Evan Cheng [Thu, 15 Feb 2007 19:03:23 +0000 (19:03 +0000)]
1 -> 1L since BitWord has type unsigned long.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34312 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoEliminate new[0], just set Bits to NULL.
Evan Cheng [Thu, 15 Feb 2007 18:59:15 +0000 (18:59 +0000)]
Eliminate new[0], just set Bits to NULL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34311 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd a new Value::getNameStr method, which is preferred over getName.
Chris Lattner [Thu, 15 Feb 2007 18:53:54 +0000 (18:53 +0000)]
Add a new Value::getNameStr method, which is preferred over getName.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34310 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoInverted the condition by accident.
Evan Cheng [Thu, 15 Feb 2007 18:48:41 +0000 (18:48 +0000)]
Inverted the condition by accident.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34309 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1202:
Reid Spencer [Thu, 15 Feb 2007 18:34:36 +0000 (18:34 +0000)]
For PR1202:
Make sure we found an existing Alignment before overwriting it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34308 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix indentation
Chris Lattner [Thu, 15 Feb 2007 18:19:15 +0000 (18:19 +0000)]
fix indentation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34307 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoApply B Scott Michel's patch for PR1184, which improves diagnostics in an
Chris Lattner [Thu, 15 Feb 2007 18:17:56 +0000 (18:17 +0000)]
Apply B Scott Michel's patch for PR1184, which improves diagnostics in an
abort case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34306 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoBug fixes: assignment operator forgot to copy over size; copy ctor forgot to clear...
Evan Cheng [Thu, 15 Feb 2007 08:15:58 +0000 (08:15 +0000)]
Bug fixes: assignment operator forgot to copy over size; copy ctor forgot to clear unused top bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34305 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix some buges:
Zhou Sheng [Thu, 15 Feb 2007 06:36:31 +0000 (06:36 +0000)]
Fix some buges:
1. Make getMinValue() returns the right value.
2. Fix the ByteSwap() crash problem.
3. Make Postfix increment work correctly.
4. Fix some bugs in LogBase2, Hi/LoBits and UDiv.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34304 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse BitVector instead of vector<bool> which can be extremely slow.
Evan Cheng [Thu, 15 Feb 2007 05:59:24 +0000 (05:59 +0000)]
Use BitVector instead of vector<bool> which can be extremely slow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34302 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd a BitVector class.
Evan Cheng [Thu, 15 Feb 2007 05:56:11 +0000 (05:56 +0000)]
Add a BitVector class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34301 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1195:
Reid Spencer [Thu, 15 Feb 2007 03:39:18 +0000 (03:39 +0000)]
For PR1195:
Change use of "packed" term to "vector" in comments, strings, variable
names, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34300 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1195:
Reid Spencer [Thu, 15 Feb 2007 03:11:50 +0000 (03:11 +0000)]
For PR1195:
Change a comment: Packed Type -> Vector Type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34299 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoChange an assert that mentions Packed Type -> Vector Type.
Reid Spencer [Thu, 15 Feb 2007 03:11:20 +0000 (03:11 +0000)]
Change an assert that mentions Packed Type -> Vector Type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34298 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1195:
Reid Spencer [Thu, 15 Feb 2007 03:08:48 +0000 (03:08 +0000)]
For PR1195:
Packed -> Vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34297 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1195:
Reid Spencer [Thu, 15 Feb 2007 03:07:05 +0000 (03:07 +0000)]
For PR1195:
Packed -> Vector

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34296 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoisPhysRegUsed should be const.
Evan Cheng [Thu, 15 Feb 2007 02:55:51 +0000 (02:55 +0000)]
isPhysRegUsed should be const.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34295 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoShould pass isKill and isDead to addRegOperand() as well.
Evan Cheng [Thu, 15 Feb 2007 02:52:40 +0000 (02:52 +0000)]
Should pass isKill and isDead to addRegOperand() as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34294 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1195:
Reid Spencer [Thu, 15 Feb 2007 02:26:10 +0000 (02:26 +0000)]
For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34293 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFixed packed structure breakage from earlier TargetData patch; applied
Reid Spencer [Thu, 15 Feb 2007 02:11:06 +0000 (02:11 +0000)]
Fixed packed structure breakage from earlier TargetData patch; applied
Chris Lattner's code style suggestions.

Patch by Scott Michel!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34292 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix validation errors.
Reid Spencer [Thu, 15 Feb 2007 01:11:54 +0000 (01:11 +0000)]
Fix validation errors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34291 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoupdate to new t-d strings.
Chris Lattner [Thu, 15 Feb 2007 00:54:16 +0000 (00:54 +0000)]
update to new t-d strings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34290 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a typo.
Reid Spencer [Wed, 14 Feb 2007 22:58:39 +0000 (22:58 +0000)]
Fix a typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34289 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd feedback from Vikram Adve.
Reid Spencer [Wed, 14 Feb 2007 22:55:40 +0000 (22:55 +0000)]
Add feedback from Vikram Adve.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34288 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSynchronize TOC headings with actual headings.
Reid Spencer [Wed, 14 Feb 2007 17:24:04 +0000 (17:24 +0000)]
Synchronize TOC headings with actual headings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34285 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix the table of contents to match the document body.
Reid Spencer [Wed, 14 Feb 2007 17:20:59 +0000 (17:20 +0000)]
Fix the table of contents to match the document body.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34284 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a grammaro.
Reid Spencer [Wed, 14 Feb 2007 16:21:54 +0000 (16:21 +0000)]
Fix a grammaro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34283 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoA few changes:
Reid Spencer [Wed, 14 Feb 2007 16:21:10 +0000 (16:21 +0000)]
A few changes:
1. Fix typos
2. Move Terminology to the end
3. Simplify language in a few spots.
4. Add a policy that larger increments require a larger testing effort.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34282 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDrop a policy.
Reid Spencer [Wed, 14 Feb 2007 08:23:08 +0000 (08:23 +0000)]
Drop a policy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34281 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSome more minor tweaks.
Reid Spencer [Wed, 14 Feb 2007 08:19:16 +0000 (08:19 +0000)]
Some more minor tweaks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34280 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix word usage.
Reid Spencer [Wed, 14 Feb 2007 08:13:38 +0000 (08:13 +0000)]
Fix word usage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34279 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd a missing .
Reid Spencer [Wed, 14 Feb 2007 08:09:40 +0000 (08:09 +0000)]
Add a missing .

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34278 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoIncorporate Chris Lattner's second round of feedback.
Reid Spencer [Wed, 14 Feb 2007 07:57:48 +0000 (07:57 +0000)]
Incorporate Chris Lattner's second round of feedback.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34277 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix validation bug
Chris Lattner [Wed, 14 Feb 2007 07:42:59 +0000 (07:42 +0000)]
fix validation bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34276 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agonow that llvm-gcc3 is gone, life is significantly simpler and less scary
Chris Lattner [Wed, 14 Feb 2007 07:42:12 +0000 (07:42 +0000)]
now that llvm-gcc3 is gone, life is significantly simpler and less scary

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34275 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove an obsolete question
Chris Lattner [Wed, 14 Feb 2007 07:40:16 +0000 (07:40 +0000)]
remove an obsolete question

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34274 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove obsolete path
Chris Lattner [Wed, 14 Feb 2007 07:39:35 +0000 (07:39 +0000)]
remove obsolete path

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34273 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix a warning
Chris Lattner [Wed, 14 Feb 2007 07:34:56 +0000 (07:34 +0000)]
fix a warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34272 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove obsolete warning
Chris Lattner [Wed, 14 Feb 2007 07:34:22 +0000 (07:34 +0000)]
remove obsolete warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34271 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoThere is no circular dependency between llvm and llvm-gcc anymore. stop
Chris Lattner [Wed, 14 Feb 2007 07:33:00 +0000 (07:33 +0000)]
There is no circular dependency between llvm and llvm-gcc anymore. stop
scaring users.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34270 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoIncorporate Chris' first round of comments.
Reid Spencer [Wed, 14 Feb 2007 07:22:19 +0000 (07:22 +0000)]
Incorporate Chris' first round of comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34269 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRefix CodeGen/Generic/switch-lower.ll. In contrast to my previous patch,
Chris Lattner [Wed, 14 Feb 2007 07:18:16 +0000 (07:18 +0000)]
Refix CodeGen/Generic/switch-lower.ll.  In contrast to my previous patch,
this doesn't miscompile lots of programs :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34268 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFrom Dan Gohman:
Chris Lattner [Wed, 14 Feb 2007 06:20:04 +0000 (06:20 +0000)]
From Dan Gohman:

While preparing http://llvm.org/PR1198 I noticed several asserts
protecting unprepared code from i128 types that weren't actually failing
when they should because they were written as assert("foo") instead of
something like assert(0 && "foo"). This patch fixes all the cases that a
quick grep found.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34267 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoGeneralize TargetData strings, to support more interesting forms of data.
Chris Lattner [Wed, 14 Feb 2007 05:52:17 +0000 (05:52 +0000)]
Generalize TargetData strings, to support more interesting forms of data.
Patch by Scott Michel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34266 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse brute-force algorithm for to_string. It doesn't have to be efficient
Reid Spencer [Wed, 14 Feb 2007 02:52:25 +0000 (02:52 +0000)]
Use brute-force algorithm for to_string. It doesn't have to be efficient
at this point, it just needs to work so we can test things reliably.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34262 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agosanity check for *basic* i128 arithmetic on all hosts.
Chris Lattner [Tue, 13 Feb 2007 23:59:21 +0000 (23:59 +0000)]
sanity check for *basic* i128 arithmetic on all hosts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34259 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agobetter support for i128.
Chris Lattner [Tue, 13 Feb 2007 23:57:55 +0000 (23:57 +0000)]
better support for i128.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34258 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoimplement expand of truncate. This allows truncates from i128 to i64 to
Chris Lattner [Tue, 13 Feb 2007 23:55:16 +0000 (23:55 +0000)]
implement expand of truncate.  This allows truncates from i128 to i64 to
be supported on 32-bit hosts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34257 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix PR1198, by adding initial i128 support. Patch by Dan Gohman.
Chris Lattner [Tue, 13 Feb 2007 23:41:38 +0000 (23:41 +0000)]
Fix PR1198, by adding initial i128 support.  Patch by Dan Gohman.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34256 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agonew testcase, by Dan Gohman
Chris Lattner [Tue, 13 Feb 2007 23:41:24 +0000 (23:41 +0000)]
new testcase, by Dan Gohman

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34255 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoWell this isn't as ugly and it works better. At least gcc bootstraps again
Andrew Lenharth [Tue, 13 Feb 2007 23:41:16 +0000 (23:41 +0000)]
Well this isn't as ugly and it works better. At least gcc bootstraps again

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34254 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake some minor improvements to APInt:
Reid Spencer [Tue, 13 Feb 2007 22:41:58 +0000 (22:41 +0000)]
Make some minor improvements to APInt:
1. Make all the operators use uppercase
2. Rename APIntRoundToDouble method just RoundToDouble, the APInt is
   redundant.
3. Turn the class on for compilation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34253 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd a note
Chris Lattner [Tue, 13 Feb 2007 21:44:43 +0000 (21:44 +0000)]
add a note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34249 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd missing closing parenthesis.
Reid Spencer [Tue, 13 Feb 2007 20:57:57 +0000 (20:57 +0000)]
Add missing closing parenthesis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34248 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agorevert my previous switch lowering change, which miscompiles a few programs.
Chris Lattner [Tue, 13 Feb 2007 20:09:07 +0000 (20:09 +0000)]
revert my previous switch lowering change, which miscompiles a few programs.
This will break a dj test until I have time to investigate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34247 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd space between // and the comment.
Lauro Ramos Venancio [Tue, 13 Feb 2007 20:06:15 +0000 (20:06 +0000)]
Add space between // and the comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34246 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd ABI information to ARM subtarget.
Lauro Ramos Venancio [Tue, 13 Feb 2007 19:52:28 +0000 (19:52 +0000)]
Add ABI information to ARM subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34245 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd a space between // and the comment.
Lauro Ramos Venancio [Tue, 13 Feb 2007 18:10:13 +0000 (18:10 +0000)]
Add a space between // and the comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34244 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd comment about original function argument alignment.
Lauro Ramos Venancio [Tue, 13 Feb 2007 17:57:38 +0000 (17:57 +0000)]
Add comment about original function argument alignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34243 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix tow grammaros that Bill Wendling noticed.
Reid Spencer [Tue, 13 Feb 2007 17:04:09 +0000 (17:04 +0000)]
Fix tow grammaros that Bill Wendling noticed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34242 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAccording to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.
Lauro Ramos Venancio [Tue, 13 Feb 2007 14:07:13 +0000 (14:07 +0000)]
According to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34241 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd "original alignment" to function arguments flags.
Lauro Ramos Venancio [Tue, 13 Feb 2007 13:50:08 +0000 (13:50 +0000)]
Add "original alignment" to function arguments flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34240 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix a compilation error that caused the nightly test to fail.
Reid Spencer [Tue, 13 Feb 2007 09:26:04 +0000 (09:26 +0000)]
Fix a compilation error that caused the nightly test to fail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34239 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoClean up spelling mistakes.
Reid Spencer [Tue, 13 Feb 2007 09:20:14 +0000 (09:20 +0000)]
Clean up spelling mistakes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34238 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix an HTML validation error.
Reid Spencer [Tue, 13 Feb 2007 09:11:33 +0000 (09:11 +0000)]
Fix an HTML validation error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34237 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake the draft notice more prominent.
Reid Spencer [Tue, 13 Feb 2007 09:09:20 +0000 (09:09 +0000)]
Make the draft notice more prominent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34236 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd DeveloperPolicy.html
Reid Spencer [Tue, 13 Feb 2007 09:08:27 +0000 (09:08 +0000)]
Add DeveloperPolicy.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34235 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFirst draft of the LLVM Developer Policy. This document is a "first cut"
Reid Spencer [Tue, 13 Feb 2007 09:06:01 +0000 (09:06 +0000)]
First draft of the LLVM Developer Policy. This document is a "first cut"
at stating in clear terms the LLVM project's policies with respect to
developers and their contributions. Feedback on this is welcome while it
is in draft stage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34234 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSwitch UnaryOperators to default to passing names up by const char* when possible.
Chris Lattner [Tue, 13 Feb 2007 07:54:42 +0000 (07:54 +0000)]
Switch UnaryOperators to default to passing names up by const char* when possible.
This speeds up bcreading by 1.5%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34233 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd a setName variant that takes a null-terminated string. This can be
Chris Lattner [Tue, 13 Feb 2007 07:53:34 +0000 (07:53 +0000)]
add a setName variant that takes a null-terminated string.  This can be
used to avoid std::string allocations in common cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34232 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse a SmallVector to reduce heap traffic. This speeds up bcreader 10%
Chris Lattner [Tue, 13 Feb 2007 07:28:20 +0000 (07:28 +0000)]
Use a SmallVector to reduce heap traffic.  This speeds up bcreader 10%

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34231 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix a critical bug in smallvector, where it would destroy elements that are
Chris Lattner [Tue, 13 Feb 2007 07:25:36 +0000 (07:25 +0000)]
fix a critical bug in smallvector, where it would destroy elements that are
not in its range (!).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34230 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agonow that we can pass ranges into CallInst ctors, eliminate vector heap traffic
Chris Lattner [Tue, 13 Feb 2007 06:30:42 +0000 (06:30 +0000)]
now that we can pass ranges into CallInst ctors, eliminate vector heap traffic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34229 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate instruction ctors that take vectors.
Chris Lattner [Tue, 13 Feb 2007 06:22:32 +0000 (06:22 +0000)]
eliminate instruction ctors that take vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34228 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate vector-related ctors
Chris Lattner [Tue, 13 Feb 2007 06:06:26 +0000 (06:06 +0000)]
eliminate vector-related ctors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34227 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate use of vector-related ctors
Chris Lattner [Tue, 13 Feb 2007 06:05:43 +0000 (06:05 +0000)]
eliminate use of vector-related ctors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34226 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoregenerate
Chris Lattner [Tue, 13 Feb 2007 06:04:17 +0000 (06:04 +0000)]
regenerate

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34225 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove use of vector-related ctors
Chris Lattner [Tue, 13 Feb 2007 06:03:48 +0000 (06:03 +0000)]
remove use of vector-related ctors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34224 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate vector-related allocations
Chris Lattner [Tue, 13 Feb 2007 06:01:22 +0000 (06:01 +0000)]
eliminate vector-related allocations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34223 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate a bunch of vector-related heap traffic
Chris Lattner [Tue, 13 Feb 2007 05:58:53 +0000 (05:58 +0000)]
eliminate a bunch of vector-related heap traffic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34222 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate use of vector ctors
Chris Lattner [Tue, 13 Feb 2007 05:53:56 +0000 (05:53 +0000)]
eliminate use of vector ctors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34221 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoEliminate use of ctors that take vectors.
Chris Lattner [Tue, 13 Feb 2007 02:10:56 +0000 (02:10 +0000)]
Eliminate use of ctors that take vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34219 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agostop passing vector into ctors
Chris Lattner [Tue, 13 Feb 2007 01:53:54 +0000 (01:53 +0000)]
stop passing vector into ctors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34218 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAllow any MachineBasicBlock (not just the entry block) to have live-in physical
Evan Cheng [Tue, 13 Feb 2007 01:30:55 +0000 (01:30 +0000)]
Allow any MachineBasicBlock (not just the entry block) to have live-in physical
registers. Make sure liveinterval analysis is correctly creating live ranges
for them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34217 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix switch lowering to order cases in zext order, which is how we emit the
Chris Lattner [Tue, 13 Feb 2007 01:05:56 +0000 (01:05 +0000)]
Fix switch lowering to order cases in zext order, which is how we emit the
comparisons.  This fixes an infinite loop on CodeGen/Generic/switch-lower.ll
and PR1197

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34216 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agonew testcase for PR1197
Chris Lattner [Tue, 13 Feb 2007 01:05:10 +0000 (01:05 +0000)]
new testcase for PR1197

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34215 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd invokeinst and callinst ctors that don't take vectors.
Chris Lattner [Tue, 13 Feb 2007 01:04:01 +0000 (01:04 +0000)]
Add invokeinst and callinst ctors that don't take vectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34214 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove some dead methods.
Chris Lattner [Tue, 13 Feb 2007 00:58:44 +0000 (00:58 +0000)]
remove some dead methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34213 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoregenerate
Chris Lattner [Tue, 13 Feb 2007 00:58:01 +0000 (00:58 +0000)]
regenerate

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34212 91177308-0d34-0410-b5e6-96231b3b80d8