oota-llvm.git
17 years agoallow support for 64-bit stack objects
Chris Lattner [Wed, 25 Apr 2007 04:08:28 +0000 (04:08 +0000)]
allow support for 64-bit stack objects

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

17 years agoallow 64-bit stack objects
Chris Lattner [Wed, 25 Apr 2007 04:07:31 +0000 (04:07 +0000)]
allow 64-bit stack objects

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

17 years agonew testcase
Chris Lattner [Wed, 25 Apr 2007 01:51:33 +0000 (01:51 +0000)]
new testcase

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

17 years agoFix
Devang Patel [Wed, 25 Apr 2007 00:37:04 +0000 (00:37 +0000)]
Fix
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070423/048376.html

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

17 years agoNew test.
Devang Patel [Wed, 25 Apr 2007 00:35:37 +0000 (00:35 +0000)]
New test.

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

17 years agotestcase for PR1352
Chris Lattner [Wed, 25 Apr 2007 00:26:05 +0000 (00:26 +0000)]
testcase for PR1352

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

17 years agofix typo
Dale Johannesen [Wed, 25 Apr 2007 00:14:49 +0000 (00:14 +0000)]
fix typo

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

17 years agoBe more careful about folding op(x, undef) when we have vector operands.
Chris Lattner [Wed, 25 Apr 2007 00:00:45 +0000 (00:00 +0000)]
Be more careful about folding op(x, undef) when we have vector operands.
This fixes CodeGen/X86/2007-04-24-VectorCrash.ll

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

17 years agonew testcase that crashes llc
Chris Lattner [Wed, 25 Apr 2007 00:00:12 +0000 (00:00 +0000)]
new testcase that crashes llc

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

17 years agoAdd me
Dale Johannesen [Tue, 24 Apr 2007 23:48:30 +0000 (23:48 +0000)]
Add me

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

17 years agoFix PR1351 and CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll
Chris Lattner [Tue, 24 Apr 2007 22:51:03 +0000 (22:51 +0000)]
Fix PR1351 and CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll

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

17 years agotestcase for PR1351
Chris Lattner [Tue, 24 Apr 2007 22:49:57 +0000 (22:49 +0000)]
testcase for PR1351

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

17 years agoTestcases for MMX.
Bill Wendling [Tue, 24 Apr 2007 22:28:30 +0000 (22:28 +0000)]
Testcases for MMX.

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

17 years agoUpdate.
Bill Wendling [Tue, 24 Apr 2007 21:20:03 +0000 (21:20 +0000)]
Update.

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

17 years agoAdd the PADDQ to the list.
Bill Wendling [Tue, 24 Apr 2007 21:19:14 +0000 (21:19 +0000)]
Add the PADDQ to the list.

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

17 years agoAdd the final MMX instructions. Correct a few wrong patterns.
Bill Wendling [Tue, 24 Apr 2007 21:18:37 +0000 (21:18 +0000)]
Add the final MMX instructions. Correct a few wrong patterns.

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

17 years agoRemove some invalid instructions from this check.
Bill Wendling [Tue, 24 Apr 2007 21:17:46 +0000 (21:17 +0000)]
Remove some invalid instructions from this check.

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

17 years agoSupport for the special case of a vector with the canonical form:
Bill Wendling [Tue, 24 Apr 2007 21:16:55 +0000 (21:16 +0000)]
Support for the special case of a vector with the canonical form:

        vector_shuffle v1, v2, <2, 6, 3, 7>

I.e.

         vector_shuffle v, undef, <2, 2, 3, 3>

MMX only has a shuffle for v4i16 vectors. It needs to use the unpackh for
this type of operation.

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

17 years agoAssertion when using a 1-element vector for an add operation. Get the
Bill Wendling [Tue, 24 Apr 2007 21:13:23 +0000 (21:13 +0000)]
Assertion when using a 1-element vector for an add operation. Get the
real vector type in this case.

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

17 years agoNew test.
Devang Patel [Tue, 24 Apr 2007 21:05:52 +0000 (21:05 +0000)]
New test.

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

17 years agoNew test case.
Devang Patel [Tue, 24 Apr 2007 19:24:39 +0000 (19:24 +0000)]
New test case.

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

17 years agoAdd myself.
Devang Patel [Tue, 24 Apr 2007 18:49:33 +0000 (18:49 +0000)]
Add myself.

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

