oota-llvm.git
18 years agoOnly get Tmp2 for cases where number of operands is > 1. Fixed return void.
Evan Cheng [Tue, 11 Apr 2006 06:33:39 +0000 (06:33 +0000)]
Only get Tmp2 for cases where number of operands is > 1. Fixed return void.

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

18 years agoFix an anchor.
Reid Spencer [Tue, 11 Apr 2006 06:22:15 +0000 (06:22 +0000)]
Fix an anchor.

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

18 years agoFlesh out the documentation a little bit more.
Reid Spencer [Tue, 11 Apr 2006 06:21:25 +0000 (06:21 +0000)]
Flesh out the documentation a little bit more.

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

18 years agoUpdate my entry.
Reid Spencer [Tue, 11 Apr 2006 05:48:40 +0000 (05:48 +0000)]
Update my entry.

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

18 years agoupdate my credits entry per clattner's request!
Nate Begeman [Tue, 11 Apr 2006 05:47:45 +0000 (05:47 +0000)]
update my credits entry per clattner's request!

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

18 years agoKeep Visual Studio happy.
Jeff Cohen [Tue, 11 Apr 2006 02:01:22 +0000 (02:01 +0000)]
Keep Visual Studio happy.

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

18 years agoadd some todos
Chris Lattner [Tue, 11 Apr 2006 02:00:08 +0000 (02:00 +0000)]
add some todos

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

18 years agoVector function results go into V2 according to GCC. The darwin ABI doc
Chris Lattner [Tue, 11 Apr 2006 01:38:39 +0000 (01:38 +0000)]
Vector function results go into V2 according to GCC.  The darwin ABI doc
doesn't say where they go :-/

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

18 years agoAdd basic support for legalizing returns of vectors
Chris Lattner [Tue, 11 Apr 2006 01:31:51 +0000 (01:31 +0000)]
Add basic support for legalizing returns of vectors

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

18 years agoMove some return-handling code from lowerarguments to the ISD::RET handling stuff.
Chris Lattner [Tue, 11 Apr 2006 01:21:43 +0000 (01:21 +0000)]
Move some return-handling code from lowerarguments to the ISD::RET handling stuff.
No functionality change.

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

18 years agoAdd helper methods.
Chris Lattner [Tue, 11 Apr 2006 01:09:25 +0000 (01:09 +0000)]
Add helper methods.

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

18 years agoAdded support for _mm_move_ss and _mm_move_sd.
Evan Cheng [Tue, 11 Apr 2006 00:19:04 +0000 (00:19 +0000)]
Added support for _mm_move_ss and _mm_move_sd.

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

18 years agoUse existing information.
Jim Laskey [Mon, 10 Apr 2006 23:09:19 +0000 (23:09 +0000)]
Use existing information.

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

18 years agoImplement vec_shuffle.ll:test3
Chris Lattner [Mon, 10 Apr 2006 23:06:36 +0000 (23:06 +0000)]
Implement vec_shuffle.ll:test3

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

18 years agonew testcase
Chris Lattner [Mon, 10 Apr 2006 23:06:18 +0000 (23:06 +0000)]
new testcase

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

18 years agoImplement InstCombine/vec_shuffle.ll:test[12]
Chris Lattner [Mon, 10 Apr 2006 22:45:52 +0000 (22:45 +0000)]
Implement InstCombine/vec_shuffle.ll:test[12]

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

18 years agoNew testcase
Chris Lattner [Mon, 10 Apr 2006 22:45:37 +0000 (22:45 +0000)]
New testcase

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

18 years agoRemove some bogus patterns; clean up.
Evan Cheng [Mon, 10 Apr 2006 22:35:16 +0000 (22:35 +0000)]
Remove some bogus patterns; clean up.

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

18 years agoFix a typo: Instr* -> Intr*
Chris Lattner [Mon, 10 Apr 2006 22:02:59 +0000 (22:02 +0000)]
Fix a typo: Instr* -> Intr*

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

