Re: [llvm-commits] [llvm] r47252 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

2008-02-17 Thread Bill Wendling
What are the bugs? -bw On Feb 17, 2008, at 6:31 PM, Owen Anderson wrote: > Author: resistor > Date: Sun Feb 17 20:31:23 2008 > New Revision: 47252 > > URL: http://llvm.org/viewvc/llvm-project?rev=47252&view=rev > Log: > Fix bugs that Chris noticed in my last patch. > > Modified: > llvm/trunk

Re: [llvm-commits] [llvm] r47086 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APInt.cpp

2008-02-17 Thread Bill Wendling
Dan submitted a fix last week. -bw On Feb 17, 2008, at 2:16 PM, Evan Cheng wrote: > Ping. Is this fixed? Does it affect build with -Werror set? > > Evan > > On Feb 13, 2008, at 5:22 PM, Bill Wendling wrote: > >> Hi Dan, >> >>> +uint32_t APInt::countTrailin

[llvm-commits] [llvm-gcc-4.2] r47207 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2016/

2008-02-15 Thread Bill Wendling
Author: void Date: Fri Feb 15 19:48:08 2008 New Revision: 47207 URL: http://llvm.org/viewvc/llvm-project?rev=47207&view=rev Log: Creating llvmgcc42-2016 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2016/ - copied from r47206, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r47206 - /llvm/tags/Apple/llvmCore-2017/

2008-02-15 Thread Bill Wendling
Author: void Date: Fri Feb 15 19:48:02 2008 New Revision: 47206 URL: http://llvm.org/viewvc/llvm-project?rev=47206&view=rev Log: Creating llvmCore-2017 branch Added: llvm/tags/Apple/llvmCore-2017/ - copied from r47205, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm] r47200 - /llvm/trunk/lib/CodeGen/RegisterScavenging.cpp

2008-02-15 Thread Bill Wendling
Author: void Date: Fri Feb 15 19:09:25 2008 New Revision: 47200 URL: http://llvm.org/viewvc/llvm-project?rev=47200&view=rev Log: Fix typos. Modified: llvm/trunk/lib/CodeGen/RegisterScavenging.cpp Modified: llvm/trunk/lib/CodeGen/RegisterScavenging.cpp URL: http://llvm.org/viewvc/llvm-projec

Re: [llvm-commits] [llvm] r47086 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APInt.cpp

