Author: clamb
Date: Tue Dec 11 02:59:05 2007
New Revision: 44858
URL: http://llvm.org/viewvc/llvm-project?rev=44858&view=rev
Log:
Implement address space attribute for LLVM pointer types. Address spaces are
regions of memory that have a target specific relationship, as described in the
Embedded
Hi Chris,
> Duncan, this patch gets llvm-gcc to build, but it still doesn't
> answer the big question: why does TargetData contain information
> about the host?
well, it needed to go somewhere. Any suggestions for a better place?
Another possibility is to have a function isWrongEndian in tar
Author: clamb
Date: Tue Dec 11 03:31:00 2007
New Revision: 44860
URL: http://llvm.org/viewvc/llvm-project?rev=44860&view=rev
Log:
Add information on address space qualifiers for pointer types and global
declarations to the LangRef.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk
Author: reid
Date: Tue Dec 11 03:51:22 2007
New Revision: 44862
URL: http://llvm.org/viewvc/llvm-project?rev=44862&view=rev
Log:
Add a missing file to the support module.
Added:
support/trunk/include/llvm/Support/StringPool.h
- copied unchanged from r44861,
llvm/trunk/include/llvm/Supp
Author: reid
Date: Tue Dec 11 03:54:37 2007
New Revision: 44863
URL: http://llvm.org/viewvc/llvm-project?rev=44863&view=rev
Log:
Add a missing file to the support module.
Added:
support/trunk/lib/Support/StringPool.cpp
- copied unchanged from r44862, llvm/trunk/lib/Support/StringPool.cp
Author: clamb
Date: Tue Dec 11 03:32:07 2007
New Revision: 44861
URL: http://llvm.org/viewvc/llvm-project?rev=44861&view=rev
Log:
Update credits.
Modified:
llvm/trunk/CREDITS.TXT
Modified: llvm/trunk/CREDITS.TXT
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/CREDITS.TXT?rev=44861&r1=44
Author: baldrick
Date: Tue Dec 11 06:20:47 2007
New Revision: 44864
URL: http://llvm.org/viewvc/llvm-project?rev=44864&view=rev
Log:
Fix compilation.
Modified:
llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
Modified: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
URL:
http://llvm.org/view
Anton Korobeynikov wrote:
> +template
> +class Trie {
> + class Edge;
> + class Node;
> +
> + class Edge {
> +std::string Label;
> +Node *Parent, *Child;
The Parent field seems to be unused internally by the Trie
implementation. Assuming the Edge interface is invisible for Trie
clients,
Author: djg
Date: Tue Dec 11 09:41:11 2007
New Revision: 44865
URL: http://llvm.org/viewvc/llvm-project?rev=44865&view=rev
Log:
Don't redirect stderr when it isn't needed.
Modified:
llvm/trunk/test/Assembler/2007-04-20-AlignedLoad.ll
llvm/trunk/test/Assembler/2007-04-20-AlignedStore.ll
M
Author: djg
Date: Tue Dec 11 09:50:23 2007
New Revision: 44866
URL: http://llvm.org/viewvc/llvm-project?rev=44866&view=rev
Log:
Use not instead of ignore when an exit status is expected to always
be non-zero.
Modified:
llvm/trunk/test/Assembler/2004-11-28-InvalidTypeCrash.ll
llvm/trunk/te
Author: djg
Date: Tue Dec 11 09:55:52 2007
New Revision: 44867
URL: http://llvm.org/viewvc/llvm-project?rev=44867&view=rev
Log:
Rename these tests to use the appropriate suffixes.
Added:
llvm/trunk/test/C++Frontend/2007-10-01-StructResize.cpp
- copied unchanged from r44792,
llvm/trunk/
On Dec 11, 2007, at 1:25 AM, Duncan Sands wrote:
> Hi Chris,
>
>> Duncan, this patch gets llvm-gcc to build, but it still doesn't
>> answer the big question: why does TargetData contain information
>> about the host?
>
> well, it needed to go somewhere. Any suggestions for a better place?
> Anot
On Dec 11, 2007, at 9:19 AM, Chris Lattner wrote:
>
>> I suppose that plenty
>> of things that autoconf does could also be done in a special
>> function like this,
>> yet they are left to autoconf - I have no idea what the criteria
>> are for doing
>> something via autoconf or via a runtime test.
Author: wmat
Date: Tue Dec 11 11:46:25 2007
New Revision: 44868
URL: http://llvm.org/viewvc/llvm-project?rev=44868&view=rev
Log:
Use correct member access operator.
(my test commit as well)
Modified:
llvm/trunk/include/llvm/ADT/GraphTraits.h
Modified: llvm/trunk/include/llvm/ADT/GraphTraits.
Author: sampo
Date: Tue Dec 11 12:06:14 2007
New Revision: 44869
URL: http://llvm.org/viewvc/llvm-project?rev=44869&view=rev
Log:
Allow the JIT to encode MMX instructions
Modified:
llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
URL:
htt
Hello, Wojciech.
> The Parent field seems to be unused internally by the Trie
> implementation. Assuming the Edge interface is invisible for Trie
> clients, may this field be removed?
The whole Edge is not needed actually. See a list of FIXMEs in the
beginning :)
> I'm not familiar what Trie stru
Author: void
Date: Tue Dec 11 12:45:11 2007
New Revision: 44871
URL: http://llvm.org/viewvc/llvm-project?rev=44871&view=rev
Log:
Checking for "zero operands" during the "CanHoistInst()" method isn't necessary
because those with side effects will be caught by other checks in here.
Also, simplify t
Author: void
Date: Tue Dec 11 13:17:04 2007
New Revision: 44873
URL: http://llvm.org/viewvc/llvm-project?rev=44873&view=rev
Log:
- Update the virtual reg to machine instruction map when hoisting.
- Fix subtle bug when creating initially creating this map.
Modified:
llvm/trunk/lib/CodeGen/Mach
Author: void
Date: Tue Dec 11 13:40:06 2007
New Revision: 44874
URL: http://llvm.org/viewvc/llvm-project?rev=44874&view=rev
Log:
Blark! How in the world did this work without this?!
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
http:/
Author: resistor
Date: Tue Dec 11 14:12:11 2007
New Revision: 44877
URL: http://llvm.org/viewvc/llvm-project?rev=44877&view=rev
Log:
More progress on StrongPHIElimination. Now we actually USE the DomForest!
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/C
Author: asl
Date: Tue Dec 11 15:55:38 2007
New Revision: 44880
URL: http://llvm.org/viewvc/llvm-project?rev=44880&view=rev
Log:
Remove Trie::Edge class. Now edge labels are stored into nodes itself.
Modified:
llvm/trunk/include/llvm/ADT/Trie.h
Modified: llvm/trunk/include/llvm/ADT/Trie.h
URL
Author: dpatel
Date: Tue Dec 11 17:17:57 2007
New Revision: 44891
URL: http://llvm.org/viewvc/llvm-project?rev=44891&view=rev
Log:
Do not emit pending decls twice.
This fixes PR1805.
Added:
llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/init/llvm-convert-1.C
Modified:
llvm-gcc-4.2/trunk/gcc/llvm
Author: void
Date: Tue Dec 11 17:27:51 2007
New Revision: 44892
URL: http://llvm.org/viewvc/llvm-project?rev=44892&view=rev
Log:
Need to grow the indexed map. Added debug statements.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
http:
Author: void
Date: Tue Dec 11 16:22:22 2007
New Revision: 44881
URL: http://llvm.org/viewvc/llvm-project?rev=44881&view=rev
Log:
Simplify slightly.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
http://llvm.org/viewvc/llvm-project/llvm
Author: evancheng
Date: Tue Dec 11 17:36:57 2007
New Revision: 44894
URL: http://llvm.org/viewvc/llvm-project?rev=44894&view=rev
Log:
If deleting a reload instruction due to reuse (value is available in register R
and reload is targeting R), make sure to invalidate the kill information of the
la
On Dec 11, 2007, at 1:31 AM, Christopher Lamb wrote:
> Add information on address space qualifiers for pointer types and
> global
> declarations to the LangRef.
Nice!
>
>
> [EMAIL PROTECTED] = constant float 1.0 addrspace(5), section "foo", align 4
Is there a comma after 1.0?
-Chris
_
On Dec 11, 2007, at 12:59 AM, Christopher Lamb wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=44858&view=rev
> Log:
> Implement address space attribute for LLVM pointer types. Address
> spaces are
> regions of memory that have a target specific relationship, as
> described in the
> Embed
Author: dannyb
Date: Tue Dec 11 18:37:04 2007
New Revision: 44895
URL: http://llvm.org/viewvc/llvm-project?rev=44895&view=rev
Log:
Changes from Curtis Dunham implementing lazy cycle detection algorithm.
Changes from me implementing different way of representing points-to anything.
Changes from me
Author: evancheng
Date: Tue Dec 11 18:51:06 2007
New Revision: 44896
URL: http://llvm.org/viewvc/llvm-project?rev=44896&view=rev
Log:
Bug fix. Only safe to perform extension uses optimization if the source of
extension is also defined in the same BB as the extension.
Modified:
llvm/trunk/lib
Author: gordon
Date: Tue Dec 11 19:04:30 2007
New Revision: 44899
URL: http://llvm.org/viewvc/llvm-project?rev=44899&view=rev
Log:
Add (very basic) bindings for ModuleProvider.
Modified:
llvm/trunk/bindings/ocaml/llvm/llvm.ml
llvm/trunk/bindings/ocaml/llvm/llvm.mli
llvm/trunk/bindings
Author: resistor
Date: Tue Dec 11 19:25:08 2007
New Revision: 44902
URL: http://llvm.org/viewvc/llvm-project?rev=44902&view=rev
Log:
Forgot to remove a register from the PHI-union after I'd determined that it
interfered with other registers. Seems like that might be a good thing to do.
:-)
Modi
Author: void
Date: Tue Dec 11 19:51:58 2007
New Revision: 44903
URL: http://llvm.org/viewvc/llvm-project?rev=44903&view=rev
Log:
Bit masks conflicted. Needed to bump them by one.
Modified:
llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetInstrIn
On Dec 11, 2007, at 3:54 PM, Chris Lattner wrote:
On Dec 11, 2007, at 1:31 AM, Christopher Lamb wrote:
Add information on address space qualifiers for pointer types and
global
declarations to the LangRef.
Nice!
[EMAIL PROTECTED] = constant float 1.0 addrspace(5), section "foo", align 4
On Dec 11, 2007, at 4:12 PM, Chris Lattner wrote:
On Dec 11, 2007, at 12:59 AM, Christopher Lamb wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=44858&view=rev
Log:
Implement address space attribute for LLVM pointer types. Address
spaces are
regions of memory that have a target specific re
Author: evancheng
Date: Tue Dec 11 20:53:41 2007
New Revision: 44905
URL: http://llvm.org/viewvc/llvm-project?rev=44905&view=rev
Log:
Don't muck with phi nodes; bug fixes.
Modified:
llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.
Author: pingbak
Date: Tue Dec 11 20:38:28 2007
New Revision: 44904
URL: http://llvm.org/viewvc/llvm-project?rev=44904&view=rev
Log:
Correct typo for Linux: s/esp/%rsp/
Modified:
llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp
URL:
http://llvm.org/
Author: lattner
Date: Tue Dec 11 21:56:54 2007
New Revision: 44907
URL: http://llvm.org/viewvc/llvm-project?rev=44907&view=rev
Log:
Fix a bug in my previous patch, thanks to Jay Foad for
pointing this out and correcting the patch!
Modified:
llvm/trunk/lib/Analysis/ConstantFolding.cpp
Modifie
On Dec 11, 2007, at 6:53 PM, Evan Cheng wrote:
> Author: evancheng
> Date: Tue Dec 11 20:53:41 2007
> New Revision: 44905
>
> URL: http://llvm.org/viewvc/llvm-project?rev=44905&view=rev
> Log:
> Don't muck with phi nodes; bug fixes.
Hey Evan, testcase please :)
-Chris
>
> Modified:
>llvm/t
On Dec 11, 2007, at 5:56 PM, Christopher Lamb wrote:
>
> On Dec 11, 2007, at 3:54 PM, Chris Lattner wrote:
>
>> On Dec 11, 2007, at 1:31 AM, Christopher Lamb wrote:
>>> Add information on address space qualifiers for pointer types and
>>> global
>>> declarations to the LangRef.
>>
>> Nice!
>>
>>>
On Dec 11, 2007, at 8:34 PM, Chris Lattner wrote:
On Dec 11, 2007, at 5:56 PM, Christopher Lamb wrote:
On Dec 11, 2007, at 3:54 PM, Chris Lattner wrote:
On Dec 11, 2007, at 1:31 AM, Christopher Lamb wrote:
Add information on address space qualifiers for pointer types and
global
declarati
>> That is a very strong argument to me, but it seems to argue even more
>> strongly for:
>>
>> @G = constant float addrspace(5) 1.0, section "foo", align 4
>>
>> Your example above would then be:
>>
>>> @foo = constant float addrspace(1)* addrspace(2) 1.0
>>
>> which has type:
>>
>>> float addrspa
Author: sheng
Date: Tue Dec 11 22:55:43 2007
New Revision: 44910
URL: http://llvm.org/viewvc/llvm-project?rev=44910&view=rev
Log:
Fixed PR1629.
Make lli interpreter correctly call external functions sin()/cos(),
__cxa_guard_acquire() and __cxa_guard_release().
Added:
llvm/trunk/test/Execution
> URL: http://llvm.org/viewvc/llvm-project?rev=44910&view=rev
> Log:
> Fixed PR1629.
> Make lli interpreter correctly call external functions sin()/cos(),
> __cxa_guard_acquire() and __cxa_guard_release().
> #include
> +#include
> using std::vector;
hi Sheng,
What provides this non-standard hea
>> Making the address space default to zero is convenient, but
>> dangerous. This means that xforms that play with pointers need to be
>> very careful to propagate this info in some cases.
>
> This is true.
>
>> Do you think this is the best way to go?
>
> As opposed to no default value, forcing
On Dec 11, 2007, at 8:36 PM, Chris Lattner wrote:
Making the address space default to zero is convenient, but
dangerous. This means that xforms that play with pointers need
to be
very careful to propagate this info in some cases.
This is true.
Do you think this is the best way to go?
On Dec 11, 2007, at 9:08 PM, Christopher Lamb wrote:
>
> On Dec 11, 2007, at 8:50 PM, Chris Lattner wrote:
>
That is a very strong argument to me, but it seems to argue even
more
strongly for:
@G = constant float addrspace(5) 1.0, section "foo", align 4
Your e
On Dec 11, 2007, at 9:16 PM, Christopher Lamb wrote:
>
> On Dec 11, 2007, at 4:12 PM, Chris Lattner wrote:
>
>> On Dec 11, 2007, at 12:59 AM, Christopher Lamb wrote:
>>
>>> =
>>> =
>>>
>>>
>>> --- llvm/trunk/lib/Bitcode
On Dec 11, 2007, at 8:50 PM, Chris Lattner wrote:
That is a very strong argument to me, but it seems to argue even
more
strongly for:
@G = constant float addrspace(5) 1.0, section "foo", align 4
Your example above would then be:
@foo = constant float addrspace(1)* addrspace(2) 1.0
which
On Dec 11, 2007, at 4:12 PM, Chris Lattner wrote:
On Dec 11, 2007, at 12:59 AM, Christopher Lamb wrote:
=
=
--- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (original)
+++ llvm/trunk/lib/Bitcode/Writer/BitcodeWri
On Dec 9, 2007, at 2:57 PM, Wojciech Matyjewicz wrote:
> Chris Lattner wrote:
>
>> Yep, it looks Gordon was right :). Thanks again Wojtek, I applied
>> the
>> patch. Please close the PR,
>
> Before I close the PR, I would like to discuss one more issue
> discovered
> while working on it.
>
Hi Chris,
2007/12/12, Chris Lattner <[EMAIL PROTECTED]>:
>
> > URL: http://llvm.org/viewvc/llvm-project?rev=44910&view=rev
> > Log:
> > Fixed PR1629.
> > Make lli interpreter correctly call external functions sin()/cos(),
> > __cxa_guard_acquire() and __cxa_guard_release().
> > #include
> > +#inc
On Dec 11, 2007, at 9:16 PM, Chris Lattner wrote:
>
> On Dec 11, 2007, at 9:08 PM, Christopher Lamb wrote:
>
>>
>> On Dec 11, 2007, at 8:50 PM, Chris Lattner wrote:
>>
> That is a very strong argument to me, but it seems to argue even
> more
> strongly for:
>
> @G = constant f
Author: sheng
Date: Wed Dec 12 00:16:47 2007
New Revision: 44914
URL: http://llvm.org/viewvc/llvm-project?rev=44914&view=rev
Log:
Add a guard to cxxabi header as other platform may
not support it.
Modified:
llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Modified: llvm/trunk
On Dec 11, 2007, at 10:12 PM, Zhou Sheng wrote:
Hi Chris,
2007/12/12, Chris Lattner <[EMAIL PROTECTED]>:
> URL: http://llvm.org/viewvc/llvm-project?rev=44910&view=rev
> Log:
> Fixed PR1629.
> Make lli interpreter correctly call external functions sin()/cos(),
> __cxa_guard_acquire() and __cxa_
>>> How horrible would:
>>>
@foo = addrspace(1) external global i32
>>>
>>> be?
>>
>> I like that the order in the decl is the order in the type lots.
>>
>> These now work with the rules being adjusted.
>>
>> @foo = extern_weak global i32 addrspace(1)
>> @foo = external global i32 addrspace(1)
On Dec 11, 2007, at 10:12 PM, Christopher Lamb wrote:
On Dec 11, 2007, at 9:16 PM, Chris Lattner wrote:
On Dec 11, 2007, at 9:08 PM, Christopher Lamb wrote:
On Dec 11, 2007, at 8:50 PM, Chris Lattner wrote:
That is a very strong argument to me, but it seems to argue even
more
strongly
On Dec 11, 2007, at 10:30 PM, Chris Lattner wrote:
How horrible would:
@foo = addrspace(1) external global i32
be?
I like that the order in the decl is the order in the type lots.
These now work with the rules being adjusted.
@foo = extern_weak global i32 addrspace(1)
@foo = external gl
Author: evancheng
Date: Wed Dec 12 00:45:40 2007
New Revision: 44921
URL: http://llvm.org/viewvc/llvm-project?rev=44921&view=rev
Log:
Lower a build_vector with all constants into a constpool load unless it can be
done with a move to low part.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLoweri
>>> @foo = internal global i32 0 addrspace(1)
>>> @foo = weak global i32 0 addrspace(1)
>>> @foo = linkonce global i32 0 addrspace(1)
>>> @foo = appending global i32 0 addrspace(1)
>>> @foo = dllexport global i32 0 addrspace(1)
>>
>> I prefer that too, but I don't see how you're going to get bison
Author: evancheng
Date: Wed Dec 12 01:54:08 2007
New Revision: 44928
URL: http://llvm.org/viewvc/llvm-project?rev=44928&view=rev
Log:
Add a test case for -optimize-ext-uses.
Added:
llvm/trunk/test/CodeGen/X86/opt-ext-uses.ll
Added: llvm/trunk/test/CodeGen/X86/opt-ext-uses.ll
URL:
http://llv
Author: evancheng
Date: Wed Dec 12 01:55:34 2007
New Revision: 44929
URL: http://llvm.org/viewvc/llvm-project?rev=44929&view=rev
Log:
Use shuffles to implement insert_vector_elt for i32, i64, f32, and f64.
Added:
llvm/trunk/test/CodeGen/X86/vec_insert-2.ll
llvm/trunk/test/CodeGen/X86/vec_
61 matches
Mail list logo