18 years agoadd a note
Chris Lattner [Mon, 10 Apr 2006 21:51:03 +0000 (21:51 +0000)]
add a note

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

18 years ago* Remove duplicated table of contents for a section and at the top level
Misha Brukman [Mon, 10 Apr 2006 21:43:05 +0000 (21:43 +0000)]
* Remove duplicated table of contents for a section and at the top level
* Fix relative links within the file
* Add <tt> tags around command names and literal file names and directories

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

18 years agoRemove an entry that is now done.
Evan Cheng [Mon, 10 Apr 2006 21:42:57 +0000 (21:42 +0000)]
Remove an entry that is now done.

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

18 years agoAdded some missing shuffle patterns.
Evan Cheng [Mon, 10 Apr 2006 21:42:19 +0000 (21:42 +0000)]
Added some missing shuffle patterns.

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

18 years agoCorrect an entry
Evan Cheng [Mon, 10 Apr 2006 21:41:39 +0000 (21:41 +0000)]
Correct an entry

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

18 years agomovups / movupd
Evan Cheng [Mon, 10 Apr 2006 21:11:06 +0000 (21:11 +0000)]
movups / movupd

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

18 years ago__builtin_ia32_loadup{s|d}, __builtin_ia32_storeup{s|d}
Evan Cheng [Mon, 10 Apr 2006 21:09:59 +0000 (21:09 +0000)]
__builtin_ia32_loadup{s|d}, __builtin_ia32_storeup{s|d}

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

18 years agoAdd a simple pass to make sure that all (non-library) calls to malloc and free
Andrew Lenharth [Mon, 10 Apr 2006 19:26:09 +0000 (19:26 +0000)]
Add a simple pass to make sure that all (non-library) calls to malloc and free
are visible to analysis as intrinsics.  That is, make sure someone doesn't pass
free around by address in some struct (as happens in say 176.gcc).

This doesn't get rid of any indirect calls, just ensure calls to free and malloc
are always direct.

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

18 years agoMissing break
Evan Cheng [Mon, 10 Apr 2006 18:54:36 +0000 (18:54 +0000)]
Missing break

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

18 years agoENABLE_ASSERTIONS -> DISABLE_ASSERTIONS
Reid Spencer [Mon, 10 Apr 2006 16:46:04 +0000 (16:46 +0000)]
ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS

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

18 years agoAdd a vselect test case.
Evan Cheng [Mon, 10 Apr 2006 07:30:13 +0000 (07:30 +0000)]
Add a vselect test case.

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

18 years agoConditional move of vector types.
Evan Cheng [Mon, 10 Apr 2006 07:23:14 +0000 (07:23 +0000)]
Conditional move of vector types.

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

18 years agoNew entries
Evan Cheng [Mon, 10 Apr 2006 07:22:03 +0000 (07:22 +0000)]
New entries

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

18 years agoUse movaps to do VR128 reg-to-reg copies for now. It's shorter and available for...
Evan Cheng [Mon, 10 Apr 2006 07:21:31 +0000 (07:21 +0000)]
Use movaps to do VR128 reg-to-reg copies for now. It's shorter and available for SSE1.

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

18 years agoUpdate docs for ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS
Reid Spencer [Sun, 9 Apr 2006 23:45:38 +0000 (23:45 +0000)]
Update docs for ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS

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

18 years agoCheck for DISABLE_ASSERTIONS, not ENABLE_ASSERTIONS
Reid Spencer [Sun, 9 Apr 2006 23:41:14 +0000 (23:41 +0000)]
Check for DISABLE_ASSERTIONS, not ENABLE_ASSERTIONS

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

18 years agoFix a comment.
Reid Spencer [Sun, 9 Apr 2006 23:39:43 +0000 (23:39 +0000)]
Fix a comment.

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

