On Jan 4, 2008, at 11:02 PM, Chris Lattner wrote:
> You aren't looking for loads *from the global*, you're looking for
> loads from the *stub for the global*, which are always invariant. You
> just need to know whether the load is from a global or from its stub.
>
Okay. I just don't know how to ch
On Jan 4, 2008, at 10:59 PM, Bill Wendling wrote:
> On Jan 4, 2008, at 10:49 PM, Evan Cheng wrote:
>> Although, isReallySideEffectFree looks wrong. How is this checked?
>> ...
>> Bill, how are you checking the Global address isn't redefined
>> anywhere else?
>>
> How would you suggest I check t
On Jan 4, 2008, at 10:49 PM, Evan Cheng wrote:
> Although, isReallySideEffectFree looks wrong. How is this checked?
> ...
> Bill, how are you checking the Global address isn't redefined
> anywhere else?
>
How would you suggest I check that?
-bw
___
llv
On Jan 4, 2008, at 10:49 PM, Evan Cheng wrote:
>
> On Jan 4, 2008, at 9:19 PM, Chris Lattner wrote:
>
>> Author: lattner
>> Date: Fri Jan 4 23:19:56 2008
>> New Revision: 45620
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=45620&view=rev
>> Log:
>> factor some code better to avoid redundanc
On Jan 4, 2008, at 9:19 PM, Chris Lattner wrote:
> Author: lattner
> Date: Fri Jan 4 23:19:56 2008
> New Revision: 45620
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45620&view=rev
> Log:
> factor some code better to avoid redundancy between
> isReallySideEffectFree and isReallyTriviallyReMa
Author: lattner
Date: Sat Jan 5 00:47:58 2008
New Revision: 45625
URL: http://llvm.org/viewvc/llvm-project?rev=45625&view=rev
Log:
The current impl is really trivial, add some comments about how it can be made
better.
Modified:
llvm/trunk/lib/CodeGen/MachineSink.cpp
Modified: llvm/trunk/li
Author: lattner
Date: Sat Jan 5 00:14:16 2008
New Revision: 45624
URL: http://llvm.org/viewvc/llvm-project?rev=45624&view=rev
Log:
allow sinking to be enabled for the jit
Modified:
llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
URL:
http
Author: lattner
Date: Sat Jan 5 00:10:42 2008
New Revision: 45623
URL: http://llvm.org/viewvc/llvm-project?rev=45623&view=rev
Log:
enable sinking and licm of loads from the argument area. I'd like to enable
this
for remat, but can't due to an RA bug.
Modified:
llvm/trunk/lib/Target/X86/X8
Author: lattner
Date: Fri Jan 4 23:26:26 2008
New Revision: 45621
URL: http://llvm.org/viewvc/llvm-project?rev=45621&view=rev
Log:
revert my previous patch.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL:
http://llvm.org/viewvc
Author: lattner
Date: Fri Jan 4 23:28:30 2008
New Revision: 45622
URL: http://llvm.org/viewvc/llvm-project?rev=45622&view=rev
Log:
simplify some code by using shorter accessors.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL:
h
Author: lattner
Date: Fri Jan 4 23:19:56 2008
New Revision: 45620
URL: http://llvm.org/viewvc/llvm-project?rev=45620&view=rev
Log:
factor some code better to avoid redundancy between
isReallySideEffectFree and isReallyTriviallyReMaterializable. Why is a load
from
a global considered side-effec
Author: lattner
Date: Fri Jan 4 22:53:45 2008
New Revision: 45619
URL: http://llvm.org/viewvc/llvm-project?rev=45619&view=rev
Log:
I've got a sinking feeling.
On x86 this seems to be a couple percent win when pic is enabled, though right
now many sinking opportunities are missed because sinki
Author: lattner
Date: Fri Jan 4 21:54:32 2008
New Revision: 45618
URL: http://llvm.org/viewvc/llvm-project?rev=45618&view=rev
Log:
getting the pic base has no side effects.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL:
http://l
Author: lattner
Date: Fri Jan 4 20:33:22 2008
New Revision: 45617
URL: http://llvm.org/viewvc/llvm-project?rev=45617&view=rev
Log:
don't sink anything with side effects, this makes lots of stuff work, but sinks
almost nothing.
Modified:
llvm/trunk/lib/CodeGen/MachineSink.cpp
Modified: llvm
Author: evancheng
Date: Fri Jan 4 20:26:58 2008
New Revision: 45616
URL: http://llvm.org/viewvc/llvm-project?rev=45616&view=rev
Log:
X86 JIT PIC jumptable support.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineCodeEmitter.h
llvm/trunk/include/llvm/Target/TargetJITInfo.h
llvm/trunk
Author: lattner
Date: Fri Jan 4 19:39:17 2008
New Revision: 45614
URL: http://llvm.org/viewvc/llvm-project?rev=45614&view=rev
Log:
fix a common crash.
Modified:
llvm/trunk/lib/CodeGen/MachineSink.cpp
Modified: llvm/trunk/lib/CodeGen/MachineSink.cpp
URL:
http://llvm.org/viewvc/llvm-project/
Author: lattner
Date: Fri Jan 4 19:22:42 2008
New Revision: 45613
URL: http://llvm.org/viewvc/llvm-project?rev=45613&view=rev
Log:
remove a couple more unsafe xforms in the face of overflow.
Removed:
llvm/trunk/test/Transforms/InstCombine/2007-12-19-IcmpSub.ll
Modified:
llvm/trunk/lib/Tr
Author: lattner
Date: Fri Jan 4 19:18:20 2008
New Revision: 45612
URL: http://llvm.org/viewvc/llvm-project?rev=45612&view=rev
Log:
remove the (x-y) < 0 comparison xform, it miscompiles
things that are not equality comparisons, for example:
(2147479553+4096)-2147479553 < 0!= (2147479553+
Author: void
Date: Fri Jan 4 19:17:10 2008
New Revision: 45611
URL: http://llvm.org/viewvc/llvm-project?rev=45611&view=rev
Log:
Creating llvmgcc42-2006 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2006/
- copied from r45610, llvm-gcc-4.2/trunk/
_
Author: void
Date: Fri Jan 4 19:15:42 2008
New Revision: 45610
URL: http://llvm.org/viewvc/llvm-project?rev=45610&view=rev
Log:
Run lipo on dylibs too.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL:
http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/
On Jan 4, 2008, at 4:41 PM, Evan Cheng wrote:
> Author: evancheng
> Date: Fri Jan 4 18:41:47 2008
> New Revision: 45605
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45605&view=rev
> Log:
> Combine MovePCtoStack + POP32r into one instruction MOVPC32r so it
> can be moved if needed.
Nice evan
Fixed.
On Jan 4, 2008, at 6:40 PM, Dale Johannesen wrote:
Somebody forget to check something in?
llvm[2]: Compiling PrologEpilogInserter.cpp for Debug build
PrologEpilogInserter.cpp: In member function
‘void
::PEI::saveCalleeSavedRegisters(llvm::MachineFunction&)’:
PrologEpilogInserter.cpp:252
Author: resistor
Date: Fri Jan 4 18:48:55 2008
New Revision: 45608
URL: http://llvm.org/viewvc/llvm-project?rev=45608&view=rev
Log:
I should not be allowed to commit when sleepy.
Modified:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.
Author: resistor
Date: Fri Jan 4 18:43:37 2008
New Revision: 45607
URL: http://llvm.org/viewvc/llvm-project?rev=45607&view=rev
Log:
Didn't mean to commit this.
Modified:
llvm/trunk/include/llvm/Transforms/Scalar.h
Modified: llvm/trunk/include/llvm/Transforms/Scalar.h
URL:
http://llvm.org/v
Author: resistor
Date: Fri Jan 4 18:42:45 2008
New Revision: 45606
URL: http://llvm.org/viewvc/llvm-project?rev=45606&view=rev
Log:
Didn't mean to commit this.
Modified:
llvm/trunk/include/llvm/LinkAllPasses.h
Modified: llvm/trunk/include/llvm/LinkAllPasses.h
URL:
http://llvm.org/viewvc/ll
Author: evancheng
Date: Fri Jan 4 18:41:47 2008
New Revision: 45605
URL: http://llvm.org/viewvc/llvm-project?rev=45605&view=rev
Log:
Combine MovePCtoStack + POP32r into one instruction MOVPC32r so it can be moved
if needed.
Modified:
llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp
llvm/t
Somebody forget to check something in?
llvm[2]: Compiling PrologEpilogInserter.cpp for Debug build
PrologEpilogInserter.cpp: In member function
‘void::PEI::saveCalleeSavedRegisters(llvm::MachineFunction&)’:
PrologEpilogInserter.cpp:252: error: ‘const class llvm::MRegisterInfo’
has no member na
Author: resistor
Date: Fri Jan 4 17:57:37 2008
New Revision: 45603
URL: http://llvm.org/viewvc/llvm-project?rev=45603&view=rev
Log:
Move some more functionality from MRegisterInfo to TargetInstrInfo.
Modified:
llvm/trunk/include/llvm/LinkAllPasses.h
llvm/trunk/include/llvm/Target/MRegist
On Jan 4, 2008, at 3:34 PM, Chris Lattner wrote:
>
> On Jan 4, 2008, at 3:15 PM, Dale Johannesen wrote:
>
>> On Jan 4, 2008, at 3:04 PM, Owen Anderson wrote:
>>> Could we add a test for this to the LLVM regression tests? I think
>>> most people check them before committing things.
>>>
>>> --Owen
Doh! Who ratted me out? ;-)
-bw
On Jan 4, 2008, at 3:43 PM, Evan Cheng wrote:
Bill? You *own* MMX. :-)
Evan
On Jan 4, 2008, at 2:56 PM, Dale Johannesen wrote:
This patch does not make the corresponding change in llvm-gcc-4.*/
gcc/config/i386/llvm-i386.cpp, with the effect that all these
Bill? You *own* MMX. :-)
Evan
On Jan 4, 2008, at 2:56 PM, Dale Johannesen wrote:
This patch does not make the corresponding change in llvm-gcc-4.*/
gcc/config/i386/llvm-i386.cpp, with the effect that all these
builtins are broken. Please fix?
(This shows up easily in the gcc testsuite, I'm
On Jan 4, 2008, at 3:15 PM, Dale Johannesen wrote:
> On Jan 4, 2008, at 3:04 PM, Owen Anderson wrote:
>> Could we add a test for this to the LLVM regression tests? I think
>> most people check them before committing things.
>>
>> --Owen
>
> Yes, but I don't think it's the right idea, in genera
On Jan 4, 2008, at 3:04 PM, Owen Anderson wrote:
Could we add a test for this to the LLVM regression tests? I think
most people check them before committing things.
--Owen
Yes, but I don't think it's the right idea, in general, for problems
that are llvm-gcc problems (not llvm problems).
Could we add a test for this to the LLVM regression tests? I think
most people check them before committing things.
--Owen
On Jan 4, 2008, at 4:56 PM, Dale Johannesen wrote:
This patch does not make the corresponding change in llvm-gcc-4.*/
gcc/config/i386/llvm-i386.cpp, with the effect tha
This patch does not make the corresponding change in llvm-gcc-4.*/gcc/
config/i386/llvm-i386.cpp, with the effect that all these builtins are
broken. Please fix?
(This shows up easily in the gcc testsuite, I'm a bit disappointed it
took 3 weeks for somebody to notice.)
Author: andersca
Date:
Author: wmat
Date: Fri Jan 4 14:04:08 2008
New Revision: 45595
URL: http://llvm.org/viewvc/llvm-project?rev=45595&view=rev
Log:
fix typo
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL:
http://llvm.org/viewvc/llvm-project/llvm
Author: void
Date: Fri Jan 4 14:54:55 2008
New Revision: 45596
URL: http://llvm.org/viewvc/llvm-project?rev=45596&view=rev
Log:
Don't recalculate the loop info and loop dominators analyses if they're
preserved.
Modified:
llvm/trunk/include/llvm/CodeGen/Passes.h
llvm/trunk/lib/CodeGen/Liv
Author: void
Date: Fri Jan 4 02:59:18 2008
New Revision: 45574
URL: http://llvm.org/viewvc/llvm-project?rev=45574&view=rev
Log:
80-column violations.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
URL:
http://llvm
Author: void
Date: Fri Jan 4 02:48:49 2008
New Revision: 45573
URL: http://llvm.org/viewvc/llvm-project?rev=45573&view=rev
Log:
Add that this preserves some analyses.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
http://llvm.org/view
Author: void
Date: Fri Jan 4 02:11:03 2008
New Revision: 45572
URL: http://llvm.org/viewvc/llvm-project?rev=45572&view=rev
Log:
Move option to enable machine LICM into LLVMTargetMachine.cpp.
Modified:
llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Mo
Author: void
Date: Fri Jan 4 01:50:05 2008
New Revision: 45571
URL: http://llvm.org/viewvc/llvm-project?rev=45571&view=rev
Log:
Call the parent's getAnalysisUsage.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
http://llvm.org/viewvc/
Author: lattner
Date: Fri Jan 4 01:36:53 2008
New Revision: 45570
URL: http://llvm.org/viewvc/llvm-project?rev=45570&view=rev
Log:
Add a really quick hack at a machine code sinking pass, enabled with
--enable-sinking.
It is missing validity checks, so it is known broken. However, it is powerf
Author: lattner
Date: Fri Jan 4 00:41:45 2008
New Revision: 45569
URL: http://llvm.org/viewvc/llvm-project?rev=45569&view=rev
Log:
remove dead #includes and reorder the rest.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
http://llvm.
This commit got dropped during the list problems.
Begin forwarded message:
From: Chris Lattner <[EMAIL PROTECTED]>
Date: January 2, 2008 2:03:28 PM PST
To: llvm-commits@cs.uiuc.edu
Subject: [llvm] r45506 - /llvm/trunk/lib/VMCore/Function.cpp
Author: lattner
Date: Wed Jan 2 16:03:27 2008
New R
Author: lattner
Date: Thu Jan 3 23:04:53 2008
New Revision: 45568
URL: http://llvm.org/viewvc/llvm-project?rev=45568&view=rev
Log:
Fix PR1896
Added:
llvm/trunk/test/Transforms/GlobalOpt/2008-01-03-Crash.ll
Modified:
llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
Modified: llvm/trunk/lib/Tr
Author: lattner
Date: Thu Jan 3 22:38:35 2008
New Revision: 45567
URL: http://llvm.org/viewvc/llvm-project?rev=45567&view=rev
Log:
Change the builtin matcher to emit a decision tree, which should help out
the VC++ 'nesting depth' issue.
Modified:
llvm/trunk/utils/TableGen/IntrinsicEmitter.c
Author: lattner
Date: Thu Jan 3 22:34:14 2008
New Revision: 45566
URL: http://llvm.org/viewvc/llvm-project?rev=45566&view=rev
Log:
fix nesting issues.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Lang
Author: lattner
Date: Thu Jan 3 22:33:49 2008
New Revision: 45565
URL: http://llvm.org/viewvc/llvm-project?rev=45565&view=rev
Log:
fix validation issues.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/L
Author: lattner
Date: Thu Jan 3 22:32:38 2008
New Revision: 45564
URL: http://llvm.org/viewvc/llvm-project?rev=45564&view=rev
Log:
improve the description of types, patch by Alain Frisch
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL:
http://llvm.org/view
Author: lattner
Date: Thu Jan 3 21:32:52 2008
New Revision: 45563
URL: http://llvm.org/viewvc/llvm-project?rev=45563&view=rev
Log:
Don't let IntrinsicID be uninitialized if it doesn't match.
Modified:
llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
Modified: llvm/trunk/utils/TableGen/Intrins
Author: evancheng
Date: Thu Jan 3 20:22:21 2008
New Revision: 45562
URL: http://llvm.org/viewvc/llvm-project?rev=45562&view=rev
Log:
Correct order of parameters.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
URL:
http:
Hello,
(Following a discussion on irc.)
The current version of the Language Reference still mentions integer
types as being primitive. It also fails to mention three floating point
types. The attached patch (in the docs/ subdir) fixes these issues.
-- Alain
Index: LangRef.html
=
Author: void
Date: Thu Jan 3 17:02:16 2008
New Revision: 45557
URL: http://llvm.org/viewvc/llvm-project?rev=45557&view=rev
Log:
Remove the default else. This was ending in code that looked like this:
if (!strcmp(Target, "x86")) {
// ...
}
else
IntrinsicID = Intrinsic::not_intrinsic;
Modifie
Author: lattner
Date: Thu Jan 3 16:15:32 2008
New Revision: 45553
URL: http://llvm.org/viewvc/llvm-project?rev=45553&view=rev
Log:
Remove symbols that don't exist, remove tabs, fix comment typo
Modified:
llvm/trunk/lib/ExecutionEngine/JIT/Intercept.cpp
Modified: llvm/trunk/lib/ExecutionEngi
54 matches
Mail list logo