oota-llvm.git
17 years agoSyntax error in NewNightlyTest.pl
Patrick Jenkins [Fri, 7 Jul 2006 21:47:24 +0000 (21:47 +0000)]
Syntax error in NewNightlyTest.pl

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

17 years agoFixed a variable naming issue for the External Program Results table. Also fixed...
Patrick Jenkins [Fri, 7 Jul 2006 21:40:34 +0000 (21:40 +0000)]
Fixed a variable naming issue for the External Program Results table. Also fixed an issue with printing the sent data to a sentdata.txt

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

17 years agoFix a typo that causes 2006-07-07-ComputeMaskedBits.ll to fail.
Evan Cheng [Fri, 7 Jul 2006 21:37:21 +0000 (21:37 +0000)]
Fix a typo that causes 2006-07-07-ComputeMaskedBits.ll to fail.

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

17 years agoFix PR820 and Transforms/GlobalOpt/2006-07-07-InlineAsmCrash.ll
Chris Lattner [Fri, 7 Jul 2006 21:37:01 +0000 (21:37 +0000)]
Fix PR820 and Transforms/GlobalOpt/2006-07-07-InlineAsmCrash.ll

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

17 years agoTestcase for PR820
Chris Lattner [Fri, 7 Jul 2006 21:36:42 +0000 (21:36 +0000)]
Testcase for PR820

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

17 years agoAdd a 64-bit test case.
Evan Cheng [Fri, 7 Jul 2006 21:36:24 +0000 (21:36 +0000)]
Add a 64-bit test case.

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

17 years agono need to do a stat then an lstat. lstat will tell us if normal files don't exist.
Chris Lattner [Fri, 7 Jul 2006 21:21:06 +0000 (21:21 +0000)]
no need to do a stat then an lstat.  lstat will tell us if normal files don't exist.

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

17 years agoFinish removal of EH usage from the Archive library. The REQUIRES_EH flag
Reid Spencer [Fri, 7 Jul 2006 20:56:50 +0000 (20:56 +0000)]
Finish removal of EH usage from the Archive library. The REQUIRES_EH flag
in lib/Bytecode/Archive/Makefile is now removed. One small step closer to
a smaller LLVM.

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

17 years agoRemove EH use from the Archive library and adjust its users accordingly.
Reid Spencer [Fri, 7 Jul 2006 19:09:14 +0000 (19:09 +0000)]
Remove EH use from the Archive library and adjust its users accordingly.

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

17 years agoUpdated comments at top of file to reflect relevant command line options.
Patrick Jenkins [Fri, 7 Jul 2006 18:50:51 +0000 (18:50 +0000)]
Updated comments at top of file to reflect relevant command line options.

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

17 years agoMove << method out of line.
Chris Lattner [Fri, 7 Jul 2006 18:11:32 +0000 (18:11 +0000)]
Move << method out of line.

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

17 years ago#include <iosfwd> not <ostream>
Chris Lattner [Fri, 7 Jul 2006 18:10:59 +0000 (18:10 +0000)]
#include <iosfwd> not <ostream>

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

17 years agoNew vector shuffle test case.
Evan Cheng [Fri, 7 Jul 2006 17:54:24 +0000 (17:54 +0000)]
New vector shuffle test case.

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

17 years agoUpdate
Evan Cheng [Fri, 7 Jul 2006 17:54:10 +0000 (17:54 +0000)]
Update

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

17 years agoChange AllocateRWX/DeallocateRWX to not throw an exception.
Chris Lattner [Fri, 7 Jul 2006 17:32:37 +0000 (17:32 +0000)]
Change AllocateRWX/DeallocateRWX to not throw an exception.

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

17 years agoChange AllocateRWX/DeallocateRWX do not throw an exception.
Chris Lattner [Fri, 7 Jul 2006 17:31:41 +0000 (17:31 +0000)]
Change AllocateRWX/DeallocateRWX do not throw an exception.

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

17 years agoAdded the -noremoveresults option which will not remove the $WebDir from the nightly...
Patrick Jenkins [Fri, 7 Jul 2006 17:31:38 +0000 (17:31 +0000)]
Added the -noremoveresults option which will not remove the $WebDir from the nightly test runs.

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