18 years agoChange the assertions defaults:
Reid Spencer [Sun, 9 Apr 2006 20:42:14 +0000 (20:42 +0000)]
Change the assertions defaults:
1. Assertions now default to on for all builds
2. If you want them disabled you must (a) --disable-assertions to configure
   or DISABLE_ASSERTIONS=1 to make.

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

18 years agoMove the vector instructions to their own subsection.
Chris Lattner [Sat, 8 Apr 2006 23:07:04 +0000 (23:07 +0000)]
Move the vector instructions to their own subsection.

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

18 years agoproperly mark vector selects as expanded to select_cc
Chris Lattner [Sat, 8 Apr 2006 22:59:15 +0000 (22:59 +0000)]
properly mark vector selects as expanded to select_cc

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

18 years agoAdd VRRC select support
Chris Lattner [Sat, 8 Apr 2006 22:45:08 +0000 (22:45 +0000)]
Add VRRC select support

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

18 years agoAdd code generator support for VSELECT
Chris Lattner [Sat, 8 Apr 2006 22:22:57 +0000 (22:22 +0000)]
Add code generator support for VSELECT

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

18 years agoAdd a new VSELECT node.
Chris Lattner [Sat, 8 Apr 2006 22:16:01 +0000 (22:16 +0000)]
Add a new VSELECT node.

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

18 years agoDisable switch lowering for targets based on the selection dag isel,
Nate Begeman [Sat, 8 Apr 2006 19:46:55 +0000 (19:46 +0000)]
Disable switch lowering for targets based on the selection dag isel,
letting the code generator handle them directly.

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

18 years agoImplement PowerPC/CodeGen/vec_splat.ll:spltish to use vsplish instead of a
Chris Lattner [Sat, 8 Apr 2006 07:14:26 +0000 (07:14 +0000)]
Implement PowerPC/CodeGen/vec_splat.ll:spltish to use vsplish instead of a
constant pool load.

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

18 years agoadd new testcase
Chris Lattner [Sat, 8 Apr 2006 07:13:46 +0000 (07:13 +0000)]
add new testcase

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

18 years agoChange the interface to the predicate that determines if vsplti* can be used.
Chris Lattner [Sat, 8 Apr 2006 06:46:53 +0000 (06:46 +0000)]
Change the interface to the predicate that determines if vsplti* can be used.
No functionality changes.

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

18 years agoMisc. project changes. html + build config changes supplied by Devang.
Jim Laskey [Sat, 8 Apr 2006 06:04:56 +0000 (06:04 +0000)]
Misc. project changes.  html + build config changes supplied by Devang.

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

18 years agoInitialize SDOperand values because the gcc 4.0.2 compiler complains about
Reid Spencer [Sat, 8 Apr 2006 05:38:03 +0000 (05:38 +0000)]
Initialize SDOperand values because the gcc 4.0.2 compiler complains about
them.

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

18 years agoCanonicalize vvector_shuffle(x,x) -> vvector_shuffle(x,undef) to enable patterns
Chris Lattner [Sat, 8 Apr 2006 05:34:25 +0000 (05:34 +0000)]
Canonicalize vvector_shuffle(x,x) -> vvector_shuffle(x,undef) to enable patterns
to match again :)

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

18 years agoAdd constant replacement for insertelement/vectorshuffle constant exprs
Chris Lattner [Sat, 8 Apr 2006 05:09:48 +0000 (05:09 +0000)]
Add constant replacement for insertelement/vectorshuffle constant exprs

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

18 years agoWrap long lines, fix verification error
Chris Lattner [Sat, 8 Apr 2006 04:40:53 +0000 (04:40 +0000)]
Wrap long lines, fix verification error

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

18 years agouse the right escapes
Chris Lattner [Sat, 8 Apr 2006 04:39:19 +0000 (04:39 +0000)]
use the right escapes

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

