Hi Bill,
> >> Alias definitions aren't supported on some platforms. Create a
> >> flag (TARGET_DOES_NOT_SUPPORT_ALIAS_DEFINITIONS) that indicates
> >> this and stops us from creating aliases.
> >
> > is doing this in the front-end really the right approach? If a
> > target doesn't
> > suppo
Author: baldrick
Date: Mon Sep 17 05:26:40 2007
New Revision: 42021
URL: http://llvm.org/viewvc/llvm-project?rev=42021&view=rev
Log:
Factor the trampoline transformation into a subroutine.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms
Hi Chris,
> Nice! Can you please add a testcase?
I already did (Transforms/InstCombine/2007-09-11-Trampoline.ll).
> Also, can you please move the
> body of the transformation out of visitCallSite, so that you end up
> with something like this:
>
>if (BitCastInst *BC = dyn_cast(Callee)
Hi Chris,
> > My hope was that some of these trampoline calls could be eliminated
> > using this optimization. But for
> > that to happen, the routines in the container library have to be
> > small enough to be inlined. They are
> > not. In fact they're rather small in terms of lines of cod
Hi,
> Rewrite of andersen's to be about 100x faster, cleaner, and begin to support
> field sensitivity
some nitpicking comments:
> +// without any issues. To wit, an indirect call Y(a,b) is equivalence to
equivalence -> equivalent
> STATISTIC(NumIters, "Number of iterations to r
Author: djg
Date: Mon Sep 17 09:35:24 2007
New Revision: 42024
URL: http://llvm.org/viewvc/llvm-project?rev=42024&view=rev
Log:
Use "test reg,reg" in place of "cmp reg,0" for 64-bit operands. This was
previously only done for 32-bit and smaller operands.
Added:
llvm/trunk/test/CodeGen/X86/cmp
Author: djg
Date: Mon Sep 17 09:49:27 2007
New Revision: 42026
URL: http://llvm.org/viewvc/llvm-project?rev=42026&view=rev
Log:
Emit integer x<1 as x<=0, as comparisons with zero (now includeing
64-bit) can use test instead of cmp with an immediate.
Added:
llvm/trunk/test/CodeGen/X86/cmp1.ll
Author: djg
Date: Mon Sep 17 09:55:08 2007
New Revision: 42027
URL: http://llvm.org/viewvc/llvm-project?rev=42027&view=rev
Log:
Use xorl instead of xorq to enter a zero into a 64-bit register.
Modified:
llvm/trunk/lib/Target/X86/X86InstrX86-64.td
Modified: llvm/trunk/lib/Target/X86/X86InstrX
Author: djg
Date: Mon Sep 17 10:19:08 2007
New Revision: 42029
URL: http://llvm.org/viewvc/llvm-project?rev=42029&view=rev
Log:
Add 64-bit jmp instructions to the list of instructions that
can terminate a block with no fall-through.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modifi
On 9/17/07, Duncan Sands <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > Rewrite of andersen's to be about 100x faster, cleaner, and begin to
> > support field sensitivity
>
> some nitpicking comments:
>
> > +// without any issues. To wit, an indirect call Y(a,b) is equivalence to
>
> equivalence -> equiv
Author: gordon
Date: Mon Sep 17 12:04:44 2007
New Revision: 42032
URL: http://llvm.org/viewvc/llvm-project?rev=42032&view=rev
Log:
Adding myself to credits.
Modified:
llvm/trunk/CREDITS.TXT
Modified: llvm/trunk/CREDITS.TXT
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/CREDITS.TXT?rev=
Author: djg
Date: Mon Sep 17 12:31:57 2007
New Revision: 42035
URL: http://llvm.org/viewvc/llvm-project?rev=42035&view=rev
Log:
Instcombine x-((x/y)*y) into a remainder operator.
Added:
llvm/trunk/test/Transforms/InstCombine/srem.ll
llvm/trunk/test/Transforms/InstCombine/urem.ll
Modified:
Author: djg
Date: Mon Sep 17 12:44:31 2007
New Revision: 42038
URL: http://llvm.org/viewvc/llvm-project?rev=42038&view=rev
Log:
Add a utility function to SDOperand for testing if a value is unused.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llv
Doh. Thanks Dan. Was this breaking anything? Seems to me this fix
should be merged into the release branch. What do you say?
Evan
On Sep 17, 2007, at 8:19 AM, Dan Gohman wrote:
> Author: djg
> Date: Mon Sep 17 10:19:08 2007
> New Revision: 42029
>
> URL: http://llvm.org/viewvc/llvm-project?rev
Author: dannyb
Date: Mon Sep 17 13:04:21 2007
New Revision: 42039
URL: http://llvm.org/viewvc/llvm-project?rev=42039&view=rev
Log:
Fix iterator so it doesn't sometimes report bits that aren't in the bitmap
Modified:
llvm/trunk/include/llvm/ADT/SparseBitVector.h
Modified: llvm/trunk/include/l
Author: dannyb
Date: Mon Sep 17 13:05:59 2007
New Revision: 42040
URL: http://llvm.org/viewvc/llvm-project?rev=42040&view=rev
Log:
That's what i get for using carbon emacs in a terminal
Modified:
llvm/trunk/include/llvm/ADT/SparseBitVector.h
Modified: llvm/trunk/include/llvm/ADT/SparseBitVec
On Sep 17, 2007, at 1:59 AM, Duncan Sands wrote:
> Hi Bill,
>
Alias definitions aren't supported on some platforms. Create a
flag (TARGET_DOES_NOT_SUPPORT_ALIAS_DEFINITIONS) that indicates
this and stops us from creating aliases.
>>>
>>> is doing this in the front-end really the ri
Author: dpatel
Date: Mon Sep 17 15:07:40 2007
New Revision: 42048
URL: http://llvm.org/viewvc/llvm-project?rev=42048&view=rev
Log:
Fix comment.
Modified:
llvm/trunk/lib/Transforms/Utils/InlineCost.cpp
Modified: llvm/trunk/lib/Transforms/Utils/InlineCost.cpp
URL:
http://llvm.org/viewvc/llvm-
Author: johannes
Date: Mon Sep 17 15:15:38 2007
New Revision: 42049
URL: http://llvm.org/viewvc/llvm-project?rev=42049&view=rev
Log:
Remove RSTRegClass case from loadRegFromStackSlot
and storeRegToStackSlot. Evan and I concluded this
should never be needed and it appears to be true.
(It if is nee
Author: gordon
Date: Mon Sep 17 15:30:04 2007
New Revision: 42051
URL: http://llvm.org/viewvc/llvm-project?rev=42051&view=rev
Log:
Fix for PR1633: Verifier doesn't fully verify GC intrinsics
LLVM now enforces the following prototypes for the write barriers:
* @llvm.gcread(*, **)
void @llvm.gcwri
Author: tbrethou
Date: Mon Sep 17 15:36:17 2007
New Revision: 42052
URL: http://llvm.org/viewvc/llvm-project?rev=42052&view=rev
Log:
Disable LoopIndexSplitting for 2.1
Modified:
llvm/branches/release_21/tools/opt/opt.cpp
Modified: llvm/branches/release_21/tools/opt/opt.cpp
URL:
http://llvm.
Author: tbrethou
Date: Mon Sep 17 15:37:09 2007
New Revision: 42053
URL: http://llvm.org/viewvc/llvm-project?rev=42053&view=rev
Log:
Spell things correctly.
Modified:
llvm/branches/release_21/tools/opt/opt.cpp
Modified: llvm/branches/release_21/tools/opt/opt.cpp
URL:
http://llvm.org/viewvc/
> Doh. Thanks Dan. Was this breaking anything? Seems to me this fix
> should be merged into the release branch. What do you say?
The only in-tree user of BlockHasNoFallThrough appears to be BranchFolding,
and there it's just guarding an optimization.
Dan
--
Dan Gohman, Cray Inc.
Author: evancheng
Date: Mon Sep 17 12:42:53 2007
New Revision: 42037
URL: http://llvm.org/viewvc/llvm-project?rev=42037&view=rev
Log:
X86ISD::TEST is dead.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.h
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.h
URL:
http://llvm.org/viewvc
Author: johannes
Date: Mon Sep 17 13:44:13 2007
New Revision: 42043
URL: http://llvm.org/viewvc/llvm-project?rev=42043&view=rev
Log:
Implement x86 long double in jit (not really
complete, but common cases work)
Modified:
llvm/trunk/include/llvm/ExecutionEngine/GenericValue.h
llvm/trunk/l
Author: lattner
Date: Mon Sep 17 13:34:04 2007
New Revision: 42042
URL: http://llvm.org/viewvc/llvm-project?rev=42042&view=rev
Log:
Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo
Add a new DenseMapInfo::isEqual method to allow clients to redefine
the equality predicate used when prob
Author: tbrethou
Date: Mon Sep 17 16:36:59 2007
New Revision: 42064
URL: http://llvm.org/viewvc/llvm-project?rev=42064&view=rev
Log:
Fix incorrect default values in help string.
Modified:
llvm/branches/release_21/autoconf/m4/libtool.m4
Modified: llvm/branches/release_21/autoconf/m4/libtool.m
Author: tbrethou
Date: Mon Sep 17 16:37:52 2007
New Revision: 42065
URL: http://llvm.org/viewvc/llvm-project?rev=42065&view=rev
Log:
Regenerated configure script to fix help strings.
Modified:
llvm/branches/release_21/configure
Modified: llvm/branches/release_21/configure
URL:
http://llvm.o
Author: tbrethou
Date: Mon Sep 17 16:41:15 2007
New Revision: 42066
URL: http://llvm.org/viewvc/llvm-project?rev=42066&view=rev
Log:
Fix broken default help strings for enable-shared, enable-static, and
enable-fast-install. Regenerate configure script.
Modified:
llvm/trunk/autoconf/m4/libtoo
I think a similar patch should be applied to llvm-gcc 4.0.
Lauro
2007/8/30, Anton Korobeynikov <[EMAIL PROTECTED]>:
> Hello, Everyone.
>
> Please find attached patch for unbreaking objc FE for llvm-gcc 4.2. I've
> just fixed couple of "apple local" stuff (some of them were
> "generalized", some -
Ok, then it doesn't need to be merged into 2.1. Thx.
Evan
On Sep 17, 2007, at 11:37 AM, Dan Gohman wrote:
>> Doh. Thanks Dan. Was this breaking anything? Seems to me this fix
>> should be merged into the release branch. What do you say?
>
> The only in-tree user of BlockHasNoFallThrough appears
Author: laurov
Date: Mon Sep 17 14:09:15 2007
New Revision: 42044
URL: http://llvm.org/viewvc/llvm-project?rev=42044&view=rev
Log:
Readd.
Modified:
llvm-gcc-4.0/trunk/configure.in
Modified: llvm-gcc-4.0/trunk/configure.in
URL:
http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/configur
Author: dpatel
Date: Mon Sep 17 17:24:00 2007
New Revision: 42068
URL: http://llvm.org/viewvc/llvm-project?rev=42068&view=rev
Log:
Do not hide APInt::dump() inside #ifndef NDEBUG.
Modified:
llvm/trunk/include/llvm/ADT/APInt.h
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/
Author: evancheng
Date: Mon Sep 17 17:26:41 2007
New Revision: 42069
URL: http://llvm.org/viewvc/llvm-project?rev=42069&view=rev
Log:
Bug fix and minor clean up of generated code.
Modified:
llvm/trunk/utils/TableGen/DAGISelEmitter.cpp
Modified: llvm/trunk/utils/TableGen/DAGISelEmitter.cpp
UR
Author: laurov
Date: Mon Sep 17 14:09:51 2007
New Revision: 42045
URL: http://llvm.org/viewvc/llvm-project?rev=42045&view=rev
Log:
Regenerate.
Modified:
llvm-gcc-4.0/trunk/configure
Modified: llvm-gcc-4.0/trunk/configure
URL:
http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/configure
Hi Duncan (et al),
> I've CC'd Anton since he's the one who knows all about this stuff. Presumably
> when A is an alias for B there are two cases: either this is a "weak alias" or
> weakref, meaning that at link time it may turn out that A wasn't an alias for
> B after all, or A is a strong alias
On 9/17/07, Evan Cheng <[EMAIL PROTECTED]> wrote:
> I don't think Bill's patch affects weakref. Bill?
>
I don't think so either. But, as pointed out, it will fail for other reasons.
> We are already relying on asm printer too much as it is. I'd like not
> to add any more target specific knowledge
Author: void
Date: Mon Sep 17 17:39:32 2007
New Revision: 42071
URL: http://llvm.org/viewvc/llvm-project?rev=42071&view=rev
Log:
Add support for appending a suffix to the end of a mangled name.
Modified:
llvm/trunk/include/llvm/Support/Mangler.h
llvm/trunk/lib/VMCore/Mangler.cpp
Modified
Author: dpatel
Date: Mon Sep 17 15:03:03 2007
New Revision: 42047
URL: http://llvm.org/viewvc/llvm-project?rev=42047&view=rev
Log:
This is not ideal but unbreaks build failure.
APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump() routines
are not.
Modified:
llvm/trunk/lib/Code
On Sep 17, 2007, at 1:03 PM, Devang Patel wrote:
> Author: dpatel
> Date: Mon Sep 17 15:03:03 2007
> New Revision: 42047
>
> URL: http://llvm.org/viewvc/llvm-project?rev=42047&view=rev
> Log:
> This is not ideal but unbreaks build failure.
> APInt::dump() is inside #ifndef NDEBUG, however Selecti
Author: dpatel
Date: Mon Sep 17 15:39:48 2007
New Revision: 42054
URL: http://llvm.org/viewvc/llvm-project?rev=42054&view=rev
Log:
Skeleton for transformations to truncate loop's iteration space.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp
Modified: llvm/trunk/lib/Transform
On Sep 17, 2007, at 3:35 PM, Bill Wendling wrote:
> Hi Duncan (et al),
>
>> I've CC'd Anton since he's the one who knows all about this stuff.
>> Presumably
>> when A is an alias for B there are two cases: either this is a
>> "weak alias" or
>> weakref, meaning that at link time it may turn
I think this has come far enough that I can turn the switch in llvm-
gcc that
makes long doubles 80 bits on x86. There are probably bugs, but quite
a few things work, including all the long doubles in the test suite.
This is an ABI change, so I'm giving notice. I'm planning to do this
sometim
Author: dpatel
Date: Mon Sep 17 16:01:05 2007
New Revision: 42058
URL: http://llvm.org/viewvc/llvm-project?rev=42058&view=rev
Log:
Do not eliminate loop when it is invalid to do so. For example,
for(int i = 0; i < N; i++) {
if ( i == XYZ) {
A;
else
B
Author: void
Date: Mon Sep 17 20:47:22 2007
New Revision: 42074
URL: http://llvm.org/viewvc/llvm-project?rev=42074&view=rev
Log:
Objective-C was generating EH frame info like this:
"_-[NSString(local) isNullOrNil]".eh = 0
.no_dead_strip "_-[NSString(local) isNullOrNil]".eh
The ".eh" sho
Author: dpatel
Date: Mon Sep 17 20:54:42 2007
New Revision: 42075
URL: http://llvm.org/viewvc/llvm-project?rev=42075&view=rev
Log:
Fix PR1657
Added:
llvm/trunk/test/Transforms/LICM/2007-09-17-PrompteValue.ll
Modified:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Modified: llvm/trunk/lib/Tra
Author: gordon
Date: Mon Sep 17 21:09:34 2007
New Revision: 42076
URL: http://llvm.org/viewvc/llvm-project?rev=42076&view=rev
Log:
Fixing an comment in Module.h that refers to a nonexistent parameter.
Also adding some missing svn:ignores that've been bothering me.
Modified:
llvm/trunk/Xcode/
Author: gordon
Date: Mon Sep 17 22:18:57 2007
New Revision: 42077
URL: http://llvm.org/viewvc/llvm-project?rev=42077&view=rev
Log:
C bindings for libLLVMCore.a and libLLVMBitWriter.a.
- The naming prefix is LLVM.
- All types are represented using opaque references.
- Functions are not named LLVM{
On Sep 17, 2007, at 6:47 PM, Bill Wendling wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=42074&view=rev
> Log:
> Objective-C was generating EH frame info like this:
>
> "_-[NSString(local) isNullOrNil]".eh = 0
> .no_dead_strip "_-[NSString(local) isNullOrNil]".eh
> +/// Cache
On Sep 17, 2007, at 3:35 PM, Bill Wendling wrote:
>> Instead, I suggest we output a warning in the f-e that aliases are
>> not supported,
>> but still generate the alias in the bitcode. Then we teach the
>> code generators,
>> which presumably means the asm printer, to ignore aliases on Darw
Author: void
Date: Tue Sep 18 00:03:44 2007
New Revision: 42078
URL: http://llvm.org/viewvc/llvm-project?rev=42078&view=rev
Log:
The exception handling function info should be reset for each new
function. The information isn't used heavily -- it's only used at the end
of exception handling emissio
Author: void
Date: Tue Sep 18 00:28:19 2007
New Revision: 42079
URL: http://llvm.org/viewvc/llvm-project?rev=42079&view=rev
Log:
Update my entry.
Modified:
llvm/trunk/CREDITS.TXT
Modified: llvm/trunk/CREDITS.TXT
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/CREDITS.TXT?rev=42079&r1=42
Author: tbrethou
Date: Tue Sep 18 00:28:53 2007
New Revision: 42080
URL: http://llvm.org/viewvc/llvm-project?rev=42080&view=rev
Log:
Merge from mainline because Owen said so.
Modified:
llvm/branches/release_21/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/branches/release_21/lib/Transforms/Sc
Author: tbrethou
Date: Tue Sep 18 01:05:51 2007
New Revision: 42081
URL: http://llvm.org/viewvc/llvm-project?rev=42081&view=rev
Log:
Merge from mainline: Fix PR1666, SPASS with the CBE and 254.gap with the CBE.
Modified:
llvm/branches/release_21/include/llvm/Instructions.h
llvm/branches/r
Author: tbrethou
Date: Tue Sep 18 01:08:56 2007
New Revision: 42082
URL: http://llvm.org/viewvc/llvm-project?rev=42082&view=rev
Log:
Merge from mainline.
Modified:
llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp
Modified: llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp
UR
Author: tbrethou
Date: Tue Sep 18 01:11:27 2007
New Revision: 42083
URL: http://llvm.org/viewvc/llvm-project?rev=42083&view=rev
Log:
Merge from mainline.
Modified:
llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp
Modified: llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp
U
Author: tbrethou
Date: Tue Sep 18 01:15:05 2007
New Revision: 42084
URL: http://llvm.org/viewvc/llvm-project?rev=42084&view=rev
Log:
Merge from mainline.
Modified:
llvm-gcc-4.0/branches/release_21/gcc/config/i386/llvm-i386.cpp
Modified: llvm-gcc-4.0/branches/release_21/gcc/config/i386/llvm-i
57 matches
Mail list logo