Hi Chris,
> ArgPromotion does do this, and I added a testcase to verify it. It
> looks like it recomputes the Function's param attrs perfectly and just
> applies that attr list to all calls.
try this example. Argpromotion deletes the zeroext attribute on the call.
; RUN: llvm-as < %s | opt
Author: evancheng
Date: Wed Jan 16 02:21:18 2008
New Revision: 46067
URL: http://llvm.org/viewvc/llvm-project?rev=46067&view=rev
Log:
Testing for parameter passing, not for return value.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/l
Author: baldrick
Date: Wed Jan 16 04:25:43 2008
New Revision: 46068
URL: http://llvm.org/viewvc/llvm-project?rev=46068&view=rev
Log:
Fix warning: extra tokens at end of #ifndef directive
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-abi.h
Modified: llvm-gcc-4.0/trunk/gcc/llvm-abi.h
URL:
http://llvm
Author: baldrick
Date: Wed Jan 16 08:43:39 2008
New Revision: 46069
URL: http://llvm.org/viewvc/llvm-project?rev=46069&view=rev
Log:
Mark the Ada exception begin handler 'nothrow'.
This can reduce the amount of eh code output,
and is safe since currently the handler... does
nothing at all!
Modifi
Author: lattner
Date: Wed Jan 16 11:59:31 2008
New Revision: 46072
URL: http://llvm.org/viewvc/llvm-project?rev=46072&view=rev
Log:
Fix a ppc long double regression I introduced yesterday due to a
simplification. This fixes automotive-basicmath on PPC.
Modified:
llvm/trunk/lib/CodeGen/Select
Author: lattner
Date: Wed Jan 16 12:03:52 2008
New Revision: 46073
URL: http://llvm.org/viewvc/llvm-project?rev=46073&view=rev
Log:
add testcase for regression
Added:
llvm/trunk/test/CodeGen/PowerPC/longdbl-truncate.ll
Added: llvm/trunk/test/CodeGen/PowerPC/longdbl-truncate.ll
URL:
http://l
On Jan 16, 2008, at 12:07 AM, Duncan Sands wrote:
> Hi Chris,
>> ArgPromotion does do this, and I added a testcase to verify it. It
>> looks like it recomputes the Function's param attrs perfectly and
>> just
>> applies that attr list to all calls.
>
> try this example. Argpromotion deletes the
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
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
Author: johannes
Date: Wed Jan 16 13:59:28 2008
New Revision: 46088
URL: http://llvm.org/viewvc/llvm-project?rev=46088&view=rev
Log:
Do not mark EH tables no-dead-strip unless the
associated function is so marked.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
llvm/trunk/l
Author: lattner
Date: Wed Jan 16 15:10:05 2008
New Revision: 46089
URL: http://llvm.org/viewvc/llvm-project?rev=46089&view=rev
Log:
Wire up __builtin_bswap32/64 to llvm.bswap. This is a 4.2-only feature.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llv
Author: lattner
Date: Wed Jan 16 15:35:43 2008
New Revision: 46090
URL: http://llvm.org/viewvc/llvm-project?rev=46090&view=rev
Log:
Handle attribute(used) global variables that are i8.
Modified:
llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp
Modified: llvm/trunk/lib/Transforms/IPO/StripSymbo
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
Author: baldrick
Date: Wed Jan 16 16:50:04 2008
New Revision: 46097
URL: http://llvm.org/viewvc/llvm-project?rev=46097&view=rev
Log:
Restore a placeholder substitution that was
accidentally dropped in revision 45523. The
testcase is FrontendAda/placeholder.adb.
Modified:
llvm-gcc-4.2/trunk/g
Author: baldrick
Date: Wed Jan 16 16:55:25 2008
New Revision: 46098
URL: http://llvm.org/viewvc/llvm-project?rev=46098&view=rev
Log:
Trampoline support for x86-64. This looks like
it should work, but I have no machine to test
it on. Committed because it will at least
cause no harm, and maybe som
Hi Chris,
> > try this example. Argpromotion deletes the zeroext attribute on the
> > call.
>
> Right, it deletes it because the attr is on the call not the
> function. I can make this work, but shouldn't the attr also be on the
> function?
the attributes on the call determine (for examp
Author: evancheng
Date: Wed Jan 16 17:11:54 2008
New Revision: 46099
URL: http://llvm.org/viewvc/llvm-project?rev=46099&view=rev
Log:
Fixes a nasty dag combiner bug that causes a bunch of tests to fail at -O0.
It's not safe to use the two value CombineTo variant to combine away a dead
load.
e.g.
On Jan 16, 2008, at 2:58 PM, Duncan Sands wrote:
> Hi Chris,
>
>>> try this example. Argpromotion deletes the zeroext attribute on the
>>> call.
>>
>> Right, it deletes it because the attr is on the call not the
>> function. I can make this work, but shouldn't the attr also be on
>> the
>> fu
Author: evancheng
Date: Wed Jan 16 18:35:26 2008
New Revision: 46104
URL: http://llvm.org/viewvc/llvm-project?rev=46104&view=rev
Log:
Replace std::vector with BitVector.
Modified:
llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
Modified: llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
URL:
http://llvm.or
Author: lattner
Date: Wed Jan 16 19:17:03 2008
New Revision: 46108
URL: http://llvm.org/viewvc/llvm-project?rev=46108&view=rev
Log:
Fix arg promotion to propagate the correct attrs on the calls to
promoted functions. This is important for varargs calls in
particular. Thanks to duncan for provid
Author: dpatel
Date: Wed Jan 16 19:41:18 2008
New Revision: 46110
URL: http://llvm.org/viewvc/llvm-project?rev=46110&view=rev
Log:
Fix more symlinks. Avoid deep links that assumes /Developer as the root
installation folder.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trun
Author: evancheng
Date: Wed Jan 16 20:08:17 2008
New Revision: 46111
URL: http://llvm.org/viewvc/llvm-project?rev=46111&view=rev
Log:
When a live virtual register is being clobbered by an implicit def, it is
spilled
and the spill is its kill. However, if the local allocator has determined the
reg
Author: dpatel
Date: Wed Jan 16 20:10:08 2008
New Revision: 46112
URL: http://llvm.org/viewvc/llvm-project?rev=46112&view=rev
Log:
Enable CBE
Modified:
llvm/trunk/utils/buildit/build_llvm
Modified: llvm/trunk/utils/buildit/build_llvm
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/utils
Author: evancheng
Date: Wed Jan 16 22:18:54 2008
New Revision: 46113
URL: http://llvm.org/viewvc/llvm-project?rev=46113&view=rev
Log:
DAE bug fix. Don't lose parameter attributes on vararg arguments.
Modified:
llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
Modified: llvm/trunk/lib
Author: tbrethou
Date: Wed Jan 16 23:09:49 2008
New Revision: 46114
URL: http://llvm.org/viewvc/llvm-project?rev=46114&view=rev
Log:
Creating 2.2 release branch
Added:
llvm/branches/release_22/
- copied from r46113, llvm/trunk/
___
llvm-commi
Author: tbrethou
Date: Wed Jan 16 23:11:03 2008
New Revision: 46115
URL: http://llvm.org/viewvc/llvm-project?rev=46115&view=rev
Log:
Creating 2.2 release branch.
Added:
llvm-gcc-4.0/branches/release_22/
- copied from r46114, llvm-gcc-4.0/trunk/
_
Author: tbrethou
Date: Wed Jan 16 23:11:31 2008
New Revision: 46116
URL: http://llvm.org/viewvc/llvm-project?rev=46116&view=rev
Log:
Creating 2.2 release branch.
Added:
llvm-gcc-4.2/branches/release_22/
- copied from r46115, llvm-gcc-4.2/trunk/
_
Author: tbrethou
Date: Wed Jan 16 23:12:22 2008
New Revision: 46117
URL: http://llvm.org/viewvc/llvm-project?rev=46117&view=rev
Log:
Creating 2.2 release branch.
Added:
test-suite/branches/release_22/
- copied from r46116, test-suite/trunk/
_
Author: tbrethou
Date: Wed Jan 16 23:57:59 2008
New Revision: 46120
URL: http://llvm.org/viewvc/llvm-project?rev=46120&view=rev
Log:
Update license for current year.
Modified:
llvm/trunk/LICENSE.TXT
Modified: llvm/trunk/LICENSE.TXT
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/LICENSE
Author: tbrethou
Date: Thu Jan 17 00:01:52 2008
New Revision: 46121
URL: http://llvm.org/viewvc/llvm-project?rev=46121&view=rev
Log:
Update for current year.
Modified:
llvm/branches/release_22/LICENSE.TXT
llvm/branches/release_22/autoconf/configure.ac
llvm/branches/release_22/configur
Author: tbrethou
Date: Thu Jan 17 00:05:34 2008
New Revision: 46122
URL: http://llvm.org/viewvc/llvm-project?rev=46122&view=rev
Log:
Set version to 2.2
Modified:
test-suite/branches/release_22/autoconf/configure.ac
test-suite/branches/release_22/configure
Modified: test-suite/branches/re
Author: tbrethou
Date: Thu Jan 17 00:08:49 2008
New Revision: 46123
URL: http://llvm.org/viewvc/llvm-project?rev=46123&view=rev
Log:
Update version to 2.3svn
Modified:
test-suite/trunk/autoconf/configure.ac
test-suite/trunk/configure
Modified: test-suite/trunk/autoconf/configure.ac
URL:
Author: lattner
Date: Thu Jan 17 00:54:09 2008
New Revision: 46124
URL: http://llvm.org/viewvc/llvm-project?rev=46124&view=rev
Log:
add testcase that has been sitting in my tree for awhile.
Added:
llvm/trunk/test/CodeGen/Generic/v-split.ll
Added: llvm/trunk/test/CodeGen/Generic/v-split.ll
UR
Author: lattner
Date: Thu Jan 17 01:00:52 2008
New Revision: 46125
URL: http://llvm.org/viewvc/llvm-project?rev=46125&view=rev
Log:
* Introduce a new SelectionDAG::getIntPtrConstant method
and switch various codegen pieces and the X86 backend over
to using it.
* Add some comments to Selection
Author: lattner
Date: Thu Jan 17 01:20:38 2008
New Revision: 46126
URL: http://llvm.org/viewvc/llvm-project?rev=46126&view=rev
Log:
code cleanups, no functionality change.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.
Author: evancheng
Date: Thu Jan 17 01:26:31 2008
New Revision: 46127
URL: http://llvm.org/viewvc/llvm-project?rev=46127&view=rev
Log:
Test case for varargs parameter attribute issue I just fixed.
Added:
llvm/trunk/test/Transforms/DeadArgElim/2008-01-16-VarargsParamAttrs.ll
Added: llvm/trunk/
Author: lattner
Date: Thu Jan 17 01:30:38 2008
New Revision: 46128
URL: http://llvm.org/viewvc/llvm-project?rev=46128&view=rev
Log:
add some helper methods.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL:
http:
37 matches
Mail list logo