17 years agoensure that every error return sets a message (and goes through Error, for
Chris Lattner [Tue, 24 Apr 2007 18:15:21 +0000 (18:15 +0000)]
ensure that every error return sets a message (and goes through Error, for
easy breakpointing).

Fix bugs reading constantexpr geps.  We now can disassemble kc++ global
initializers.

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

17 years agofix memory leak
Chris Lattner [Tue, 24 Apr 2007 17:22:05 +0000 (17:22 +0000)]
fix memory leak

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

17 years agofix a memory leak
Chris Lattner [Tue, 24 Apr 2007 17:20:52 +0000 (17:20 +0000)]
fix a memory leak

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

17 years agocomentate
Chris Lattner [Tue, 24 Apr 2007 15:54:42 +0000 (15:54 +0000)]
comentate

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

17 years agoimplement reading and writing of constant exprs.
Chris Lattner [Tue, 24 Apr 2007 07:07:11 +0000 (07:07 +0000)]
implement reading and writing of constant exprs.

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

17 years agoadd records for constant exprs
Chris Lattner [Tue, 24 Apr 2007 07:03:08 +0000 (07:03 +0000)]
add records for constant exprs

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

17 years agoRollback some changes that adversely affected performance. I'm currently rethinking
Owen Anderson [Tue, 24 Apr 2007 06:40:39 +0000 (06:40 +0000)]
Rollback some changes that adversely affected performance.  I'm currently rethinking
my approach to this, so hopefully I'll find a way to do this without making this slower.

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

17 years agoimplement support for reading aggregate constants, including handling forward
Chris Lattner [Tue, 24 Apr 2007 05:48:56 +0000 (05:48 +0000)]
implement support for reading aggregate constants, including handling forward
constant references, etc.

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

17 years agoadd supprot for FP constants, wide integers, and fix the encoding of MININT
Chris Lattner [Tue, 24 Apr 2007 04:04:35 +0000 (04:04 +0000)]
add supprot for FP constants, wide integers, and fix the encoding of MININT

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

17 years agoread basic constants: null, undef, integers <= 64bits
Chris Lattner [Tue, 24 Apr 2007 03:30:34 +0000 (03:30 +0000)]
read basic constants: null, undef, integers <= 64bits

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

17 years agofix off-by-one computing size for section abbrevs
Chris Lattner [Tue, 24 Apr 2007 03:29:47 +0000 (03:29 +0000)]
fix off-by-one computing size for section abbrevs

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

17 years agoUse '-1U' where '-1UL' is obvious overkill, eliminating gcc warnings about
Scott Michel [Tue, 24 Apr 2007 01:24:20 +0000 (01:24 +0000)]
Use '-1U' where '-1UL' is obvious overkill, eliminating gcc warnings about
tests always being true in the process.

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

17 years agomove check to the right place :)
Chris Lattner [Tue, 24 Apr 2007 00:21:45 +0000 (00:21 +0000)]
move check to the right place :)

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

17 years agotrack global inits
Chris Lattner [Tue, 24 Apr 2007 00:18:21 +0000 (00:18 +0000)]
track global inits

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

17 years agoEmit module-level constants.
Chris Lattner [Tue, 24 Apr 2007 00:16:04 +0000 (00:16 +0000)]
Emit module-level constants.

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

17 years agomodify per review commentary
Dale Johannesen [Mon, 23 Apr 2007 23:33:31 +0000 (23:33 +0000)]
modify per review commentary

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

17 years agoadd codes for constants table
Chris Lattner [Mon, 23 Apr 2007 23:29:59 +0000 (23:29 +0000)]
add codes for constants table

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

17 years agoFix bug in isFloatingPoint()
Christopher Lamb [Mon, 23 Apr 2007 22:50:40 +0000 (22:50 +0000)]
Fix bug in isFloatingPoint()

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

17 years agoFix
Devang Patel [Mon, 23 Apr 2007 22:42:03 +0000 (22:42 +0000)]
Fix
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070423/048333.html

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

17 years agoNew test.
Devang Patel [Mon, 23 Apr 2007 22:39:53 +0000 (22:39 +0000)]
New test.

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

17 years agoRead global symtab
Chris Lattner [Mon, 23 Apr 2007 21:26:05 +0000 (21:26 +0000)]
Read global symtab

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

