Chris Lattner [Fri, 21 Apr 2006 15:32:26 +0000 (15:32 +0000)]
Fix a couple more memory issues
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27930
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 21 Apr 2006 05:29:25 +0000 (05:29 +0000)]
Remove the extraneous --defined-only option to nm. This is the default and
some versions of nm don't recognize it (its a gnu option).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27928
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 21 Apr 2006 04:58:23 +0000 (04:58 +0000)]
Add && to each RUN: line (except the last one).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27927
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 21 Apr 2006 01:22:41 +0000 (01:22 +0000)]
More build_vector tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27926
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 21 Apr 2006 01:21:23 +0000 (01:21 +0000)]
Check for llc crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27925
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 21 Apr 2006 01:12:32 +0000 (01:12 +0000)]
To be replaced with another test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27924
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 21 Apr 2006 01:05:10 +0000 (01:05 +0000)]
Now generating perfect (I think) code for "vector set" with a single non-zero
scalar value.
e.g.
_mm_set_epi32(0, a, 0, 0);
==>
movd 4(%esp), %xmm0
pshufd $69, %xmm0, %xmm0
_mm_set_epi8(0, 0, 0, 0, 0, a, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
==>
movzbw 4(%esp), %ax
movzwl %ax, %eax
pxor %xmm0, %xmm0
pinsrw $5, %eax, %xmm0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27923
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 23:55:59 +0000 (23:55 +0000)]
Fix a really subtle and obnoxious memory bug that caused issues with an
llvm-gcc4 boostrap. Whenever a node is deleted by the dag combiner, it
*must* be returned by the visit function, or the dag combiner will not
know that the node has been processed (and will, e.g., send it to the
target dag combine xforms).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27922
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 23:09:57 +0000 (23:09 +0000)]
Don't require the "dot" program if -flat option is given, and don't produce
any of the fancy graphs or other output. Just produce the flat, makefile
style output on stdout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27921
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Thu, 20 Apr 2006 22:19:06 +0000 (22:19 +0000)]
Keep Visual Studio informed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27920
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 22:15:30 +0000 (22:15 +0000)]
Configure llvm-config in tools, not utils.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27919
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 21:16:32 +0000 (21:16 +0000)]
Remove the llvm-config directory. Its now in tools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27918
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 21:15:41 +0000 (21:15 +0000)]
llvm-config doesn't live here anymore ==> tools
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27917
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 21:14:39 +0000 (21:14 +0000)]
Okay, llvm-config is good to go now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27916
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 21:13:58 +0000 (21:13 +0000)]
Several Changes To Support Building llvm-config:
1. If Perl is not available, don't run Perl dependent targets.
2. Check in FinalLibDeps.txt for build environments that can't build it
because there's no Perl processor.
3. Ensure that FinalLibDeps.txt depends on LibDeps.txt so it is
automatically regenerated.
4. Support objdir != srcdir building.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27915
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 21:00:24 +0000 (21:00 +0000)]
Don't build llvm-config until issues are resolved.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27914
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 20:53:23 +0000 (20:53 +0000)]
Build the llvm-config directory as a tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27913
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 20:48:50 +0000 (20:48 +0000)]
Fix Transforms/ScalarRepl/2006-04-20-PromoteCrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27912
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 20:48:32 +0000 (20:48 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27911
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 19:50:53 +0000 (19:50 +0000)]
Update the library dependencies for 1.8 with SparcV9 now gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27910
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 19:47:28 +0000 (19:47 +0000)]
Don't know what I was thinking...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27909
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 19:01:30 +0000 (19:01 +0000)]
Fix the CodeGen/PowerPC/buildvec_canonicalize.ll regression last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27908
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:49:28 +0000 (18:49 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27907
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 18:47:13 +0000 (18:47 +0000)]
Remove Burg as a directory to be considered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27906
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 18:46:45 +0000 (18:46 +0000)]
Remove more references to Burg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27905
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 18:44:24 +0000 (18:44 +0000)]
Remove reference to BURG variable. It no longer exists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27904
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:43:59 +0000 (18:43 +0000)]
remove some stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27903
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 18:42:24 +0000 (18:42 +0000)]
Remove traces of Burg utility now that its gone and not needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27902
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 18:39:19 +0000 (18:39 +0000)]
Burg not needed any more now that SparcV9 is gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27901
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:33:11 +0000 (18:33 +0000)]
remove some v9 specific code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27900
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:32:41 +0000 (18:32 +0000)]
This field no longer exists
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27899
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:32:22 +0000 (18:32 +0000)]
Don't fill in fields that no longer exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27898
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:32:02 +0000 (18:32 +0000)]
Remove a bunch of dead stuff, shrinkifying TargetInstrDescriptor significantly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27897
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:17:21 +0000 (18:17 +0000)]
Remove some obsolete interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27896
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:16:45 +0000 (18:16 +0000)]
Remove this obsolete file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27895
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:09:13 +0000 (18:09 +0000)]
Remove some of the obvious v9-specific cruft
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27894
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 18:08:53 +0000 (18:08 +0000)]
Remove some of the obvious V9-specific cruft
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27893
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 17:59:30 +0000 (17:59 +0000)]
Vector extract element test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27892
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:52:00 +0000 (17:52 +0000)]
Remove V9 jit support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27891
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 17:50:10 +0000 (17:50 +0000)]
Vector insert test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27890
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:45:33 +0000 (17:45 +0000)]
allow this dir to get pruned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27889
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:44:51 +0000 (17:44 +0000)]
Remove this target's reg tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27888
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:43:41 +0000 (17:43 +0000)]
Fails with all sparcs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27887
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:42:23 +0000 (17:42 +0000)]
Remove V9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27886
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:15:44 +0000 (17:15 +0000)]
This target is no longer built. The ,v files now live in the reoptimizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27885
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:07:46 +0000 (17:07 +0000)]
Never link in sparcv9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27884
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 17:01:19 +0000 (17:01 +0000)]
Never build SparcV9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27883
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 15:45:54 +0000 (15:45 +0000)]
remove a dead prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27882
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Thu, 20 Apr 2006 15:41:37 +0000 (15:41 +0000)]
Make code match cvs commit message :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27881
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Thu, 20 Apr 2006 14:56:47 +0000 (14:56 +0000)]
If we can convert the return pointer type into an integer that IntPtrType
can be converted to losslessly, we can continue the conversion to a direct call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27880
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Thu, 20 Apr 2006 14:54:17 +0000 (14:54 +0000)]
can we cast between pointers and IntPtrType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27879
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 14:17:47 +0000 (14:17 +0000)]
Add a missing =back to eliminate error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27878
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 09:05:16 +0000 (09:05 +0000)]
v16i8 splat with 2 punpcklbw and a single pshufd.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27877
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 09:01:54 +0000 (09:01 +0000)]
Another shuffle test. For 4-wide shuffle, no more than 3 {p}shuf*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27876
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 08:58:49 +0000 (08:58 +0000)]
- Added support to turn "vector clear elements", e.g. pand V, <-1, -1, 0, -1>
to a vector shuffle.
- VECTOR_SHUFFLE lowering change in preparation for more efficient codegen
of vector shuffle with zero (or any splat) vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27875
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 08:56:16 +0000 (08:56 +0000)]
Turn a VAND into a VECTOR_SHUFFLE is applicable.
DAG combiner can turn a VAND V, <-1, 0, -1, -1>, i.e. vector clear elements,
into a vector shuffle with a zero vector. It only does so when TLI tells it
the xform is profitable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27874
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 08:54:13 +0000 (08:54 +0000)]
Added a virtual method isVectorClearMaskLegal to TLI. It is similar to
isShuffleMaskLegal, used to determine if it makes sense to turn a
"vector clear" (e.g. pand V, <0, -1, 0, -1> to a shuffle of the vector and
a zero vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27873
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 08:51:03 +0000 (08:51 +0000)]
Added a test case for , e.g. xform pand <0, 0, -1, -1> to a shuffle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27872
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 08:47:47 +0000 (08:47 +0000)]
Added a movhlps, movlhps test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 06:24:16 +0000 (06:24 +0000)]
Don't hardcode in 1.5 for the website, just use 'CVS'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27870
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 06:15:48 +0000 (06:15 +0000)]
This is old, out of date, and isn't linked to by anything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27869
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 05:58:10 +0000 (05:58 +0000)]
Make sure that the new instructions selected have the right type. This fixes
CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27868
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 05:57:43 +0000 (05:57 +0000)]
New testcase for a codegen crash
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27867
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 05:51:53 +0000 (05:51 +0000)]
Changing domain name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27865
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 05:39:12 +0000 (05:39 +0000)]
Implement folding of a bunch of binops with undef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27863
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 05:08:23 +0000 (05:08 +0000)]
Update llvmgcc4 tarball names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27861
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 05:05:12 +0000 (05:05 +0000)]
Removed listing of llvm releases after 1.4, and said "1.4 and newer"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27860
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 04:57:19 +0000 (04:57 +0000)]
Made warning red.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27859
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 04:55:50 +0000 (04:55 +0000)]
Document is out of date.. added warning and link to llvm-config.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27858
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 04:47:55 +0000 (04:47 +0000)]
Fixed up comment on xfail for llvmgcc version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27857
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 04:45:59 +0000 (04:45 +0000)]
Added note about being able to XFAIL based on llvmgcc version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27856
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 04:38:16 +0000 (04:38 +0000)]
Removed cvs mirror comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27855
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 20 Apr 2006 04:35:34 +0000 (04:35 +0000)]
Minor fixes for the release.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27854
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 04:24:28 +0000 (04:24 +0000)]
This has been fixed! Thanks Reid.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27853
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 04:22:06 +0000 (04:22 +0000)]
Yeah that's right!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27852
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Apr 2006 04:01:31 +0000 (04:01 +0000)]
Fixes from Tanya
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27851
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 20 Apr 2006 00:18:39 +0000 (00:18 +0000)]
Add in missing #defines for _OpenBSD_ systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27850
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 20 Apr 2006 00:11:39 +0000 (00:11 +0000)]
Handle v2i64 BUILD_VECTOR custom lowering correctly. v2i64 is a legal type,
but i64 is not. If possible, change a i64 op to a f64 (e.g. load, constant)
and then cast it back.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27849
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 19 Apr 2006 23:47:16 +0000 (23:47 +0000)]
Allow OpenBSD to be recognized as a UNIX platform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27848
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 23:28:59 +0000 (23:28 +0000)]
isSplatMask() bug: first element can be an undef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27847
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 23:17:50 +0000 (23:17 +0000)]
Simplify some code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27846
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 22:48:17 +0000 (22:48 +0000)]
- Added support to do aribitrary 4 wide shuffle with no more than three
instructions.
- Fixed a commute vector_shuff bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27845
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 21:15:24 +0000 (21:15 +0000)]
Prefer {p}unpack* and mov*dup over {p}shuf* as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27844
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 20:38:28 +0000 (20:38 +0000)]
Renamed AddedCost to AddedComplexity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27843
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 20:37:34 +0000 (20:37 +0000)]
- Renamed AddedCost to AddedComplexity.
- Added more movhlps and movlhps patterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27842
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 20:36:09 +0000 (20:36 +0000)]
Rename AddedCost to AddedComplexity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27841
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 20:35:22 +0000 (20:35 +0000)]
Commute vector_shuffle to match more movlhps, movlp{s|d} cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27840
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 18:45:29 +0000 (18:45 +0000)]
Final piece to get relinked .o files buildable universal on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27839
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 18:38:19 +0000 (18:38 +0000)]
Regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27838
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 18:34:41 +0000 (18:34 +0000)]
When on darwin, compiler_flags need to be percolated down to the 'gcc -r'
command line so that relinked .o files can be built universal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27837
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 18:20:17 +0000 (18:20 +0000)]
More mov{h|l}p{d|s} patterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27836
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 18:11:52 +0000 (18:11 +0000)]
- More mov{h|l}ps patterns.
- Increase cost (complexity) of patterns which match mov{h|l}ps ops. These
are preferred over shufps in most cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27835
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 19 Apr 2006 18:07:24 +0000 (18:07 +0000)]
Allow "let AddedCost = n in" to increase pattern complexity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27834
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 17:20:48 +0000 (17:20 +0000)]
Alpha too!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27833
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 16:22:38 +0000 (16:22 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27832
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 19 Apr 2006 15:34:34 +0000 (15:34 +0000)]
Another simple case type merge case to try
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27831
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 19 Apr 2006 15:34:02 +0000 (15:34 +0000)]
deal with memchr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27830
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 19 Apr 2006 15:33:35 +0000 (15:33 +0000)]
friendlier error message
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27829
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 05:55:06 +0000 (05:55 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Apr 2006 05:53:27 +0000 (05:53 +0000)]
Add a note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27827
91177308-0d34-0410-b5e6-
96231b3b80d8