2008-02-13 Thread Bill Wendling
Hi Dan, > +uint32_t APInt::countTrailingOnes() const { > + if (isSingleWord()) > +return std::min(uint32_t(CountTrailingOnes_64(VAL)), BitWidth); > + uint32_t Count = 0; > + uint32_t i = 0; > + for (; i < getNumWords() && pVal[i] == -1; ++i) This compare leads to this warning: llvm[1]: C

[llvm-commits] [llvm] r46997 - /llvm/trunk/docs/TableGenFundamentals.html

2008-02-11 Thread Bill Wendling
Author: void Date: Tue Feb 12 01:12:46 2008 New Revision: 46997 URL: http://llvm.org/viewvc/llvm-project?rev=46997&view=rev Log: More violation fixes. Modified: llvm/trunk/docs/TableGenFundamentals.html Modified: llvm/trunk/docs/TableGenFundamentals.html URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r46996 - /llvm/trunk/docs/TableGenFundamentals.html

2008-02-11 Thread Bill Wendling
Author: void Date: Tue Feb 12 01:09:05 2008 New Revision: 46996 URL: http://llvm.org/viewvc/llvm-project?rev=46996&view=rev Log: Fix validation errors: di -> dt. Modified: llvm/trunk/docs/TableGenFundamentals.html Modified: llvm/trunk/docs/TableGenFundamentals.html URL: http://llvm.org/view

[llvm-commits] [llvm] r46995 - /llvm/trunk/docs/TableGenFundamentals.html

2008-02-11 Thread Bill Wendling
Author: void Date: Tue Feb 12 01:06:19 2008 New Revision: 46995 URL: http://llvm.org/viewvc/llvm-project?rev=46995&view=rev Log: Reformatting. Adding "doc_code" divisions for code examples. Updated some of the examples to reflect the current .TD files. Modified: llvm/trunk/docs/TableGenFundam

Re: [llvm-commits] [llvm] r46922 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-02-10 Thread Bill Wendling
at all then? -bw > On Feb 10, 2008, at 12:10 AM, Bill Wendling wrote: > >> Author: void >> Date: Sun Feb 10 02:10:24 2008 >> New Revision: 46922 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=46922&view=rev >> Log: >> Return &q

[llvm-commits] [llvm] r46922 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-02-10 Thread Bill Wendling
Author: void Date: Sun Feb 10 02:10:24 2008 New Revision: 46922 URL: http://llvm.org/viewvc/llvm-project?rev=46922&view=rev Log: Return "(c1 + c2)" instead of yet another ADD node (which made this a no-op). Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified: llvm/trunk/li

Re: [llvm-commits] [llvm-gcc-4.2] r46862 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c

2008-02-07 Thread Bill Wendling
On Feb 7, 2008 2:34 PM, Eric Christopher <[EMAIL PROTECTED]> wrote: > > On Feb 7, 2008, at 2:31 PM, Bill Wendling wrote: > > > +/* LLVM LOCAL begin */ > > +#ifdef ENABLE_LLVM > > +void > > +darwin_assemble_visibility (tree decl ATTRIBU

[llvm-commits] [llvm-gcc-4.2] r46870 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c

2008-02-07 Thread Bill Wendling
Author: void Date: Thu Feb 7 19:07:37 2008 New Revision: 46870 URL: http://llvm.org/viewvc/llvm-project?rev=46870&view=rev Log: No need to conditionalize the ATTRIBUTE_UNUSED as gcc won't complain about it if it is used. Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c Modified: llvm-gcc-4.

[llvm-commits] [llvm-gcc-4.2] r46862 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c

2008-02-07 Thread Bill Wendling
Author: void Date: Thu Feb 7 16:30:56 2008 New Revision: 46862 URL: http://llvm.org/viewvc/llvm-project?rev=46862&view=rev Log: Mark variable as "unused" if enable_llvm is defined. Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c URL: http:/

[llvm-commits] [llvm-gcc-4.2] r46842 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.c config/rs6000/rs6000.c varasm.c

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 23:45:10 2008 New Revision: 46842 URL: http://llvm.org/viewvc/llvm-project?rev=46842&view=rev Log: Clean up the patch about visibility. Only block out the parts LLVM doesn't want to do instead of creating new functions and making life miserable for everyone on the pla

[llvm-commits] [llvm] r46829 - /llvm/tags/Apple/llvmCore-2016/

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 16:35:09 2008 New Revision: 46829 URL: http://llvm.org/viewvc/llvm-project?rev=46829&view=rev Log: Creating llvmCore-2016 tag from Zim branch Added: llvm/tags/Apple/llvmCore-2016/ - copied from r46828, llvm/branches/Apple/Zim/ _

[llvm-commits] [llvm] r46828 - /llvm/branches/Apple/Zim/lib/CodeGen/RegAllocLocal.cpp

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 16:33:59 2008 New Revision: 46828 URL: http://llvm.org/viewvc/llvm-project?rev=46828&view=rev Log: [From mainline] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080204/057964.html RegAllocaLocal still *requires* LiveVariables since it runs PHIElimi

[llvm-commits] [llvm] r46826 - in /llvm/branches/Apple/Zim: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/memcpy.ll

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 16:18:16 2008 New Revision: 46826 URL: http://llvm.org/viewvc/llvm-project?rev=46826&view=rev Log: [From mainline] Temporarily reverting: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080128/057882.html This is causing a miscompilation on PPC G5 and

[llvm-commits] [llvm] r46824 - /llvm/branches/Apple/Zim/

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 15:34:01 2008 New Revision: 46824 URL: http://llvm.org/viewvc/llvm-project?rev=46824&view=rev Log: Creating Zim branch based on llvmCore-2015 Added: llvm/branches/Apple/Zim/ - copied from r46823, llvm/tags/Apple/llvmCore-2015/ _

[llvm-commits] [llvm] r46822 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/memcpy.ll

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 14:03:07 2008 New Revision: 46822 URL: http://llvm.org/viewvc/llvm-project?rev=46822&view=rev Log: Temporarily reverting: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080128/057882.html This is causing a miscompilation on PPC G5 and just now seeing

[llvm-commits] [llvm-gcc-4.2] r46820 - /llvm-gcc-4.2/trunk/gcc/varasm.c

2008-02-06 Thread Bill Wendling
Author: void Date: Wed Feb 6 13:05:56 2008 New Revision: 46820 URL: http://llvm.org/viewvc/llvm-project?rev=46820&view=rev Log: I meant to retain the behavior when ENABLE_LLVM wasn't defined, but not output to the ASM file. My patch was wrong because it issued the warning unconditionally when ENA

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Bill Wendling
On Feb 5, 2008 2:40 PM, Dale Johannesen <[EMAIL PROTECTED]> wrote: > > On Feb 5, 2008, at 2:19 PM, Chris Lattner wrote: > > > On Feb 5, 2008, at 11:41 AM, Evan Cheng wrote: > >> With or without... > > > > Right, I agree. The f.e. should do this unconditionally, > > > > -Chris > > OK, maybe so. Th

[llvm-commits] [llvm-gcc-4.2] r46747 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.c config/rs6000/rs6000.c varasm.c

2008-02-05 Thread Bill Wendling
Author: void Date: Tue Feb 5 03:46:24 2008 New Revision: 46747 URL: http://llvm.org/viewvc/llvm-project?rev=46747&view=rev Log: maybe_assemble_visibility issues a warning if the visibility isn't supported on a particular platform. A configuration might check for visibility. A warning in this case

[llvm-commits] [llvm-gcc-4.2] r46749 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2015/

2008-02-05 Thread Bill Wendling
Author: void Date: Tue Feb 5 03:53:01 2008 New Revision: 46749 URL: http://llvm.org/viewvc/llvm-project?rev=46749&view=rev Log: Creating llvmgcc42-2015 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2015/ - copied from r46748, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46748 - /llvm/tags/Apple/llvmCore-2015/

2008-02-05 Thread Bill Wendling
Author: void Date: Tue Feb 5 03:52:54 2008 New Revision: 46748 URL: http://llvm.org/viewvc/llvm-project?rev=46748&view=rev Log: Creating llvmCore-2015 branch Added: llvm/tags/Apple/llvmCore-2015/ - copied from r46747, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm-gcc-4.2] r46642 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2014/

2008-02-02 Thread Bill Wendling
Author: void Date: Fri Feb 1 12:57:14 2008 New Revision: 46642 URL: http://llvm.org/viewvc/llvm-project?rev=46642&view=rev Log: Creating llvmgcc42-2014 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2014/ - copied from r46641, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46641 - /llvm/tags/Apple/llvmCore-2014/

2008-02-01 Thread Bill Wendling
Author: void Date: Fri Feb 1 12:56:25 2008 New Revision: 46641 URL: http://llvm.org/viewvc/llvm-project?rev=46641&view=rev Log: Creating llvmCore-2014 branch Added: llvm/tags/Apple/llvmCore-2014/ - copied from r46640, llvm/trunk/ ___ llvm-co

Re: [llvm-commits] [llvm-gcc-4.2] r43913 [33/80] - in

2008-01-31 Thread Bill Wendling
vm-commits/Week-of-Mon-20071105/055414.html > Unfortunately, I won't be able to help you. The patch you mentioned was a result of a "merge" of our tree with another tree. So I didn't write this code, and, unfortunately, I'm not up-to-date on Java technology. -bw >

[llvm-commits] [llvm] r46476 - /llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c

2008-01-28 Thread Bill Wendling
Author: void Date: Mon Jan 28 18:41:29 2008 New Revision: 46476 URL: http://llvm.org/viewvc/llvm-project?rev=46476&view=rev Log: Add test to make sure that #pragma mark/error doesn't error if there are unbalanced quotes. Added: llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c Added: llvm/tr

[llvm-commits] [llvm-gcc-4.2] r46474 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2013/

2008-01-28 Thread Bill Wendling
Author: void Date: Mon Jan 28 18:18:49 2008 New Revision: 46474 URL: http://llvm.org/viewvc/llvm-project?rev=46474&view=rev Log: Creating llvmgcc42-2013 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2013/ - copied from r46473, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46473 - /llvm/tags/Apple/llvmCore-2013/

2008-01-28 Thread Bill Wendling
Author: void Date: Mon Jan 28 18:18:43 2008 New Revision: 46473 URL: http://llvm.org/viewvc/llvm-project?rev=46473&view=rev Log: Creating llvmCore-2013 branch Added: llvm/tags/Apple/llvmCore-2013/ - copied from r46472, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm-gcc-4.2] r46463 - in /llvm-gcc-4.2/trunk: gcc/config/darwin.h libcpp/directives.c libcpp/internal.h libcpp/lex.c

2008-01-28 Thread Bill Wendling
Author: void Date: Mon Jan 28 15:47:12 2008 New Revision: 46463 URL: http://llvm.org/viewvc/llvm-project?rev=46463&view=rev Log: This program: $ cat testcase.c #pragma mark Mike's world #ifdef DO_ERROR #error Mike's world #endif int i; Gives us these warnings: pragma-2.c:1:18: warning: missing

[llvm-commits] [llvm] r46449 - /llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp

2008-01-28 Thread Bill Wendling
Author: void Date: Mon Jan 28 03:15:03 2008 New Revision: 46449 URL: http://llvm.org/viewvc/llvm-project?rev=46449&view=rev Log: If the function has no machine instructions, then emit a "nop" so that the function label isn't associated with something it shouldn't be. Modified: llvm/trunk/lib/

Re: [llvm-commits] [llvm-gcc-4.2] r46381 - in /llvm-gcc-4.2/trunk/gcc: llvm-abi.h llvm-internal.h llvm-types.cpp

2008-01-27 Thread Bill Wendling
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: > > stru

[llvm-commits] [llvm] r46409 - /llvm/trunk/test/Transforms/CorrelatedExprs/

2008-01-26 Thread Bill Wendling
Author: void Date: Sun Jan 27 00:13:32 2008 New Revision: 46409 URL: http://llvm.org/viewvc/llvm-project?rev=46409&view=rev Log: The CorrelatedExpressions pass is now no more. Removed: llvm/trunk/test/Transforms/CorrelatedExprs/ ___ llvm-commits ma

[llvm-commits] [llvm] r46398 - in /llvm/trunk: lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/X86/X86ATTAsmPrinter.cpp test/CodeGen/X86/2008-01-25-EmptyFunction.ll

2008-01-26 Thread Bill Wendling
Author: void Date: Sat Jan 26 03:03:52 2008 New Revision: 46398 URL: http://llvm.org/viewvc/llvm-project?rev=46398&view=rev Log: If there's no instructions being emitted on X86 for a function, emit a nop. Emit the nop directly for PPC. Added: llvm/trunk/test/CodeGen/X86/2008-01-25-EmptyFuncti

Re: [llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-26 Thread Bill Wendling
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=46394&view=rev >

Re: [llvm-commits] [llvm] r46387 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/CFrontend/2008-01-25-EmptyFunction.c

2008-01-25 Thread Bill Wendling
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=46387&view=rev >> Log: >> If we have a function like this: >> >> This is bad on some platforms (like

[llvm-commits] [llvm] r46397 - /llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll

2008-01-25 Thread Bill Wendling
Author: void Date: Sat Jan 26 00:56:08 2008 New Revision: 46397 URL: http://llvm.org/viewvc/llvm-project?rev=46397&view=rev Log: Need to convert to LLVM code and not C. Modified: llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll Modified: llvm/trunk/test/CodeGen/PowerPC/2008-01-25-

[llvm-commits] [llvm] r46396 - in /llvm/trunk/test/CodeGen/PowerPC: 2008-01-25-EmptyFunction.c 2008-01-25-EmptyFunction.ll

2008-01-25 Thread Bill Wendling
Author: void Date: Sat Jan 26 00:53:40 2008 New Revision: 46396 URL: http://llvm.org/viewvc/llvm-project?rev=46396&view=rev Log: Rename the .c to .ll Added: llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll - copied unchanged from r46395, llvm/trunk/test/CodeGen/PowerPC/2008-

[llvm-commits] [llvm] r46395 - in /llvm/trunk/test: CFrontend/2008-01-25-EmptyFunction.c CodeGen/PowerPC/2008-01-25-EmptyFunction.c

2008-01-25 Thread Bill Wendling
Author: void Date: Sat Jan 26 00:53:06 2008 New Revision: 46395 URL: http://llvm.org/viewvc/llvm-project?rev=46395&view=rev Log: Move testcase to the code gen directory. Added: llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c - copied unchanged from r46390, llvm/trunk/test/CF

[llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-25 Thread Bill Wendling
Author: void Date: Sat Jan 26 00:51:24 2008 New Revision: 46394 URL: http://llvm.org/viewvc/llvm-project?rev=46394&view=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

[llvm-commits] [llvm] r46387 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/CFrontend/2008-01-25-EmptyFunction.c

2008-01-25 Thread Bill Wendling
Author: void Date: Fri Jan 25 19:43:44 2008 New Revision: 46387 URL: http://llvm.org/viewvc/llvm-project?rev=46387&view=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 n

[llvm-commits] [llvm-gcc-4.2] r46342 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2012/

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 21:25:57 2008 New Revision: 46342 URL: http://llvm.org/viewvc/llvm-project?rev=46342&view=rev Log: Creating llvmgcc42-2012 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2012/ - copied from r46341, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm-gcc-4.2] r46341 - /llvm-gcc-4.2/trunk/gcc/regclass.c

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 21:24:25 2008 New Revision: 46341 URL: http://llvm.org/viewvc/llvm-project?rev=46341&view=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: http://llvm.org/viewvc

[llvm-commits] [llvm-gcc-4.2] r46332 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2011/

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 17:29:32 2008 New Revision: 46332 URL: http://llvm.org/viewvc/llvm-project?rev=46332&view=rev Log: Creating llvmgcc42-2011 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2011/ - copied from r46331, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46331 - /llvm/tags/Apple/llvmCore-2011/

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 17:29:26 2008 New Revision: 46331 URL: http://llvm.org/viewvc/llvm-project?rev=46331&view=rev Log: Creating llvmCore-2011 branch Added: llvm/tags/Apple/llvmCore-2011/ - copied from r46330, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm-gcc-4.2] r46324 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h objc/objc-act.c

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 15:00:50 2008 New Revision: 46324 URL: http://llvm.org/viewvc/llvm-project?rev=46324&view=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: llvm-gcc-

Re: [llvm-commits] [llvm-gcc-4.2] r46281 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h objc/objc-act.c

2008-01-24 Thread Bill Wendling
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_CrashTes

[llvm-commits] [llvm-gcc-4.0] r46312 - /llvm-gcc-4.0/trunk/gcc/objc/objc-act.c

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 03:48:00 2008 New Revision: 46312 URL: http://llvm.org/viewvc/llvm-project?rev=46312&view=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: http:

[llvm-commits] [llvm-gcc-4.0] r46311 - /llvm-gcc-4.0/trunk/gcc/objc/objc-act.c

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 02:51:17 2008 New Revision: 46311 URL: http://llvm.org/viewvc/llvm-project?rev=46311&view=rev Log: backporting r46308: The initialization for _OBJC_IVAR_$_.b symbols are dropped for -O0. As it turns out, the LLVM variable is created at -O0 before the initialization i

[llvm-commits] [llvm-gcc-4.2] r46309 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 02:11:43 2008 New Revision: 46309 URL: http://llvm.org/viewvc/llvm-project?rev=46309&view=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: http://llvm.org/viewvc/l

[llvm-commits] [llvm-gcc-4.2] r46308 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-24 Thread Bill Wendling
Author: void Date: Thu Jan 24 02:09:17 2008 New Revision: 46308 URL: http://llvm.org/viewvc/llvm-project?rev=46308&view=rev Log: The initialization for _OBJC_IVAR_$_.b symbols are dropped for -O0. As it turns out, the LLVM variable is created at -O0 before the initialization is set to the correct

Re: [llvm-commits] [llvm-gcc-4.2] r46281 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h objc/objc-act.c

2008-01-23 Thread Bill Wendling
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 (otherwi

[llvm-commits] [llvm-gcc-4.0] r46282 - in /llvm-gcc-4.0/trunk/gcc: config/darwin.h objc/objc-act.c

2008-01-23 Thread Bill Wendling
Author: void Date: Wed Jan 23 16:14:50 2008 New Revision: 46282 URL: http://llvm.org/viewvc/llvm-project?rev=46282&view=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 n

[llvm-commits] [llvm-gcc-4.2] r46281 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h objc/objc-act.c

2008-01-23 Thread Bill Wendling
Author: void Date: Wed Jan 23 15:41:05 2008 New Revision: 46281 URL: http://llvm.org/viewvc/llvm-project?rev=46281&view=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. We

Re: [llvm-commits] [llvm-gcc-4.2] r46170 - in /llvm-gcc-4.2/trunk/gcc: autom4te.cache/output.0 autom4te.cache/requests autom4te.cache/traces.0 configure configure.ac

2008-01-23 Thread Bill Wendling
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 >>> llvm-gcc-4.2/trunk/gcc/aut

[llvm-commits] [llvm-gcc-4.2] r46261 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-22 Thread Bill Wendling
Author: void Date: Tue Jan 22 17:06:58 2008 New Revision: 46261 URL: http://llvm.org/viewvc/llvm-project?rev=46261&view=rev Log: We were getting this error: embedding a directive within macro arguments is not portable build_tree_list is a macro... Modified: llvm-gcc-4.2/trunk/gcc/ob

[llvm-commits] [llvm-gcc-4.2] r46149 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2010/

2008-01-17 Thread Bill Wendling
Author: void Date: Thu Jan 17 18:30:41 2008 New Revision: 46149 URL: http://llvm.org/viewvc/llvm-project?rev=46149&view=rev Log: Creating llvmgcc42-2010 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2010/ - copied from r46148, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46148 - /llvm/tags/Apple/llvmCore-2009/

2008-01-17 Thread Bill Wendling
Author: void Date: Thu Jan 17 18:28:22 2008 New Revision: 46148 URL: http://llvm.org/viewvc/llvm-project?rev=46148&view=rev Log: Creating llvmCore-2009 branch Added: llvm/tags/Apple/llvmCore-2009/ - copied from r46147, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm-gcc-4.2] r46094 - /llvm-gcc-4.2/trunk/build_gcc

2008-01-16 Thread Bill Wendling
Author: void Date: Wed Jan 16 16:18:26 2008 New Revision: 46094 URL: http://llvm.org/viewvc/llvm-project?rev=46094&view=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: ll

Re: [llvm-commits] [llvm-gcc-4.2] r46039 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-16 Thread Bill Wendling
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 bigEndianH

[llvm-commits] [llvm-gcc-4.2] r46077 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-16 Thread Bill Wendling
Author: void Date: Wed Jan 16 12:49:47 2008 New Revision: 46077 URL: http://llvm.org/viewvc/llvm-project?rev=46077&view=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: h

[llvm-commits] [llvm-gcc-4.2] r46064 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-15 Thread Bill Wendling
Author: void Date: Wed Jan 16 01:28:16 2008 New Revision: 46064 URL: http://llvm.org/viewvc/llvm-project?rev=46064&view=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: http://llvm.o

Re: [llvm-commits] [llvm-gcc-4.2] r46039 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-15 Thread Bill Wendling
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 somethi

[llvm-commits] [llvm-gcc-4.2] r46063 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386-protos.h

2008-01-15 Thread Bill Wendling
Author: void Date: Wed Jan 16 01:23:34 2008 New Revision: 46063 URL: http://llvm.org/viewvc/llvm-project?rev=46063&view=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: http://llvm.org/vi

[llvm-commits] [llvm-gcc-4.2] r46059 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2009/

2008-01-15 Thread Bill Wendling
Author: void Date: Wed Jan 16 00:27:12 2008 New Revision: 46059 URL: http://llvm.org/viewvc/llvm-project?rev=46059&view=rev Log: Creating llvmgcc42-2009 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2009/ - copied from r46058, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm-gcc-4.2] r46048 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/trunk/

2008-01-15 Thread Bill Wendling
Author: void Date: Tue Jan 15 23:46:33 2008 New Revision: 46048 URL: http://llvm.org/viewvc/llvm-project?rev=46048&view=rev Log: Creating llvmgcc42-2008 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/trunk/ - copied from r46047, llvm-gcc-4.2/trunk/ ___

[llvm-commits] [llvm-gcc-4.2] r46044 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/

2008-01-15 Thread Bill Wendling
Author: void Date: Tue Jan 15 19:31:37 2008 New Revision: 46044 URL: http://llvm.org/viewvc/llvm-project?rev=46044&view=rev Log: Creating llvmgcc42-2008 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2008/ - copied from r46043, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46043 - /llvm/tags/Apple/llvmCore-2008/

2008-01-15 Thread Bill Wendling
Author: void Date: Tue Jan 15 19:30:13 2008 New Revision: 46043 URL: http://llvm.org/viewvc/llvm-project?rev=46043&view=rev Log: Creating llvmCore-2008 branch Added: llvm/tags/Apple/llvmCore-2008/ - copied from r46042, llvm/trunk/ ___ llvm-co

Re: [llvm-commits] [llvm-gcc-4.2] r46041 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h llvm-backend.cpp llvm.h objc/objc-act.c varasm.c

2008-01-15 Thread Bill Wendling
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=46041&view=rev > Log: > The final ultimate(?) fix for the silly objc .reference thing. Instead of > ignoring

[llvm-commits] [llvm-gcc-4.2] r46039 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-15 Thread Bill Wendling
Author: void Date: Tue Jan 15 18:47:01 2008 New Revision: 46039 URL: http://llvm.org/viewvc/llvm-project?rev=46039&view=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,

[llvm-commits] [llvm] r46009 - /llvm/trunk/lib/VMCore/AsmWriter.cpp

2008-01-15 Thread Bill Wendling
Author: void Date: Tue Jan 15 15:16:32 2008 New Revision: 46009 URL: http://llvm.org/viewvc/llvm-project?rev=46009&view=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 U

Re: [llvm-commits] [llvm-gcc-4.2] r45978 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Bill Wendling
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=45978&view=rev > > Log: > > GCC emits .reference and .lazy_reference directives directly to > &

[llvm-commits] [llvm-gcc-4.2] r45985 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Bill Wendling
Author: void Date: Mon Jan 14 17:20:29 2008 New Revision: 45985 URL: http://llvm.org/viewvc/llvm-project?rev=45985&view=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: http://llvm.org/viewvc/llvm-project

[llvm-commits] [llvm-gcc-4.2] r45978 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Bill Wendling
Author: void Date: Mon Jan 14 16:18:42 2008 New Revision: 45978 URL: http://llvm.org/viewvc/llvm-project?rev=45978&view=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 extern

[llvm-commits] [llvm-gcc-4.2] r45863 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2007/

2008-01-11 Thread Bill Wendling
Author: void Date: Fri Jan 11 02:35:19 2008 New Revision: 45863 URL: http://llvm.org/viewvc/llvm-project?rev=45863&view=rev Log: Creating llvmgcc42-2007 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2007/ - copied from r45862, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r45862 - /llvm/tags/Apple/llvmCore-2007/

2008-01-11 Thread Bill Wendling
Author: void Date: Fri Jan 11 02:32:54 2008 New Revision: 45862 URL: http://llvm.org/viewvc/llvm-project?rev=45862&view=rev Log: Creating llvmCore-2007 branch Added: llvm/tags/Apple/llvmCore-2007/ - copied from r45861, llvm/trunk/ ___ llvm-co

Re: [llvm-commits] CVS: llvm-www/devmtg/current/index.html

2008-01-10 Thread Bill Wendling
On Jan 10, 2008, at 6:49 AM, Jonathan Johnson wrote: > + If your name is mispelled, or organization affiliation isn't > correct, please mailto:jon > [EMAIL PROTECTED]">email us, and we'll correct it. mispelled -> misspelled ;-) -bw ___ llvm-commi

Re: [llvm-commits] [llvm-gcc-4.2] r45804 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm.h objc/objc-act.c

2008-01-09 Thread Bill Wendling
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

[llvm-commits] [llvm-gcc-4.2] r45804 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm.h objc/objc-act.c

2008-01-09 Thread Bill Wendling
Author: void Date: Wed Jan 9 19:28:25 2008 New Revision: 45804 URL: http://llvm.org/viewvc/llvm-project?rev=45804&view=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: L_OBJC_C

Re: [llvm-commits] CommandLine.html patch

2008-01-09 Thread Bill Wendling
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

[llvm-commits] [llvm-gcc-4.2] r45761 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-08 Thread Bill Wendling
Author: void Date: Tue Jan 8 17:05:19 2008 New Revision: 45761 URL: http://llvm.org/viewvc/llvm-project?rev=45761&view=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: llvm-gcc-4.2/trunk/

[llvm-commits] [llvm-gcc-4.2] r45741 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-08 Thread Bill Wendling
Author: void Date: Tue Jan 8 00:08:04 2008 New Revision: 45741 URL: http://llvm.org/viewvc/llvm-project?rev=45741&view=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: llvm-gcc-4.2/trunk/gcc/obj

[llvm-commits] [llvm] r45731 - /llvm/trunk/lib/Target/X86/X86JITInfo.cpp

2008-01-08 Thread Bill Wendling
Author: void Date: Mon Jan 7 18:52:29 2008 New Revision: 45731 URL: http://llvm.org/viewvc/llvm-project?rev=45731&view=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: http://llvm.or

[llvm-commits] [llvm] r45581 - /llvm/trunk/docs/GetElementPtr.html

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 06:04:32 2008 New Revision: 45581 URL: http://llvm.org/viewvc/llvm-project?rev=45581&view=rev Log: doc_code-ify some code in this doc. Modified: llvm/trunk/docs/GetElementPtr.html Modified: llvm/trunk/docs/GetElementPtr.html URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r45579 - /llvm/tags/Apple/llvmCore-2006/

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 05:43:32 2008 New Revision: 45579 URL: http://llvm.org/viewvc/llvm-project?rev=45579&view=rev Log: Creating llvmCore-2006 branch Added: llvm/tags/Apple/llvmCore-2006/ - copied from r45578, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm-gcc-4.2] r45578 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2005/

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 05:42:15 2008 New Revision: 45578 URL: http://llvm.org/viewvc/llvm-project?rev=45578&view=rev Log: Creating llvmgcc42-2005 tag Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2005/ - copied from r45577, llvm-gcc-4.2/trunk/

[llvm-commits] [llvm-gcc-4.2] r45577 - /llvm-gcc-4.2/trunk/build_gcc

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 05:29:31 2008 New Revision: 45577 URL: http://llvm.org/viewvc/llvm-project?rev=45577&view=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 ch

[llvm-commits] [llvm] r45699 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-07 Thread Bill Wendling
Author: void Date: Mon Jan 7 02:05:29 2008 New Revision: 45699 URL: http://llvm.org/viewvc/llvm-project?rev=45699&view=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: llvm/trunk/lib/Target/X86/

Re: [llvm-commits] [llvm] r45626 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-07 Thread Bill Wendling
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

Re: [llvm-commits] [llvm] r45027 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/VMCore/AutoUpgrade.cpp test/Assembler/AutoUpgradeIntrinsics.ll

2008-01-06 Thread Bill Wendling
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

Re: [llvm-commits] [llvm] r45626 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-05 Thread Bill Wendling
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 >>

[llvm-commits] [llvm] r45638 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-05 Thread Bill Wendling
Author: void Date: Sat Jan 5 17:30:51 2008 New Revision: 45638 URL: http://llvm.org/viewvc/llvm-project?rev=45638&view=rev Log: Fix comment. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp URL: http://llvm.org/viewvc/llvm-project/ll

Re: [llvm-commits] [llvm] r45620 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-05 Thread Bill Wendling
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[

[llvm-commits] [llvm] r45626 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-05 Thread Bill Wendling
Author: void Date: Sat Jan 5 03:18:04 2008 New Revision: 45626 URL: http://llvm.org/viewvc/llvm-project?rev=45626&view=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 o

Re: [llvm-commits] [llvm] r45620 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-04 Thread Bill Wendling
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

Re: [llvm-commits] [llvm] r45620 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-04 Thread Bill Wendling
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

[llvm-commits] [llvm-gcc-4.2] r45611 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2006/

2008-01-04 Thread Bill Wendling
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/ _

[llvm-commits] [llvm-gcc-4.2] r45610 - /llvm-gcc-4.2/trunk/build_gcc

2008-01-04 Thread Bill Wendling
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/

  1   2   3   4   5   6   7   8   9   10   >