17 years agoFix this impl
Chris Lattner [Fri, 7 Jul 2006 17:26:47 +0000 (17:26 +0000)]
Fix this impl

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

17 years agoAdapt to new interface function materialization interface
Chris Lattner [Fri, 7 Jul 2006 17:18:09 +0000 (17:18 +0000)]
Adapt to new interface function materialization interface

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

17 years agoLoadLibraryPermanently no longer throws an exception, so this code doesn't have
Chris Lattner [Fri, 7 Jul 2006 17:14:04 +0000 (17:14 +0000)]
LoadLibraryPermanently no longer throws an exception, so this code doesn't have
to catch it.  Other minor cleanups.

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

17 years agoAdd a helper function
Chris Lattner [Fri, 7 Jul 2006 17:13:10 +0000 (17:13 +0000)]
Add a helper function

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

17 years agoChange LoadLibraryPermanently to not throw an exception.
Chris Lattner [Fri, 7 Jul 2006 17:12:36 +0000 (17:12 +0000)]
Change LoadLibraryPermanently to not throw an exception.

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

17 years agoFixed variable naming issue that prevented $Prefix-senddata.txt from having any infor...
Patrick Jenkins [Fri, 7 Jul 2006 17:08:02 +0000 (17:08 +0000)]
Fixed variable naming issue that prevented $Prefix-senddata.txt from having any information

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

17 years agoThis patch (written by Reid) changes compressor to never throw an exception.
Chris Lattner [Fri, 7 Jul 2006 17:00:12 +0000 (17:00 +0000)]
This patch (written by Reid) changes compressor to never throw an exception.

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

17 years agoThis uses EH info
Chris Lattner [Fri, 7 Jul 2006 16:46:43 +0000 (16:46 +0000)]
This uses EH info

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

17 years agoThese libs use EH info
Chris Lattner [Fri, 7 Jul 2006 16:44:31 +0000 (16:44 +0000)]
These libs use EH info

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

17 years agoX86 target specific DAG combine: turn build_vector (load x), (load x+4),
Evan Cheng [Fri, 7 Jul 2006 08:33:52 +0000 (08:33 +0000)]
X86 target specific DAG combine: turn build_vector (load x), (load x+4),
(load x+8), (load x+12), <0, 1, 2, 3> to a single 128-bit load (aligned and
unaligned).

e.g.

__m128 test(float a, float b, float c, float d) {
  return _mm_set_ps(d, c, b, a);
}

_test:
        movups 4(%esp), %xmm0
        ret

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

17 years agoFix a bug in my previous patch which broke building llvm/runtime when using llvm...
Chris Lattner [Fri, 7 Jul 2006 06:06:06 +0000 (06:06 +0000)]
Fix a bug in my previous patch which broke building llvm/runtime when using llvm-gcc3.

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

17 years agoXfail this
Chris Lattner [Fri, 7 Jul 2006 04:43:24 +0000 (04:43 +0000)]
Xfail this

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

17 years agoThis uses EH extensively
Chris Lattner [Fri, 7 Jul 2006 00:47:29 +0000 (00:47 +0000)]
This uses EH extensively

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

17 years agoTools require EH for their top-level try blocks.
Chris Lattner [Fri, 7 Jul 2006 00:46:19 +0000 (00:46 +0000)]
Tools require EH for their top-level try blocks.

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

17 years agotblgen uses EH
Chris Lattner [Fri, 7 Jul 2006 00:21:17 +0000 (00:21 +0000)]
tblgen uses EH

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

17 years agoStacker uses EH.
Chris Lattner [Fri, 7 Jul 2006 00:20:39 +0000 (00:20 +0000)]
Stacker uses EH.

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

17 years agoFix an embarassing bug reid noticed
Chris Lattner [Fri, 7 Jul 2006 00:01:01 +0000 (00:01 +0000)]
Fix an embarassing bug reid noticed

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

17 years agoFix PR819, llvm2cpp should read .bc files, not .ll files.
Chris Lattner [Thu, 6 Jul 2006 23:48:57 +0000 (23:48 +0000)]
Fix PR819, llvm2cpp should read .bc files, not .ll files.

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