17 years agofix off-by one
Chris Lattner [Mon, 23 Apr 2007 21:23:41 +0000 (21:23 +0000)]
fix off-by one

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

17 years agoDan is right, using "string first" would produce false positives. So,
Reid Spencer [Mon, 23 Apr 2007 21:21:53 +0000 (21:21 +0000)]
Dan is right, using "string first" would produce false positives. So,
devolve the check to a comparison against each component in the string.
Fortunately there isn't many of them.

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

17 years agoadd a missing operator
Chris Lattner [Mon, 23 Apr 2007 20:58:14 +0000 (20:58 +0000)]
add a missing operator

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

17 years agowrite out the symtab for globals.
Chris Lattner [Mon, 23 Apr 2007 20:35:01 +0000 (20:35 +0000)]
write out the symtab for globals.

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

17 years agoFix a bug in bitstream writer handling abbrevs, add value symtab
Chris Lattner [Mon, 23 Apr 2007 20:34:46 +0000 (20:34 +0000)]
Fix a bug in bitstream writer handling abbrevs, add value symtab

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

17 years agoMake Thumb funcs containing islands 4-byte aligned. Fix bugs maintaining
Dale Johannesen [Mon, 23 Apr 2007 20:09:04 +0000 (20:09 +0000)]
Make Thumb funcs containing islands 4-byte aligned.  Fix bugs maintaining
BBOffsets and BBSizes when adjusting conditional branches.

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

17 years agoadd Align field, and use when generating function alignment
Dale Johannesen [Mon, 23 Apr 2007 20:07:25 +0000 (20:07 +0000)]
add Align field, and use when generating function alignment

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

17 years agoadd isThumb (unused as yet)
Dale Johannesen [Mon, 23 Apr 2007 20:04:35 +0000 (20:04 +0000)]
add isThumb (unused as yet)

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

17 years agoFix generic getInlineAsmLength
Dale Johannesen [Mon, 23 Apr 2007 20:00:17 +0000 (20:00 +0000)]
Fix generic getInlineAsmLength

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

17 years agomake EmitAlignment work the way Chris says it should
Dale Johannesen [Mon, 23 Apr 2007 19:58:54 +0000 (19:58 +0000)]
make EmitAlignment work the way Chris says it should

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

17 years agoimplement reading of abbrevs, and writing of abbreviated global varrs.
Chris Lattner [Mon, 23 Apr 2007 18:58:34 +0000 (18:58 +0000)]
implement reading of abbrevs, and writing of abbreviated global varrs.

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

17 years agoimplement reading of abbrevs
Chris Lattner [Mon, 23 Apr 2007 18:57:58 +0000 (18:57 +0000)]
implement reading of abbrevs

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

17 years agominor cleanups
Chris Lattner [Mon, 23 Apr 2007 18:57:32 +0000 (18:57 +0000)]
minor cleanups

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

17 years agofinish implementation of basic abbrev writing.
Chris Lattner [Mon, 23 Apr 2007 17:43:52 +0000 (17:43 +0000)]
finish implementation of basic abbrev writing.

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

17 years agofirst part of implementation of abbrevs. The writer isn't fully there yet and the
Chris Lattner [Mon, 23 Apr 2007 16:04:05 +0000 (16:04 +0000)]
first part of implementation of abbrevs.  The writer isn't fully there yet and the
reader doesn't handle them at all yet.

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

17 years agoUnbreak VC++ build.
Jeff Cohen [Mon, 23 Apr 2007 13:55:05 +0000 (13:55 +0000)]
Unbreak VC++ build.

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

17 years agoCygwin doesn't have the RSS_LIMIT for get/setrlimit.
Reid Spencer [Mon, 23 Apr 2007 07:22:51 +0000 (07:22 +0000)]
Cygwin doesn't have the RSS_LIMIT for get/setrlimit.

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

17 years agoAdd TLS tests.
Lauro Ramos Venancio [Mon, 23 Apr 2007 01:29:35 +0000 (01:29 +0000)]
Add TLS tests.

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

17 years agoX86 TLS: optimize the implementation of "local exec" model.
Lauro Ramos Venancio [Mon, 23 Apr 2007 01:28:10 +0000 (01:28 +0000)]
X86 TLS: optimize the implementation of "local exec" model.

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

