On Jan 27, 2008, at 1:03 AM, Duncan Sands wrote:
Hi Evan,
Can you get me a test case? I need to see what gcc is doing. Thanks,
Sure. Zero sized fields in structs may not be very useful, but it is
still legal to use them, in particular you can take their address,
like this:
struct Z {};
On Jan 26, 2008, at 12:21 AM, Chris Lattner wrote:
On Jan 25, 2008, at 10:51 PM, Bill Wendling wrote:
Author: void
Date: Sat Jan 26 00:51:24 2008
New Revision: 46394
URL: http://llvm.org/viewvc/llvm-project?rev=46394view=rev
Log:
If there are no machine instructions emitted
Author: void
Date: Sat Jan 26 03:03:52 2008
New Revision: 46398
URL: http://llvm.org/viewvc/llvm-project?rev=46398view=rev
Log:
If there's no instructions being emitted on X86 for a function, emit a
nop. Emit the nop directly for PPC.
Added:
Author: void
Date: Sun Jan 27 00:13:32 2008
New Revision: 46409
URL: http://llvm.org/viewvc/llvm-project?rev=46409view=rev
Log:
The CorrelatedExpressions pass is now no more.
Removed:
llvm/trunk/test/Transforms/CorrelatedExprs/
___
llvm-commits
Author: void
Date: Fri Jan 25 19:43:44 2008
New Revision: 46387
URL: http://llvm.org/viewvc/llvm-project?rev=46387view=rev
Log:
If we have a function like this:
void bork() {
int *address = 0;
*address = 0;
}
It's compiled into LLVM code that looks like this:
define void @bork() noreturn
Author: void
Date: Sat Jan 26 00:53:06 2008
New Revision: 46395
URL: http://llvm.org/viewvc/llvm-project?rev=46395view=rev
Log:
Move testcase to the code gen directory.
Added:
llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c
- copied unchanged from r46390,
Author: void
Date: Sat Jan 26 00:53:40 2008
New Revision: 46396
URL: http://llvm.org/viewvc/llvm-project?rev=46396view=rev
Log:
Rename the .c to .ll
Added:
llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
- copied unchanged from r46395,
Author: void
Date: Sat Jan 26 00:56:08 2008
New Revision: 46397
URL: http://llvm.org/viewvc/llvm-project?rev=46397view=rev
Log:
Need to convert to LLVM code and not C.
Modified:
llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
Modified:
Author: void
Date: Sat Jan 26 00:51:24 2008
New Revision: 46394
URL: http://llvm.org/viewvc/llvm-project?rev=46394view=rev
Log:
If there are no machine instructions emitted for a function, then insert
a nop instruction so that we don't have the function's label associated
with something that it's
Okay.
On Jan 25, 2008, at 7:26 PM, Chris Lattner wrote:
On Jan 25, 2008, at 5:43 PM, Bill Wendling wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=46387view=rev
Log:
If we have a function like this:
This is bad on some platforms (like PPC) because it will generate
the label
Author: void
Date: Thu Jan 24 02:09:17 2008
New Revision: 46308
URL: http://llvm.org/viewvc/llvm-project?rev=46308view=rev
Log:
The initialization for _OBJC_IVAR_$_classname.binteger symbols are dropped
for -O0. As it turns out, the LLVM variable is created at -O0 before the
initialization is set
Author: void
Date: Thu Jan 24 02:11:43 2008
New Revision: 46309
URL: http://llvm.org/viewvc/llvm-project?rev=46309view=rev
Log:
Only reset the initializer at -O0.
Modified:
llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
URL:
Author: void
Date: Thu Jan 24 02:51:17 2008
New Revision: 46311
URL: http://llvm.org/viewvc/llvm-project?rev=46311view=rev
Log:
backporting r46308:
The initialization for _OBJC_IVAR_$_classname.binteger symbols are
dropped
for -O0. As it turns out, the LLVM variable is created at -O0 before the
Author: void
Date: Thu Jan 24 03:48:00 2008
New Revision: 46312
URL: http://llvm.org/viewvc/llvm-project?rev=46312view=rev
Log:
Ahem...reset_initializer_llvm doesn't exist in 4.0...
Modified:
llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
Modified: llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
URL:
On Jan 24, 2008 3:31 AM, Duncan Sands [EMAIL PROTECTED] wrote:
On Thursday 24 January 2008 08:45:28 Bill Wendling wrote:
Hi Duncan,
GCC barfs this to the .s file directly:
.objc_class_name_CrashTestPlugin=0
.globl .objc_class_name_CrashTestPlugin
it looks like you
Author: void
Date: Thu Jan 24 15:00:50 2008
New Revision: 46324
URL: http://llvm.org/viewvc/llvm-project?rev=46324view=rev
Log:
Don't output these directives for the new ObjC ABI.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
Modified:
Author: void
Date: Thu Jan 24 17:29:26 2008
New Revision: 46331
URL: http://llvm.org/viewvc/llvm-project?rev=46331view=rev
Log:
Creating llvmCore-2011 branch
Added:
llvm/tags/Apple/llvmCore-2011/
- copied from r46330, llvm/trunk/
___
Author: void
Date: Thu Jan 24 17:29:32 2008
New Revision: 46332
URL: http://llvm.org/viewvc/llvm-project?rev=46332view=rev
Log:
Creating llvmgcc42-2011 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2011/
- copied from r46331, llvm-gcc-4.2/trunk/
Author: void
Date: Thu Jan 24 21:24:25 2008
New Revision: 46341
URL: http://llvm.org/viewvc/llvm-project?rev=46341view=rev
Log:
Don't define these if they aren't used by LLVM
Modified:
llvm-gcc-4.2/trunk/gcc/regclass.c
Modified: llvm-gcc-4.2/trunk/gcc/regclass.c
URL:
Author: void
Date: Thu Jan 24 21:25:57 2008
New Revision: 46342
URL: http://llvm.org/viewvc/llvm-project?rev=46342view=rev
Log:
Creating llvmgcc42-2012 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2012/
- copied from r46341, llvm-gcc-4.2/trunk/
On Jan 18, 2008, at 11:53 AM, Devang Patel wrote:
On Jan 18, 2008, at 11:40 AM, Eric Christopher wrote:
On Jan 18, 2008, at 11:35 AM, Devang Patel wrote:
llvm-gcc-4.2/trunk/gcc/autom4te.cache/output.0
llvm-gcc-4.2/trunk/gcc/autom4te.cache/requests
Author: void
Date: Wed Jan 23 15:41:05 2008
New Revision: 46281
URL: http://llvm.org/viewvc/llvm-project?rev=46281view=rev
Log:
GCC barfs this to the .s file directly:
.objc_class_name_CrashTestPlugin=0
.globl .objc_class_name_CrashTestPlugin
without creating a tree node or anything.
Author: void
Date: Wed Jan 23 16:14:50 2008
New Revision: 46282
URL: http://llvm.org/viewvc/llvm-project?rev=46282view=rev
Log:
Backport of r46281:
GCC barfs this to the .s file directly:
.objc_class_name_CrashTestPlugin=0
.globl .objc_class_name_CrashTestPlugin
without creating a tree
Hi Duncan,
GCC barfs this to the .s file directly:
.objc_class_name_CrashTestPlugin=0
.globl .objc_class_name_CrashTestPlugin
it looks like you write this directly to a file
containing LLVM IR. I guess this is OK as long
as no-one is using the global in the IR (otherwise
the
Author: void
Date: Tue Jan 22 17:06:58 2008
New Revision: 46261
URL: http://llvm.org/viewvc/llvm-project?rev=46261view=rev
Log:
We were getting this error:
embedding a directive within macro arguments is not portable
build_tree_list is a macro...
Modified:
Author: void
Date: Thu Jan 17 18:28:22 2008
New Revision: 46148
URL: http://llvm.org/viewvc/llvm-project?rev=46148view=rev
Log:
Creating llvmCore-2009 branch
Added:
llvm/tags/Apple/llvmCore-2009/
- copied from r46147, llvm/trunk/
___
Author: void
Date: Thu Jan 17 18:30:41 2008
New Revision: 46149
URL: http://llvm.org/viewvc/llvm-project?rev=46149view=rev
Log:
Creating llvmgcc42-2010 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2010/
- copied from r46148, llvm-gcc-4.2/trunk/
Author: void
Date: Wed Jan 16 12:49:47 2008
New Revision: 46077
URL: http://llvm.org/viewvc/llvm-project?rev=46077view=rev
Log:
Use the big endian check already in llvm/System/Host.h.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL:
On Jan 15, 2008 11:56 PM, Duncan Sands [EMAIL PROTECTED] wrote:
Hi Bill,
+// Determine endianness of host machine.
+union {
+ int x;
+ char y[sizeof(int)];
+} u;
+u.x = 1;
+bool BigEndian = (u.y[0] != 1);
how about using bigEndianHost in System
Author: void
Date: Wed Jan 16 16:18:26 2008
New Revision: 46094
URL: http://llvm.org/viewvc/llvm-project?rev=46094view=rev
Log:
Some of the drivers are named foo-bar-qux-llvm-g++ instead of
foo-bar-qux-g++. Get both of them as is required.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified:
Author: void
Date: Tue Jan 15 15:16:32 2008
New Revision: 46009
URL: http://llvm.org/viewvc/llvm-project?rev=46009view=rev
Log:
Reformatted. It was confusing the other way. No functionality change.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
Author: void
Date: Tue Jan 15 18:47:01 2008
New Revision: 46039
URL: http://llvm.org/viewvc/llvm-project?rev=46039view=rev
Log:
If we are building a compiler for target T on host H, and H has a different type
of endianness than T, then the builtin defines are generated incorrectly. For
instance,
On Jan 15, 2008 5:15 PM, Chris Lattner [EMAIL PROTECTED] wrote:
Author: lattner
Date: Tue Jan 15 19:15:26 2008
New Revision: 46041
URL: http://llvm.org/viewvc/llvm-project?rev=46041view=rev
Log:
The final ultimate(?) fix for the silly objc .reference thing. Instead of
ignoring
them, we
Author: void
Date: Tue Jan 15 19:30:13 2008
New Revision: 46043
URL: http://llvm.org/viewvc/llvm-project?rev=46043view=rev
Log:
Creating llvmCore-2008 branch
Added:
llvm/tags/Apple/llvmCore-2008/
- copied from r46042, llvm/trunk/
___
Author: void
Date: Tue Jan 15 19:31:37 2008
New Revision: 46044
URL: http://llvm.org/viewvc/llvm-project?rev=46044view=rev
Log:
Creating llvmgcc42-2008 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/
- copied from r46043, llvm-gcc-4.2/trunk/
Author: void
Date: Tue Jan 15 23:46:33 2008
New Revision: 46048
URL: http://llvm.org/viewvc/llvm-project?rev=46048view=rev
Log:
Creating llvmgcc42-2008 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/trunk/
- copied from r46047, llvm-gcc-4.2/trunk/
Author: void
Date: Wed Jan 16 00:27:12 2008
New Revision: 46059
URL: http://llvm.org/viewvc/llvm-project?rev=46059view=rev
Log:
Creating llvmgcc42-2009 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2009/
- copied from r46058, llvm-gcc-4.2/trunk/
Author: void
Date: Wed Jan 16 01:23:34 2008
New Revision: 46063
URL: http://llvm.org/viewvc/llvm-project?rev=46063view=rev
Log:
Prototypes required.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386-protos.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386-protos.h
URL:
Hi Anton,
+if (BigEndian == FLOAT_WORDS_BIG_ENDIAN) {
+ UArr[0] = RealArr[0]; // Long - int convert
+ UArr[1] = RealArr[1];
+} else {
+ UArr[0] = RealArr[1]; // Long - int convert
+ UArr[1] = RealArr[0];
+}
+
Why don't do just something like this:
Author: void
Date: Wed Jan 16 01:28:16 2008
New Revision: 46064
URL: http://llvm.org/viewvc/llvm-project?rev=46064view=rev
Log:
Simplify the code to make it more readable.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL:
Author: void
Date: Mon Jan 14 16:18:42 2008
New Revision: 45978
URL: http://llvm.org/viewvc/llvm-project?rev=45978view=rev
Log:
GCC emits .reference and .lazy_reference directives directly to the .s file. We
rather create the reference as data and then point that to what we then hope
is an
Author: void
Date: Mon Jan 14 17:20:29 2008
New Revision: 45985
URL: http://llvm.org/viewvc/llvm-project?rev=45985view=rev
Log:
Forgot LLVM LOCAL tags.
Modified:
llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
URL:
On Jan 14, 2008 2:59 PM, Chris Lattner [EMAIL PROTECTED] wrote:
On Jan 14, 2008, at 2:18 PM, Bill Wendling wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=45978view=rev
Log:
GCC emits .reference and .lazy_reference directives directly to
the .s file. We
rather create the reference
Author: void
Date: Fri Jan 11 02:32:54 2008
New Revision: 45862
URL: http://llvm.org/viewvc/llvm-project?rev=45862view=rev
Log:
Creating llvmCore-2007 branch
Added:
llvm/tags/Apple/llvmCore-2007/
- copied from r45861, llvm/trunk/
___
Author: void
Date: Fri Jan 11 02:35:19 2008
New Revision: 45863
URL: http://llvm.org/viewvc/llvm-project?rev=45863view=rev
Log:
Creating llvmgcc42-2007 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2007/
- copied from r45862, llvm-gcc-4.2/trunk/
On Jan 10, 2008, at 6:49 AM, Jonathan Johnson wrote:
+ pIf your name is mispelled, or organization affiliation isn't
correct, please a href=mailto:jon
[EMAIL PROTECTED]email us/a, and we'll correct it.
mispelled - misspelled ;-)
-bw
___
On Jan 9, 2008 9:34 AM, Sam Bishop [EMAIL PROTECTED] wrote:
Also, I was confused by one of the examples regarding the handling of
program-wide global options such as a debug flag. DebugFlag is the global
variable set by the parser; the following is given as an example of how you
would use it:
Author: void
Date: Wed Jan 9 19:28:25 2008
New Revision: 45804
URL: http://llvm.org/viewvc/llvm-project?rev=45804view=rev
Log:
We're creating incorrect metadata. LLVM gives this for class references:
L_OBJC_CLASS_REFERENCES_0:
.space 4
..
L_OBJC_CLASS_NAME_0:
...
while GCC gives:
On Jan 9, 2008, at 5:57 PM, Chris Lattner [EMAIL PROTECTED] wrote:
On Jan 9, 2008, at 5:28 PM, Bill Wendling wrote:
Author: void
Date: Wed Jan 9 19:28:25 2008
New Revision: 45804
URL: http://llvm.org/viewvc/llvm-project?rev=45804view=rev
Log:
We're creating incorrect metadata. LLVM
Author: void
Date: Mon Jan 7 18:52:29 2008
New Revision: 45731
URL: http://llvm.org/viewvc/llvm-project?rev=45731view=rev
Log:
Silence warning about loss of precision.
Modified:
llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp
URL:
Author: void
Date: Tue Jan 8 00:08:04 2008
New Revision: 45741
URL: http://llvm.org/viewvc/llvm-project?rev=45741view=rev
Log:
Make the metaclass and some other metadata variables local instead of global.
Modified:
llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
Modified:
Author: void
Date: Tue Jan 8 17:05:19 2008
New Revision: 45761
URL: http://llvm.org/viewvc/llvm-project?rev=45761view=rev
Log:
Revert r45741; this broke the Objective-C ABI. Instead, mark metadata as
external.
Modified:
llvm-gcc-4.2/trunk/gcc/objc/objc-act.c
Modified:
On Jan 6, 2008, at 10:20 PM, Chris Lattner wrote:
On Jan 6, 2008, at 6:45 PM, Evan Cheng wrote:
By the way. This check is still not quite right.
// Loads from stubs of global addresses are side effect free.
if (Reg != 0 MRegisterInfo::isVirtualRegister(Reg)
In dynamic-no-pic
Author: void
Date: Mon Jan 7 02:05:29 2008
New Revision: 45699
URL: http://llvm.org/viewvc/llvm-project?rev=45699view=rev
Log:
Operand 1 should be a register. We don't care if it's a preg, vreg, or 0.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified:
Author: void
Date: Fri Jan 4 05:29:31 2008
New Revision: 45577
URL: http://llvm.org/viewvc/llvm-project?rev=45577view=rev
Log:
The cross-compilation executables were built 1-way instead of 2-way. This is
because the lipo wasn't getting all of the executables. The gcc build_gcc script
had this
Author: void
Date: Fri Jan 4 05:42:15 2008
New Revision: 45578
URL: http://llvm.org/viewvc/llvm-project?rev=45578view=rev
Log:
Creating llvmgcc42-2005 tag
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2005/
- copied from r45577, llvm-gcc-4.2/trunk/
Author: void
Date: Fri Jan 4 05:43:32 2008
New Revision: 45579
URL: http://llvm.org/viewvc/llvm-project?rev=45579view=rev
Log:
Creating llvmCore-2006 branch
Added:
llvm/tags/Apple/llvmCore-2006/
- copied from r45578, llvm/trunk/
___
Author: void
Date: Fri Jan 4 06:04:32 2008
New Revision: 45581
URL: http://llvm.org/viewvc/llvm-project?rev=45581view=rev
Log:
doc_code-ify some code in this doc.
Modified:
llvm/trunk/docs/GetElementPtr.html
Modified: llvm/trunk/docs/GetElementPtr.html
URL:
Here's a potential patch as a follow-up for this patch:
mmx.patch
Description: Binary data
It's not tested (I got a compiler error during compilation of
LLVM...not LLVM-GCC). What do you think?
-bw
On Dec 13, 2007, at 10:38 PM, Anders Carlsson wrote:
Author: andersca
Date: Fri Dec 14
Author: void
Date: Sat Jan 5 03:18:04 2008
New Revision: 45626
URL: http://llvm.org/viewvc/llvm-project?rev=45626view=rev
Log:
Chris and Evan noticed that this check was compleatly fubared. I was
checking that there was a from a global instead of a load from the stub
for a global, which is the
On Jan 5, 2008, at 12:53 AM, Evan Cheng wrote:
Right. If it's a load from GV and GVRequiresExtraLoad() returns true
then it's a load from a stub.
Okay. Once I did the check, it now seems to treat the example program:
volatile char G[100];
int B(char *F, int N) {
for (; N 0; --N)
F[N]
On Jan 5, 2008, at 2:49 AM, Evan Cheng wrote:
On Jan 5, 2008, at 1:18 AM, Bill Wendling [EMAIL PROTECTED] wrote:
--- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Sat Jan 5 03:18:04
2008
@@ -171,12 +171,15 @@
case X86::MOV32rm
Author: void
Date: Thu Jan 3 17:02:16 2008
New Revision: 45557
URL: http://llvm.org/viewvc/llvm-project?rev=45557view=rev
Log:
Remove the default else. This was ending in code that looked like this:
if (!strcmp(Target, x86)) {
// ...
}
else
IntrinsicID = Intrinsic::not_intrinsic;
Modified:
Author: void
Date: Fri Jan 4 02:11:03 2008
New Revision: 45572
URL: http://llvm.org/viewvc/llvm-project?rev=45572view=rev
Log:
Move option to enable machine LICM into LLVMTargetMachine.cpp.
Modified:
llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Author: void
Date: Fri Jan 4 02:48:49 2008
New Revision: 45573
URL: http://llvm.org/viewvc/llvm-project?rev=45573view=rev
Log:
Add that this preserves some analyses.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
Author: void
Date: Fri Jan 4 01:50:05 2008
New Revision: 45571
URL: http://llvm.org/viewvc/llvm-project?rev=45571view=rev
Log:
Call the parent's getAnalysisUsage.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
Author: void
Date: Fri Jan 4 02:59:18 2008
New Revision: 45574
URL: http://llvm.org/viewvc/llvm-project?rev=45574view=rev
Log:
80-column violations.
Modified:
llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
URL:
Author: void
Date: Fri Jan 4 14:54:55 2008
New Revision: 45596
URL: http://llvm.org/viewvc/llvm-project?rev=45596view=rev
Log:
Don't recalculate the loop info and loop dominators analyses if they're
preserved.
Modified:
llvm/trunk/include/llvm/CodeGen/Passes.h
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
Author: void
Date: Fri Jan 4 19:15:42 2008
New Revision: 45610
URL: http://llvm.org/viewvc/llvm-project?rev=45610view=rev
Log:
Run lipo on dylibs too.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL:
Author: void
Date: Fri Jan 4 19:17:10 2008
New Revision: 45611
URL: http://llvm.org/viewvc/llvm-project?rev=45611view=rev
Log:
Creating llvmgcc42-2006 branch
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2006/
- copied from r45610, llvm-gcc-4.2/trunk/
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
___
llvm
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 check
Author: void
Date: Wed Jan 2 13:32:43 2008
New Revision: 45492
URL: http://llvm.org/viewvc/llvm-project?rev=45492view=rev
Log:
Use the new architecture to get the containing machine basic block for a machine
instruction. Also, use splice to move the new instruction instead of
remove/insert
Author: void
Date: Wed Jan 2 14:47:37 2008
New Revision: 45496
URL: http://llvm.org/viewvc/llvm-project?rev=45496view=rev
Log:
Remove dead code.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
Author: void
Date: Wed Jan 2 15:10:40 2008
New Revision: 45498
URL: http://llvm.org/viewvc/llvm-project?rev=45498view=rev
Log:
Machine LICM will check that operands are defined outside of the loop. Also
check that register isn't 0 before going further.
Modified:
Author: void
Date: Wed Jan 2 15:10:54 2008
New Revision: 45499
URL: http://llvm.org/viewvc/llvm-project?rev=45499view=rev
Log:
Use the correct MachineRegisterInfo object.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
Author: void
Date: Thu Jan 3 13:30:07 2008
New Revision: 45543
URL: http://llvm.org/viewvc/llvm-project?rev=45543view=rev
Log:
Initialize variable.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL:
Author: void
Date: Thu Jan 3 13:31:37 2008
New Revision: 45544
URL: http://llvm.org/viewvc/llvm-project?rev=45544view=rev
Log:
We need to set the decl assembler name for this newly created variable, or else
it will be treated as a local and then bad things will happen.
Modified:
Hi Owen,
==
--- llvm/trunk/include/llvm/Target/TargetInstrInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetInstrInfo.h Mon Dec 31
00:32:00 2007
@@ -458,6 +458,15 @@
return 0;
}
+ ///
Author: void
Date: Mon Dec 31 18:22:07 2007
New Revision: 45474
URL: http://llvm.org/viewvc/llvm-project?rev=45474view=rev
Log:
Turn on Machine LICM for a beta test.
Modified:
test-suite/trunk/Makefile.programs
Modified: test-suite/trunk/Makefile.programs
URL:
Author: void
Date: Mon Dec 31 19:34:36 2007
New Revision: 45478
URL: http://llvm.org/viewvc/llvm-project?rev=45478view=rev
Log:
Update this testcase. The output needs to be disabled to pass.
Modified:
llvm/trunk/test/Transforms/LICM/scalar_promote.ll
Modified:
Author: void
Date: Sat Dec 29 21:18:58 2007
New Revision: 45444
URL: http://llvm.org/viewvc/llvm-project?rev=45444view=rev
Log:
If we have a load of a global address that's not modified during the
function, then go ahead and hoist it out of the loop. This is the result:
$ cat a.c
volatile int G;
Author: void
Date: Wed Dec 19 19:08:10 2007
New Revision: 45245
URL: http://llvm.org/viewvc/llvm-project?rev=45245view=rev
Log:
Updated comments to reflect what side effects means in this situation.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified:
Author: void
Date: Tue Dec 18 13:21:52 2007
New Revision: 45166
URL: http://llvm.org/viewvc/llvm-project?rev=45166view=rev
Log:
Ignore shell scripts when doing dsymutil call.
Modified:
llvm/trunk/utils/buildit/build_llvm
Modified: llvm/trunk/utils/buildit/build_llvm
URL:
Author: void
Date: Tue Dec 18 15:38:04 2007
New Revision: 45178
URL: http://llvm.org/viewvc/llvm-project?rev=45178view=rev
Log:
Add debugging info. Use the newly created hasUnmodelledSideEffects method.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified:
Hi Chris,
+// M_MAY_HAVE_SIDE_EFFECTS - Set if this instruction *might* have
side effects,
+// e.g. load instructions. Note: This and M_NEVER_HAS_SIDE_EFFECTS
are mutually
+// exclusive. You can't set both! If neither flag is set, then the
instruction
+// *always* has side effects.
Author: void
Date: Mon Dec 17 15:53:30 2007
New Revision: 45126
URL: http://llvm.org/viewvc/llvm-project?rev=45126view=rev
Log:
Add hasSideEffects method to MachineInstrInfo class.
Modified:
llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Modified:
On Dec 17, 2007 1:53 PM, Bill Wendling [EMAIL PROTECTED] wrote:
Author: void
Date: Mon Dec 17 15:53:30 2007
New Revision: 45126
URL: http://llvm.org/viewvc/llvm-project?rev=45126view=rev
Log:
Add hasSideEffects method to MachineInstrInfo class.
s/MachineInstrInfo/TargetInstrInfo/
-bw
Author: void
Date: Mon Dec 17 16:17:14 2007
New Revision: 45128
URL: http://llvm.org/viewvc/llvm-project?rev=45128view=rev
Log:
LD_Fp64m should have isRematerializable set.
Modified:
llvm/trunk/lib/Target/X86/X86InstrFPStack.td
Modified: llvm/trunk/lib/Target/X86/X86InstrFPStack.td
URL:
Author: void
Date: Mon Dec 17 17:07:56 2007
New Revision: 45132
URL: http://llvm.org/viewvc/llvm-project?rev=45132view=rev
Log:
Add mayHaveSideEffects and neverHasSideEffects flags to some instructions. I
based what flag to set on whether it was already marked as
isRematerializable. If there was
On Dec 17, 2007 3:15 PM, Chris Lattner [EMAIL PROTECTED] wrote:
+ /// hasSideEffects - Returns true if the instruction has side
effects that are
+ /// not captured by any operands of the instruction or other flags.
+ bool hasSideEffects(MachineInstr *MI) const {
How about
Author: void
Date: Mon Dec 17 17:19:54 2007
New Revision: 45133
URL: http://llvm.org/viewvc/llvm-project?rev=45133view=rev
Log:
s/hasSideEffects/hasUnmodelledSideEffects/g
Modified:
llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Hi Scott,
--- llvm/trunk/test/CodeGen/CellSPU/immed32.ll (added)
+++ llvm/trunk/test/CodeGen/CellSPU/immed32.ll Mon Dec 17 17:45:52 2007
@@ -0,0 +1,70 @@
+; RUN: llvm-as -o - %s | llc -march=cellspu %t1.s
+; RUN: grep ilhu %t1.s | count 8
+; RUN: grep iohl %t1.s | count 6
+; RUN: grep
Author: void
Date: Sun Dec 16 03:16:12 2007
New Revision: 45071
URL: http://llvm.org/viewvc/llvm-project?rev=45071view=rev
Log:
Remove spurious warnings from GCC:
warning: suggest a space before ';' or explicit braces around empty
body in 'for' statement
Patch by Mike Stump (modified slightly
Hi Duncan,
Hi Bill, does a branch instruction have side-effects?
Yes.
What is a side-effect? I noticed some confusion in gcc about
the definition of a side-effect, so it would be good to avoid
confusion in LLVM.
My understanding of a side effect is when an instruction has
un-modeled
Author: void
Date: Thu Dec 13 12:53:57 2007
New Revision: 45010
URL: http://llvm.org/viewvc/llvm-project?rev=45010view=rev
Log:
Creating llvmCore-2005 tag.
Added:
llvm/tags/Apple/llvmCore-2005/
- copied from r45009, llvm/trunk/
___
Author: void
Date: Thu Dec 13 19:02:33 2007
New Revision: 45018
URL: http://llvm.org/viewvc/llvm-project?rev=45018view=rev
Log:
Need to grab a patch that makes building happy.
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2004/
- copied from r45017, llvm-gcc-4.2/trunk/
Author: void
Date: Thu Dec 13 19:48:59 2007
New Revision: 45022
URL: http://llvm.org/viewvc/llvm-project?rev=45022view=rev
Log:
Add flags to indicate that there are never side effects or that there may be
side effects for machine instructions.
Modified:
On Dec 12, 2007 1:38 AM, Evan Cheng [EMAIL PROTECTED] wrote:
On Dec 11, 2007, at 11:40 AM, Bill Wendling [EMAIL PROTECTED] wrote:
Author: void
Date: Tue Dec 11 13:40:06 2007
New Revision: 44874
URL: http://llvm.org/viewvc/llvm-project?rev=44874view=rev
Log:
Blark! How
101 - 200 of 958 matches
Mail list logo