Author: clamb
Date: Tue Dec 11 02:59:05 2007
New Revision: 44858
URL: http://llvm.org/viewvc/llvm-project?rev=44858view=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
Author: clamb
Date: Tue Dec 11 03:31:00 2007
New Revision: 44860
URL: http://llvm.org/viewvc/llvm-project?rev=44860view=rev
Log:
Add information on address space qualifiers for pointer types and global
declarations to the LangRef.
Modified:
llvm/trunk/docs/LangRef.html
Modified:
Author: reid
Date: Tue Dec 11 03:51:22 2007
New Revision: 44862
URL: http://llvm.org/viewvc/llvm-project?rev=44862view=rev
Log:
Add a missing file to the support module.
Added:
support/trunk/include/llvm/Support/StringPool.h
- copied unchanged from r44861,
Author: reid
Date: Tue Dec 11 03:54:37 2007
New Revision: 44863
URL: http://llvm.org/viewvc/llvm-project?rev=44863view=rev
Log:
Add a missing file to the support module.
Added:
support/trunk/lib/Support/StringPool.cpp
- copied unchanged from r44862,
Author: clamb
Date: Tue Dec 11 03:32:07 2007
New Revision: 44861
URL: http://llvm.org/viewvc/llvm-project?rev=44861view=rev
Log:
Update credits.
Modified:
llvm/trunk/CREDITS.TXT
Modified: llvm/trunk/CREDITS.TXT
URL:
Author: baldrick
Date: Tue Dec 11 06:20:47 2007
New Revision: 44864
URL: http://llvm.org/viewvc/llvm-project?rev=44864view=rev
Log:
Fix compilation.
Modified:
llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
Modified: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
URL:
Anton Korobeynikov wrote:
+templateclass Payload
+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
Author: djg
Date: Tue Dec 11 09:41:11 2007
New Revision: 44865
URL: http://llvm.org/viewvc/llvm-project?rev=44865view=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
Author: djg
Date: Tue Dec 11 09:50:23 2007
New Revision: 44866
URL: http://llvm.org/viewvc/llvm-project?rev=44866view=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
Author: djg
Date: Tue Dec 11 09:55:52 2007
New Revision: 44867
URL: http://llvm.org/viewvc/llvm-project?rev=44867view=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,
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?
Another
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.
A lot of
Author: wmat
Date: Tue Dec 11 11:46:25 2007
New Revision: 44868
URL: http://llvm.org/viewvc/llvm-project?rev=44868view=rev
Log:
Use correct member access operator.
(my test commit as well)
Modified:
llvm/trunk/include/llvm/ADT/GraphTraits.h
Modified:
Author: sampo
Date: Tue Dec 11 12:06:14 2007
New Revision: 44869
URL: http://llvm.org/viewvc/llvm-project?rev=44869view=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:
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
Author: void
Date: Tue Dec 11 12:45:11 2007
New Revision: 44871
URL: http://llvm.org/viewvc/llvm-project?rev=44871view=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 the
Author: void
Date: Tue Dec 11 13:17:04 2007
New Revision: 44873
URL: http://llvm.org/viewvc/llvm-project?rev=44873view=rev
Log:
- Update the virtual reg to machine instruction map when hoisting.
- Fix subtle bug when creating initially creating this map.
Modified:
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 in the world did this work without this?!
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
Author: resistor
Date: Tue Dec 11 14:12:11 2007
New Revision: 44877
URL: http://llvm.org/viewvc/llvm-project?rev=44877view=rev
Log:
More progress on StrongPHIElimination. Now we actually USE the DomForest!
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified:
Author: asl
Date: Tue Dec 11 15:55:38 2007
New Revision: 44880
URL: http://llvm.org/viewvc/llvm-project?rev=44880view=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
Author: dpatel
Date: Tue Dec 11 17:17:57 2007
New Revision: 44891
URL: http://llvm.org/viewvc/llvm-project?rev=44891view=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:
Author: void
Date: Tue Dec 11 17:27:51 2007
New Revision: 44892
URL: http://llvm.org/viewvc/llvm-project?rev=44892view=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:
Author: void
Date: Tue Dec 11 16:22:22 2007
New Revision: 44881
URL: http://llvm.org/viewvc/llvm-project?rev=44881view=rev
Log:
Simplify slightly.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL:
Author: evancheng
Date: Tue Dec 11 17:36:57 2007
New Revision: 44894
URL: http://llvm.org/viewvc/llvm-project?rev=44894view=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
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!
div class=doc_code
pre
[EMAIL PROTECTED] = constant float 1.0 addrspace(5), section foo, align 4
Is there a comma after 1.0?
On Dec 11, 2007, at 12:59 AM, Christopher Lamb wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=44858view=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 C
Author: dannyb
Date: Tue Dec 11 18:37:04 2007
New Revision: 44895
URL: http://llvm.org/viewvc/llvm-project?rev=44895view=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=44896view=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:
Author: gordon
Date: Tue Dec 11 19:04:30 2007
New Revision: 44899
URL: http://llvm.org/viewvc/llvm-project?rev=44899view=rev
Log:
Add (very basic) bindings for ModuleProvider.
Modified:
llvm/trunk/bindings/ocaml/llvm/llvm.ml
llvm/trunk/bindings/ocaml/llvm/llvm.mli
Author: resistor
Date: Tue Dec 11 19:25:08 2007
New Revision: 44902
URL: http://llvm.org/viewvc/llvm-project?rev=44902view=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.
:-)
Author: void
Date: Tue Dec 11 19:51:58 2007
New Revision: 44903
URL: http://llvm.org/viewvc/llvm-project?rev=44903view=rev
Log:
Bit masks conflicted. Needed to bump them by one.
Modified:
llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Modified:
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!
div class=doc_code
pre
[EMAIL PROTECTED] = constant float 1.0 addrspace(5),
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=44858view=rev
Log:
Implement address space attribute for LLVM pointer types. Address
spaces are
regions of memory that have a target specific
Author: evancheng
Date: Tue Dec 11 20:53:41 2007
New Revision: 44905
URL: http://llvm.org/viewvc/llvm-project?rev=44905view=rev
Log:
Don't muck with phi nodes; bug fixes.
Modified:
llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
Modified:
Author: pingbak
Date: Tue Dec 11 20:38:28 2007
New Revision: 44904
URL: http://llvm.org/viewvc/llvm-project?rev=44904view=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:
Author: lattner
Date: Tue Dec 11 21:56:54 2007
New Revision: 44907
URL: http://llvm.org/viewvc/llvm-project?rev=44907view=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
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=44905view=rev
Log:
Don't muck with phi nodes; bug fixes.
Hey Evan, testcase please :)
-Chris
Modified:
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!
div class=doc_code
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
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 addrspace(1)* addrspace(2)*
What
Author: sheng
Date: Tue Dec 11 22:55:43 2007
New Revision: 44910
URL: http://llvm.org/viewvc/llvm-project?rev=44910view=rev
Log:
Fixed PR1629.
Make lli interpreter correctly call external functions sin()/cos(),
__cxa_guard_acquire() and __cxa_guard_release().
Added:
URL: http://llvm.org/viewvc/llvm-project?rev=44910view=rev
Log:
Fixed PR1629.
Make lli interpreter correctly call external functions sin()/cos(),
__cxa_guard_acquire() and __cxa_guard_release().
#include cmath
+#include cxxabi.h
using std::vector;
hi Sheng,
What provides this
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 clients to
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 example above would then be:
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:
=
=
---
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)
+++
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.
Suppose, we
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
Author: evancheng
Date: Wed Dec 12 00:45:40 2007
New Revision: 44921
URL: http://llvm.org/viewvc/llvm-project?rev=44921view=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:
@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 to
accept
Author: evancheng
Date: Wed Dec 12 01:55:34 2007
New Revision: 44929
URL: http://llvm.org/viewvc/llvm-project?rev=44929view=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
54 matches
Mail list logo