17 years agoModify the SlowOperationInformer interface to not throw exceptions.
Chris Lattner [Thu, 6 Jul 2006 22:34:06 +0000 (22:34 +0000)]
Modify the SlowOperationInformer interface to not throw exceptions.

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

17 years agoFixed a bug that looked for -Warnings.txt and -Tests.txt in ridiculous places.
Patrick Jenkins [Thu, 6 Jul 2006 22:32:15 +0000 (22:32 +0000)]
Fixed a bug that looked for -Warnings.txt and -Tests.txt in ridiculous places.

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

17 years agoChange the ModuleProvider interface to not throw exceptions.
Chris Lattner [Thu, 6 Jul 2006 21:35:01 +0000 (21:35 +0000)]
Change the ModuleProvider interface to not throw exceptions.

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

17 years agoThe first commit of NewNightlyTest.pl which instead of generating a webpage submits...
Patrick Jenkins [Thu, 6 Jul 2006 21:19:32 +0000 (21:19 +0000)]
The first commit of NewNightlyTest.pl which instead of generating a webpage submits the results of the test to a central server for storage and display.

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

17 years agoPrint LLVM version info like this:
Chris Lattner [Thu, 6 Jul 2006 18:33:03 +0000 (18:33 +0000)]
Print LLVM version info like this:

