Commit Graph

29957 Commits

Author SHA1 Message Date
Reid Spencer
ac9dcb94dd 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
2007-02-15 03:39:18 +00:00
Reid Spencer
a85210ac66 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
2007-02-15 03:11:50 +00:00
Reid Spencer
d29b8b85ce 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
2007-02-15 03:11:20 +00:00
Reid Spencer
d6aeb4f4ae For PR1195:
Packed -> Vector.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34297 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 03:08:48 +00:00
Reid Spencer
485bad1a09 For PR1195:
Packed -> Vector


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34296 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 03:07:05 +00:00
Evan Cheng
3cd4c892d9 isPhysRegUsed should be const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34295 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 02:55:51 +00:00
Evan Cheng
d1172cc056 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
2007-02-15 02:52:40 +00:00
Reid Spencer
9d6565a5b1 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
2007-02-15 02:26:10 +00:00
Reid Spencer
b7d61101b1 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
2007-02-15 02:11:06 +00:00
Reid Spencer
480cbb9387 Fix validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34291 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 01:11:54 +00:00
Chris Lattner
9814bc6243 update to new t-d strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34290 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 00:54:16 +00:00
Reid Spencer
853418d158 Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34289 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 22:58:39 +00:00
Reid Spencer
5b9a6094ad Add feedback from Vikram Adve.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34288 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 22:55:40 +00:00
Reid Spencer
e7bd7d686b Synchronize TOC headings with actual headings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34285 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 17:24:04 +00:00
Reid Spencer
0e59872d22 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
2007-02-14 17:20:59 +00:00
Reid Spencer
134400bdec Fix a grammaro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34283 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 16:21:54 +00:00
Reid Spencer
01f56be4cf 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
2007-02-14 16:21:10 +00:00
Reid Spencer
8a9bd92984 Drop a policy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34281 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 08:23:08 +00:00
Reid Spencer
f1491da96b Some more minor tweaks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34280 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 08:19:16 +00:00
Reid Spencer
c767f00187 Fix word usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34279 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 08:13:38 +00:00
Reid Spencer
25f9b9b61f Add a missing .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34278 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 08:09:40 +00:00
Reid Spencer
3eedbd31e8 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
2007-02-14 07:57:48 +00:00
Chris Lattner
27a047280a fix validation bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34276 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:42:59 +00:00
Chris Lattner
ad85ba4c5b 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
2007-02-14 07:42:12 +00:00
Chris Lattner
31d041935e remove an obsolete question
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34274 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:40:16 +00:00
Chris Lattner
e5ff00870a remove obsolete path
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34273 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:39:35 +00:00
Chris Lattner
c661d61d82 fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34272 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:34:56 +00:00
Chris Lattner
f76e7bba52 remove obsolete warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34271 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:34:22 +00:00
Chris Lattner
bcb38cf5e9 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
2007-02-14 07:33:00 +00:00
Reid Spencer
78bade278f Incorporate Chris' first round of comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34269 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-14 07:22:19 +00:00
Chris Lattner
21840b1c5c 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
2007-02-14 07:18:16 +00:00
Chris Lattner
64f150fa92 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
2007-02-14 06:20:04 +00:00
Chris Lattner
d2b7cec527 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
2007-02-14 05:52:17 +00:00
Reid Spencer
879dfe1c9c 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
2007-02-14 02:52:25 +00:00
Chris Lattner
b42b411f74 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
2007-02-13 23:59:21 +00:00
Chris Lattner
c38fea8ef4 better support for i128.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34258 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:57:55 +00:00
Chris Lattner
4c948eb373 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
2007-02-13 23:55:16 +00:00
Chris Lattner
f839ce7d03 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
2007-02-13 23:41:38 +00:00
Chris Lattner
727c235840 new testcase, by Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34255 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 23:41:24 +00:00
Andrew Lenharth
921a83a809 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
2007-02-13 23:41:16 +00:00
Reid Spencer
db3faa64ee 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
2007-02-13 22:41:58 +00:00
Chris Lattner
36e37d2944 add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34249 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 21:44:43 +00:00
Reid Spencer
4060296cf8 Add missing closing parenthesis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34248 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 20:57:57 +00:00
Chris Lattner
ae4f99d843 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
2007-02-13 20:09:07 +00:00
Lauro Ramos Venancio
7501605988 Add space between // and the comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34246 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 20:06:15 +00:00
Lauro Ramos Venancio
3630e78db9 Add ABI information to ARM subtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34245 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
cf8270a994 Add a space between // and the comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34244 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 18:10:13 +00:00
Lauro Ramos Venancio
13a3cee131 Add comment about original function argument alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34243 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 17:57:38 +00:00
Reid Spencer
bed9253387 Fix tow grammaros that Bill Wendling noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34242 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-13 17:04:09 +00:00
Lauro Ramos Venancio
876eaf1135 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
2007-02-13 14:07:13 +00:00