18 years agoCodegen shufflevector as VVECTOR_SHUFFLE
Chris Lattner [Sat, 8 Apr 2006 04:15:24 +0000 (04:15 +0000)]
Codegen shufflevector as VVECTOR_SHUFFLE

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

18 years agoadd a sanity check: LegalizeOp should return a value that is the same type
Chris Lattner [Sat, 8 Apr 2006 04:13:17 +0000 (04:13 +0000)]
add a sanity check: LegalizeOp should return a value that is the same type
as its input.

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

18 years agouse isValidOperands instead of duplicating checks
Chris Lattner [Sat, 8 Apr 2006 04:09:19 +0000 (04:09 +0000)]
use isValidOperands instead of duplicating checks

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

18 years agoRegenerate
Chris Lattner [Sat, 8 Apr 2006 04:09:02 +0000 (04:09 +0000)]
Regenerate

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

18 years agoUse isValidOperands instead of duplicating or eliding checks.
Chris Lattner [Sat, 8 Apr 2006 04:08:32 +0000 (04:08 +0000)]
Use isValidOperands instead of duplicating or eliding checks.

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

18 years agoUse the isValidOperands helper instead of duplicating checking code
Chris Lattner [Sat, 8 Apr 2006 04:07:52 +0000 (04:07 +0000)]
Use the isValidOperands helper instead of duplicating checking code

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

18 years agoAdd methods to check insertelement/extractelement instructions for validity,
Chris Lattner [Sat, 8 Apr 2006 04:05:48 +0000 (04:05 +0000)]
Add methods to check insertelement/extractelement instructions for validity,
check validity when instructions are created.

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

18 years agoAdd methods to check insert/extract element instructions for validity
Chris Lattner [Sat, 8 Apr 2006 04:04:54 +0000 (04:04 +0000)]
Add methods to check insert/extract element instructions for validity

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

18 years agoregenerate
Chris Lattner [Sat, 8 Apr 2006 03:55:17 +0000 (03:55 +0000)]
regenerate

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

18 years agoAdd insertelement and shufflevector constantexpr support
Chris Lattner [Sat, 8 Apr 2006 03:53:34 +0000 (03:53 +0000)]
Add insertelement and shufflevector constantexpr support

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

18 years agoFix recursion:
Reid Spencer [Sat, 8 Apr 2006 02:14:37 +0000 (02:14 +0000)]
Fix recursion:
1. Make setting OPTIONAL_DIRS use immediate assignment
2. Include Makefile.config before ifeq tests and then Makefile.rules later
   instead of Makefile.common up front. This ensures that the variable
   values are set before the ifeq statements in Makefile.rules are
   evaluated.
With this, recursion into projects/examples is corrected.

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

18 years agoDon't build projects/examples if libs-only was specified.
Reid Spencer [Sat, 8 Apr 2006 01:57:10 +0000 (01:57 +0000)]
Don't build projects/examples if libs-only was specified.

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

18 years agoINSERT_VECTOR_ELT lowering bug:
Evan Cheng [Sat, 8 Apr 2006 01:46:37 +0000 (01:46 +0000)]
INSERT_VECTOR_ELT lowering bug:
  store vector to $esp
  store element to $esp + sizeof(VT) * index
  load  vector from $esp
The bug is VT is the type of the vector element, not the type of the vector!

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

18 years agoEnsure that the automatic "CVS build" detection works for both
Reid Spencer [Sat, 8 Apr 2006 01:41:26 +0000 (01:41 +0000)]
Ensure that the automatic "CVS build" detection works for both
objdir == srcdir and objdir != srcdir.

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

18 years agoAdd shufflevector support
Chris Lattner [Sat, 8 Apr 2006 01:19:47 +0000 (01:19 +0000)]
Add shufflevector support

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

18 years agoStub out shufflevector
Chris Lattner [Sat, 8 Apr 2006 01:19:25 +0000 (01:19 +0000)]
Stub out shufflevector

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