17 years agopromote LLVMBitCodes to be a public header
Chris Lattner [Mon, 23 Apr 2007 01:01:37 +0000 (01:01 +0000)]
promote LLVMBitCodes to be a public header

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

17 years agopromote this to being a public header.
Chris Lattner [Mon, 23 Apr 2007 01:01:15 +0000 (01:01 +0000)]
promote this to being a public header.

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

17 years agoPR400 phase 2. Propagate attributed load/store information through DAGs.
Christopher Lamb [Sun, 22 Apr 2007 23:15:30 +0000 (23:15 +0000)]
PR400 phase 2. Propagate attributed load/store information through DAGs.

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

17 years agoX86 TLS: fix and optimize the implementation of "initial exec" model.
Lauro Ramos Venancio [Sun, 22 Apr 2007 22:50:52 +0000 (22:50 +0000)]
X86 TLS: fix and optimize the implementation of "initial exec" model.

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

17 years agoPR400 phase 1 implementation feedback.
Christopher Lamb [Sun, 22 Apr 2007 22:22:02 +0000 (22:22 +0000)]
PR400 phase 1 implementation feedback.

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

17 years agoHave compiler enforce this.
Jeff Cohen [Sun, 22 Apr 2007 22:16:55 +0000 (22:16 +0000)]
Have compiler enforce this.

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

17 years agoSupport alignment queries for degenerate (length 1) vectors.
Christopher Lamb [Sun, 22 Apr 2007 21:54:13 +0000 (21:54 +0000)]
Support alignment queries for degenerate (length 1) vectors.

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

17 years agosimplify this test until it can be dealt with
Andrew Lenharth [Sun, 22 Apr 2007 20:58:56 +0000 (20:58 +0000)]
simplify this test until it can be dealt with

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

17 years agoRegenerated
Christopher Lamb [Sun, 22 Apr 2007 20:09:11 +0000 (20:09 +0000)]
Regenerated

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

17 years agoPR400 work phase 1. Add attributed load/store instructions for volatile/align to...
Christopher Lamb [Sun, 22 Apr 2007 19:24:39 +0000 (19:24 +0000)]
PR400 work phase 1. Add attributed load/store instructions for volatile/align to LLVM.

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

17 years agoFix build problem with Gentoo 4.1.1-r3.
Jeff Cohen [Sun, 22 Apr 2007 18:49:32 +0000 (18:49 +0000)]
Fix build problem with Gentoo 4.1.1-r3.

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

17 years agoAdd new option to usage help.
Jeff Cohen [Sun, 22 Apr 2007 18:33:20 +0000 (18:33 +0000)]
Add new option to usage help.

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

17 years agoFor PR1136:
Reid Spencer [Sun, 22 Apr 2007 17:28:03 +0000 (17:28 +0000)]
For PR1136:
Add reference counting to ParamAttrsList and make use of it in Function,
CallInst and InvokeInst classes.

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

17 years agoTerminate with newline.
Reid Spencer [Sun, 22 Apr 2007 16:31:22 +0000 (16:31 +0000)]
Terminate with newline.

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

17 years agoUndo premature commit.
Reid Spencer [Sun, 22 Apr 2007 16:30:47 +0000 (16:30 +0000)]
Undo premature commit.

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

17 years agoTerminate file with newline.
Reid Spencer [Sun, 22 Apr 2007 16:29:35 +0000 (16:29 +0000)]
Terminate file with newline.

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

17 years agoImplement review feedback.
Jeff Cohen [Sun, 22 Apr 2007 15:11:24 +0000 (15:11 +0000)]
Implement review feedback.

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

17 years agoTeach Visual Studio about Bitcode.
Jeff Cohen [Sun, 22 Apr 2007 15:00:52 +0000 (15:00 +0000)]
Teach Visual Studio about Bitcode.

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

17 years agoUndo erroneous corrections.
Jeff Cohen [Sun, 22 Apr 2007 14:56:37 +0000 (14:56 +0000)]
Undo erroneous corrections.

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

17 years agoFix the comparison of language names to accept any characters by using
Reid Spencer [Sun, 22 Apr 2007 14:14:11 +0000 (14:14 +0000)]
Fix the comparison of language names to accept any characters by using
"string first" instead of "regexp match". This helps C++ tests get executed.

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