Low Level Virtual Machine (http://llvm.org/):
  llvm version 1.8cvs
  DEBUG build with assertions.

instead of like this:

Low Level Virtual Machine (llvm) 1.8cvs (see http://llvm.org/) ASSERTIONS ENABLED

Also, add a place for vendor version info.

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

17 years agoChange the verifier to never throw an exception. Instead verifyModule canoptionally...
Chris Lattner [Thu, 6 Jul 2006 18:02:27 +0000 (18:02 +0000)]
Change the verifier to never throw an exception.  Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway.

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

17 years agoChange the verifier to never throw an exception. Instead verifyModule can
Chris Lattner [Thu, 6 Jul 2006 18:00:01 +0000 (18:00 +0000)]
Change the verifier to never throw an exception.  Instead verifyModule can
optionally return the string error, which is an easier api for clients to
use anyway.

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

17 years agoUndisable ppc64 jit
Chris Lattner [Thu, 6 Jul 2006 17:10:42 +0000 (17:10 +0000)]
Undisable ppc64 jit

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

17 years agoFixed a typo.
Evan Cheng [Thu, 6 Jul 2006 07:46:33 +0000 (07:46 +0000)]
Fixed a typo.

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

17 years agoAdded option -code-model to set code model (only used in 64-bit) mode. Valid
Evan Cheng [Thu, 6 Jul 2006 01:53:36 +0000 (01:53 +0000)]
Added option -code-model to set code model (only used in 64-bit) mode. Valid
values include small, kernel, medium, large, and default.

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

17 years agoThe web site uses this
Chris Lattner [Thu, 6 Jul 2006 00:36:52 +0000 (00:36 +0000)]
The web site uses this

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

17 years agoReorg. No functionality change.
Evan Cheng [Wed, 5 Jul 2006 22:17:51 +0000 (22:17 +0000)]
Reorg. No functionality change.

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

17 years agoUpdate test case.
Evan Cheng [Wed, 5 Jul 2006 20:46:27 +0000 (20:46 +0000)]
Update test case.

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

17 years agoAdding Patrick Jenkins' information to CREDITS.TXT
Patrick Jenkins [Wed, 5 Jul 2006 20:17:26 +0000 (20:17 +0000)]
Adding Patrick Jenkins' information to CREDITS.TXT

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

17 years agoFix JIT on non MacOS X i386 systems.
Evan Cheng [Wed, 5 Jul 2006 07:09:13 +0000 (07:09 +0000)]
Fix JIT on non MacOS X i386 systems.

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

17 years agoLegalize does not handle this correctly
Andrew Lenharth [Mon, 3 Jul 2006 22:46:02 +0000 (22:46 +0000)]
Legalize does not handle this correctly

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

17 years agoThese are already implemented
Andrew Lenharth [Mon, 3 Jul 2006 18:00:29 +0000 (18:00 +0000)]
These are already implemented

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

17 years ago0 offsets for memory operands
Andrew Lenharth [Mon, 3 Jul 2006 17:57:34 +0000 (17:57 +0000)]
0 offsets for memory operands

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

17 years agoSplit long comment lines.
Reid Spencer [Mon, 3 Jul 2006 16:46:03 +0000 (16:46 +0000)]
Split long comment lines.

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

17 years agoUgly hack! Add helper functions InsertInFlightSetEntry and
Evan Cheng [Thu, 29 Jun 2006 23:57:05 +0000 (23:57 +0000)]
Ugly hack! Add helper functions InsertInFlightSetEntry and
RemoveInFlightSetEntry. They are used in place of direct set operators to
reduce instruction selection function stack size.

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

17 years agoAllow specifying an explicit list of architectures to build for, e.g.:
Chris Lattner [Thu, 29 Jun 2006 19:38:04 +0000 (19:38 +0000)]
Allow specifying an explicit list of architectures to build for, e.g.:
make ENABLE_OPTIMIZED=1 UNIVERSAL=1 UNIVERSAL_ARCH="i386 ppc ppc64"

retain the default of building for just i386/ppc.

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

17 years agoShould just use xorps to clear XMM registers for all data types. pxor is also one...
Evan Cheng [Thu, 29 Jun 2006 18:04:54 +0000 (18:04 +0000)]
Should just use xorps to clear XMM registers for all data types. pxor is also one byte longer.

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

17 years agoDescribe my newest work.
Owen Anderson [Thu, 29 Jun 2006 04:21:59 +0000 (04:21 +0000)]
Describe my newest work.

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

17 years agoLet X86CompilationCallback pass previous frame and return address to X86CompilationCa...
Evan Cheng [Thu, 29 Jun 2006 01:48:36 +0000 (01:48 +0000)]
Let X86CompilationCallback pass previous frame and return address to X86CompilationCallback2. Remove alloca hack.

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

17 years agoAdded -disable-cbe to disable C backend testing.
Evan Cheng [Thu, 29 Jun 2006 00:54:37 +0000 (00:54 +0000)]
Added -disable-cbe to disable C backend testing.

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

17 years agoAdd shift and rotate by 1 instructions / patterns.
Evan Cheng [Thu, 29 Jun 2006 00:36:51 +0000 (00:36 +0000)]
Add shift and rotate by 1 instructions / patterns.

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

17 years agoAlways use xorps to clear XMM registers.
Evan Cheng [Thu, 29 Jun 2006 00:34:23 +0000 (00:34 +0000)]
Always use xorps to clear XMM registers.

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

17 years agoMove .literal4 and .literal8 support into AsmPrinter.cpp
Evan Cheng [Thu, 29 Jun 2006 00:33:06 +0000 (00:33 +0000)]
Move .literal4 and .literal8 support into AsmPrinter.cpp

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

17 years agoAdd support to print 4-, 8-, and 16- byte constant literals in special
Evan Cheng [Thu, 29 Jun 2006 00:26:09 +0000 (00:26 +0000)]
Add support to print 4-, 8-, and 16- byte constant literals in special
sections. e.g. On Darwin that would be .literal4 and .literal8.

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

17 years agoHide x86 symbols
Chris Lattner [Wed, 28 Jun 2006 23:27:49 +0000 (23:27 +0000)]
Hide x86 symbols

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

17 years agoUse hidden visibility to make symbols in an anonymous namespace get
Chris Lattner [Wed, 28 Jun 2006 23:17:24 +0000 (23:17 +0000)]
Use hidden visibility to make symbols in an anonymous namespace get
dropped.  This shrinks libllvmgcc.dylib another 67K

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

17 years agoUse hidden visibility to reduce codesize
Chris Lattner [Wed, 28 Jun 2006 22:57:00 +0000 (22:57 +0000)]
Use hidden visibility to reduce codesize

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

17 years agoShave another 27K off libllvmgcc.dylib with visibility hidden
Chris Lattner [Wed, 28 Jun 2006 22:17:39 +0000 (22:17 +0000)]
Shave another 27K off libllvmgcc.dylib with visibility hidden

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

17 years agoShrink libllvmgcc.dylib by another 23K
Chris Lattner [Wed, 28 Jun 2006 22:08:15 +0000 (22:08 +0000)]
Shrink libllvmgcc.dylib by another 23K

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

17 years agoshrink libllvmgcc.dylib another 25K
Chris Lattner [Wed, 28 Jun 2006 22:00:36 +0000 (22:00 +0000)]
shrink libllvmgcc.dylib another 25K

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

17 years agoMark these two classes as hidden, shrinking libllbmgcc.dylib by 25K
Chris Lattner [Wed, 28 Jun 2006 21:58:30 +0000 (21:58 +0000)]
Mark these two classes as hidden, shrinking libllbmgcc.dylib by 25K

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

17 years agoUse hidden visibility to reduce the sizes of some .o files. This chops 60K off a...
Chris Lattner [Wed, 28 Jun 2006 21:38:54 +0000 (21:38 +0000)]
Use hidden visibility to reduce the sizes of some .o files.  This chops 60K off a release llvm-dis.

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

17 years agoAdd support for hidden visibility
Chris Lattner [Wed, 28 Jun 2006 21:38:04 +0000 (21:38 +0000)]
Add support for hidden visibility

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

17 years agonot really XFailing these, as only incompleteness is wrong in the graph
Andrew Lenharth [Wed, 28 Jun 2006 20:14:30 +0000 (20:14 +0000)]
not really XFailing these, as only incompleteness is wrong in the graph

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

17 years agochange I flag on test
Andrew Lenharth [Wed, 28 Jun 2006 20:07:36 +0000 (20:07 +0000)]
change I flag on test

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

17 years agoFix CodeGen/Generic/2006-06-28-SimplifySetCCCrash.ll
Chris Lattner [Wed, 28 Jun 2006 18:29:47 +0000 (18:29 +0000)]
Fix CodeGen/Generic/2006-06-28-SimplifySetCCCrash.ll

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

17 years agoTestcase that crashes the ppc backend.
Chris Lattner [Wed, 28 Jun 2006 18:29:33 +0000 (18:29 +0000)]
Testcase that crashes the ppc backend.

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

17 years agoDoh.
Evan Cheng [Wed, 28 Jun 2006 17:56:43 +0000 (17:56 +0000)]
Doh.

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

17 years agoSwitch to a very conservative heuristic for determining when loop-unswitching
Owen Anderson [Wed, 28 Jun 2006 17:47:50 +0000 (17:47 +0000)]
Switch to a very conservative heuristic for determining when loop-unswitching
will be profitable.  This is mainly to remove some cases where excessive
unswitching would result in long compile times and/or huge generated code.

Once someone comes up with a better heuristic that avoids these cases, this
should be switched out.

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

17 years agoFix Transforms/InstCombine/2006-06-28-infloop.ll
Chris Lattner [Wed, 28 Jun 2006 17:34:50 +0000 (17:34 +0000)]
Fix Transforms/InstCombine/2006-06-28-infloop.ll

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

17 years agoInfinite loop in instcombine that nate hit.
Chris Lattner [Wed, 28 Jun 2006 17:34:28 +0000 (17:34 +0000)]
Infinite loop in instcombine that nate hit.

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

17 years agoDon't unswitch really large loops even if they are mostly filled with empty
Chris Lattner [Wed, 28 Jun 2006 16:38:55 +0000 (16:38 +0000)]
Don't unswitch really large loops even if they are mostly filled with empty
blocks.

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

17 years agoOops. Need to keep CP index.
Evan Cheng [Wed, 28 Jun 2006 07:55:24 +0000 (07:55 +0000)]
Oops. Need to keep CP index.

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

17 years agoDarwin puts float and double literal constants into literal4 and literal8 sections.
Evan Cheng [Wed, 28 Jun 2006 07:35:41 +0000 (07:35 +0000)]
Darwin puts float and double literal constants into literal4 and literal8 sections.

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

17 years agoadd some missing externals
Andrew Lenharth [Wed, 28 Jun 2006 01:16:06 +0000 (01:16 +0000)]
add some missing externals

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

17 years agoCatch more function pointer casting problems
Andrew Lenharth [Wed, 28 Jun 2006 01:01:52 +0000 (01:01 +0000)]
Catch more function pointer casting problems
Remove the Function pointer cast in these calls, converting it to
a cast of argument.
%tmp60 = tail call int cast (int (ulong)* %str to int (int)*)( int 10 )
%tmp60 = tail call int cast (int (ulong)* %str to int (int)*)( uint %tmp51 )

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

17 years agoAllow EmitConstantPool to be redefined by derived classes.
Evan Cheng [Wed, 28 Jun 2006 00:52:32 +0000 (00:52 +0000)]
Allow EmitConstantPool to be redefined by derived classes.

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

17 years agoHandle alias sets that have been unified, and thus can have other references
Chris Lattner [Tue, 27 Jun 2006 23:56:13 +0000 (23:56 +0000)]
Handle alias sets that have been unified, and thus can have other references
to them.  This fixes a regression in my previous checkin.

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

17 years agoDon't implement AliasSetTracker::remove in terms of deleteValue. deleteValue
Chris Lattner [Tue, 27 Jun 2006 23:48:59 +0000 (23:48 +0000)]
Don't implement AliasSetTracker::remove in terms of deleteValue.  deleteValue
causes the pointer to be removed from the underlying alias analysis
implementation as well.  This impl of remove is also significantly faster than
the old one.  This fixes:
Regression/Transforms/DeadStoreElimination/2006-06-27-AST-Remove.ll

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

17 years agoNew testcase, reduced by nate, which crashes DSE
Chris Lattner [Tue, 27 Jun 2006 23:47:39 +0000 (23:47 +0000)]
New testcase, reduced by nate, which crashes DSE

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

17 years agothis case isn't handled
Andrew Lenharth [Tue, 27 Jun 2006 23:19:14 +0000 (23:19 +0000)]
this case isn't handled

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

17 years agoFix for 2006-06-27-DeadSwitchCase.ll
Owen Anderson [Tue, 27 Jun 2006 22:26:09 +0000 (22:26 +0000)]
Fix for 2006-06-27-DeadSwitchCase.ll

Be more careful when updating Phi nodes after eliminating dead switch cases.  Fix
proposed by Chris.

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

17 years agoTestcase that Nate found where LoopUnswitch chokes on eliminating a dead case
Owen Anderson [Tue, 27 Jun 2006 22:24:59 +0000 (22:24 +0000)]
Testcase that Nate found where LoopUnswitch chokes on eliminating a dead case
from a switch instruction.

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

17 years agohandle the "mov reg1, reg2" case in isMoveInstr
Rafael Espindola [Tue, 27 Jun 2006 21:52:45 +0000 (21:52 +0000)]
handle the "mov reg1, reg2" case in isMoveInstr

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

17 years agoDon't match 64-bit bitfield inserts into rlwimi's. todo add rldimi. :)
Chris Lattner [Tue, 27 Jun 2006 21:08:52 +0000 (21:08 +0000)]
Don't match 64-bit bitfield inserts into rlwimi's.  todo add rldimi. :)

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

17 years agoFix Transforms/DeadArgElim/2006-06-27-struct-ret.ll. -deadargelim should not
Chris Lattner [Tue, 27 Jun 2006 21:05:04 +0000 (21:05 +0000)]
Fix Transforms/DeadArgElim/2006-06-27-struct-ret.ll.  -deadargelim should not
remove the struct return argument of a csret function, even if it is obviously
dead.

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

17 years agotestcase that crashes dead arg elim.
Chris Lattner [Tue, 27 Jun 2006 20:58:41 +0000 (20:58 +0000)]
testcase that crashes dead arg elim.

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

17 years agoFix ppc64 jump tables
Chris Lattner [Tue, 27 Jun 2006 20:46:17 +0000 (20:46 +0000)]
Fix ppc64 jump tables

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

17 years agoPass -Xlinker flags to gcc when it builds the shared object.
Chris Lattner [Tue, 27 Jun 2006 20:35:36 +0000 (20:35 +0000)]
Pass -Xlinker flags to gcc when it builds the shared object.

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

17 years agoRemove dead code.
Evan Cheng [Tue, 27 Jun 2006 20:34:14 +0000 (20:34 +0000)]
Remove dead code.

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