18 years agoAdd supprot for shufflevector
Chris Lattner [Sat, 8 Apr 2006 01:19:12 +0000 (01:19 +0000)]
Add supprot for shufflevector

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

18 years agoregenerate
Chris Lattner [Sat, 8 Apr 2006 01:18:56 +0000 (01:18 +0000)]
regenerate

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

18 years agoParse shufflevector
Chris Lattner [Sat, 8 Apr 2006 01:18:35 +0000 (01:18 +0000)]
Parse shufflevector

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

18 years agoAdd shufflevector support, todo, implement better constant folding.
Chris Lattner [Sat, 8 Apr 2006 01:18:18 +0000 (01:18 +0000)]
Add shufflevector support, todo, implement better constant folding.

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

18 years agoAdd shufflevector reading support
Chris Lattner [Sat, 8 Apr 2006 01:17:59 +0000 (01:17 +0000)]
Add shufflevector reading support

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

18 years agonew testcase for shufflevector
Chris Lattner [Sat, 8 Apr 2006 01:17:42 +0000 (01:17 +0000)]
new testcase for shufflevector

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

18 years agoAdd a new shufflevector instruction
Chris Lattner [Sat, 8 Apr 2006 01:15:18 +0000 (01:15 +0000)]
Add a new shufflevector instruction

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

18 years agoldmxcsr and stmxcsr.
Evan Cheng [Sat, 8 Apr 2006 00:47:44 +0000 (00:47 +0000)]
ldmxcsr and stmxcsr.

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

18 years agoFix int_x86_sse_stmxcsr and int_x86_sse_ldmxcsr. Not directly translated from
Evan Cheng [Sat, 8 Apr 2006 00:47:01 +0000 (00:47 +0000)]
Fix int_x86_sse_stmxcsr and int_x86_sse_ldmxcsr. Not directly translated from
gcc builtins. They are not lowered into these intrinsics which take a ptr
argument.

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

18 years agoGet Visual Studio building again.
Jeff Cohen [Sat, 8 Apr 2006 00:43:03 +0000 (00:43 +0000)]
Get Visual Studio building again.

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

18 years agoRemove section change in function end, preventing override of function's real
Jim Laskey [Sat, 8 Apr 2006 00:35:59 +0000 (00:35 +0000)]
Remove section change in function end, preventing override of function's real
section.

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

18 years agoDescription for the new shufflevector instruction I'm adding.
Chris Lattner [Sat, 8 Apr 2006 00:13:41 +0000 (00:13 +0000)]
Description for the new shufflevector instruction I'm adding.

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

18 years agoCode clean up.
Evan Cheng [Fri, 7 Apr 2006 21:53:05 +0000 (21:53 +0000)]
Code clean up.

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

18 years agoDoh!
Evan Cheng [Fri, 7 Apr 2006 21:52:15 +0000 (21:52 +0000)]
Doh!

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

18 years agoInvert the tests on LLVMGCC_MAJVERS to check for value 4 instead of value
Reid Spencer [Fri, 7 Apr 2006 21:45:23 +0000 (21:45 +0000)]
Invert the tests on LLVMGCC_MAJVERS to check for value 4 instead of value
3. This ensures that if llvm-gcc isn't available and consequently the value
of LLVMGCC_MAJVERS is blank, that the old (include runtime) behavior will
persist.

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

18 years agoAdded patterns for MOVHPSmr and MOVLPSmr.
Evan Cheng [Fri, 7 Apr 2006 21:20:58 +0000 (21:20 +0000)]
Added patterns for MOVHPSmr and MOVLPSmr.

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

18 years agoKeep track of an Mac OS X / x86 ABI bug.
Evan Cheng [Fri, 7 Apr 2006 21:19:53 +0000 (21:19 +0000)]
Keep track of an Mac OS X / x86 ABI bug.

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