17 years agoFix generation of certain scheduler itineraries.
Christopher Lamb [Sun, 22 Apr 2007 09:04:24 +0000 (09:04 +0000)]
Fix generation of certain scheduler itineraries.

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

17 years agoadd llvm ir bitcode definition file
Chris Lattner [Sun, 22 Apr 2007 07:03:00 +0000 (07:03 +0000)]
add llvm ir bitcode definition file

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

17 years agodon't break reading from stdin
Chris Lattner [Sun, 22 Apr 2007 06:35:20 +0000 (06:35 +0000)]
don't break reading from stdin

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

17 years agolink in bitwriter library
Chris Lattner [Sun, 22 Apr 2007 06:31:35 +0000 (06:31 +0000)]
link in bitwriter library

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

17 years agoteach llvm-dis to read bitcode files
Chris Lattner [Sun, 22 Apr 2007 06:31:02 +0000 (06:31 +0000)]
teach llvm-dis to read bitcode files

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

17 years agoadd a temporary -bitcode option, which instructs llvm-as to produce a bitcode file...
Chris Lattner [Sun, 22 Apr 2007 06:28:58 +0000 (06:28 +0000)]
add a temporary -bitcode option, which instructs llvm-as to produce a bitcode file instead of a bytecode file

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

17 years agobuild the bitcode dir
Chris Lattner [Sun, 22 Apr 2007 06:26:05 +0000 (06:26 +0000)]
build the bitcode dir

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

17 years agoInitial support for writing bitcode files. This currently only writes types,
Chris Lattner [Sun, 22 Apr 2007 06:24:45 +0000 (06:24 +0000)]
Initial support for writing bitcode files.  This currently only writes types,
the type symtab, and global/function protos, and is missing the important
size optimization, but it is a place to start.

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

17 years agoInitial support for reading bitcode files. They currently only read types,
Chris Lattner [Sun, 22 Apr 2007 06:23:29 +0000 (06:23 +0000)]
Initial support for reading bitcode files.  They currently only read types,
the type symtab, and global/function protos, and are missing the important
size optimization, but it is a place to start.

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

17 years agoDefine the content-independent interfaces to read/write bitcode files and
Chris Lattner [Sun, 22 Apr 2007 06:22:05 +0000 (06:22 +0000)]
Define the content-independent interfaces to read/write bitcode files and
the high-level interface to read/write LLVM IR bitcode files.

This is a work in progress.

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

17 years agoMake running these tests conditional on llvm-gcc supporting the language
Reid Spencer [Sun, 22 Apr 2007 05:53:18 +0000 (05:53 +0000)]
Make running these tests conditional on llvm-gcc supporting the language
of these test cases.

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

17 years agoFor PR1146:
Reid Spencer [Sun, 22 Apr 2007 05:46:44 +0000 (05:46 +0000)]
For PR1146:
Make ParamAttrsList objects unique. You can no longer directly create or
destroy them but instead must go through the ParamAttrsList::get()
interface.

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

17 years agoAdd the --host-target option.
Reid Spencer [Sun, 22 Apr 2007 05:05:36 +0000 (05:05 +0000)]
Add the --host-target option.

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

17 years agoMinor corrections.
Jeff Cohen [Sun, 22 Apr 2007 01:17:39 +0000 (01:17 +0000)]
Minor corrections.

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

17 years agoImplement PIC for arm-linux.
Lauro Ramos Venancio [Sun, 22 Apr 2007 00:04:12 +0000 (00:04 +0000)]
Implement PIC for arm-linux.

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

17 years agoAdd a .cvsignore file.
Reid Spencer [Sat, 21 Apr 2007 21:53:04 +0000 (21:53 +0000)]
Add a .cvsignore file.

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

17 years agoReplace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single
Reid Spencer [Sat, 21 Apr 2007 21:45:51 +0000 (21:45 +0000)]
Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single
llvm_gcc_supports function that takes the language as an argument. Base that
function on the new LLVMGCC_LANGS configured variable so that we don't have
to execute feature checks during the test run.

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

17 years agoPass the LLVMGCC_LANGS variable through to Tcl.
Reid Spencer [Sat, 21 Apr 2007 21:43:18 +0000 (21:43 +0000)]
Pass the LLVMGCC_LANGS variable through to Tcl.

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