18 years agoRemove int_x86_sse_storeh_ps and int_x86_sse_storel_ps. These are now lowered
Evan Cheng [Fri, 7 Apr 2006 21:18:40 +0000 (21:18 +0000)]
Remove int_x86_sse_storeh_ps and int_x86_sse_storel_ps. These are now lowered
by the frontend.

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

18 years agoMake sure that debug labels are defined within the same section and after the
Jim Laskey [Fri, 7 Apr 2006 20:44:42 +0000 (20:44 +0000)]
Make sure that debug labels are defined within the same section and after the
entry point of a function.

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

18 years agoadd a newline at the end of the file
Chris Lattner [Fri, 7 Apr 2006 18:41:16 +0000 (18:41 +0000)]
add a newline at the end of the file

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

18 years agoFoundation for call frame information.
Jim Laskey [Fri, 7 Apr 2006 16:34:46 +0000 (16:34 +0000)]
Foundation for call frame information.

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

18 years agoTHis -> This
Chris Lattner [Fri, 7 Apr 2006 16:21:59 +0000 (16:21 +0000)]
THis -> This

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

18 years agoFor PR723:
Reid Spencer [Fri, 7 Apr 2006 16:07:37 +0000 (16:07 +0000)]
For PR723:
Configure with the --enable-optimized and --enable-assertions option to
ensure that binary RPM packages are built with the options required by the
feature request.

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

18 years agoFor PR723:
Reid Spencer [Fri, 7 Apr 2006 16:06:18 +0000 (16:06 +0000)]
For PR723:
1. Don't force debug builds to have assertion checking turned on always.
   Let the default (on) be taken, or overridden by the command line
2. Create two new BuildModes based on assertion checking: Release+Assert
   and Debug-Assert.
3. Ensure that when building a distribution we get a release build with
   assertions enabled, regardless of the tree's configuration.
4. (unrelated) Fix library name generation for llvm-config usage.

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

18 years agoFor PR723:
Reid Spencer [Fri, 7 Apr 2006 16:01:51 +0000 (16:01 +0000)]
For PR723:
Support detection of a "CVS" directory at configure time to distinguish
whether this is a release build or a "from tree" build. This knowledge is
used to set the defaults for --enable-optimzied and --enable-assertions
options.

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

18 years agoFor PR723:
Reid Spencer [Fri, 7 Apr 2006 15:59:41 +0000 (15:59 +0000)]
For PR723:
- Provide for the include of ENABLE_ASSERTIONS flag from the configuration.
- Enhance the documentation for ENABLE_OPTIMIZED

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

18 years agoFor PR723:
Reid Spencer [Fri, 7 Apr 2006 15:58:18 +0000 (15:58 +0000)]
For PR723:
Print out something at the end of the build that indicates what kind of
build has just completed.

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

18 years agoIgnore stuff built by "make dist".
Reid Spencer [Fri, 7 Apr 2006 15:55:18 +0000 (15:55 +0000)]
Ignore stuff built by "make dist".

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

18 years agoA saner workaround. I hope.
Evan Cheng [Fri, 7 Apr 2006 08:31:56 +0000 (08:31 +0000)]
A saner workaround. I hope.

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

18 years agoTemporary workaround for a Mac OSX specific issue.
Evan Cheng [Fri, 7 Apr 2006 08:10:09 +0000 (08:10 +0000)]
Temporary workaround for a Mac OSX specific issue.

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

18 years agoAdded more shuffle tests
Evan Cheng [Fri, 7 Apr 2006 05:35:45 +0000 (05:35 +0000)]
Added more shuffle tests

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

18 years agoWe have an assertion that checks that we do not encode null values into the
Chris Lattner [Fri, 7 Apr 2006 05:00:02 +0000 (05:00 +0000)]
We have an assertion that checks that we do not encode null values into the
.bc file if they are supposed to be implicit.  This is cool, except that it
checked *after* constant expr folding: improving constant expr folding could
cause the .bc reader to assert out on old .bc files.  Move the check so that
it checks all simple constants, but no constantexprs.

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