Displaying 5 results from an estimated 5 matches for "decl_llvm".
2011 Sep 14
1
[LLVMdev] More assertion failures on gccgo/dragonegg
Hi!
gccgo now trips the assertion in Constants.cpp, line 1318:
assert(!HAS_RTL_P(exp) && "Cache collision with decl_llvm!");
Does it make sense to split WeakVHCache (Cache.cpp) into ConstantCache
and DeclCache?
Thanks!
--
Sanjoy Das
http://playingwithpointers.com
2006 Sep 01
0
[LLVMdev] gfortran: patch, question
...f bounds>, const_p=true) at
> ../../src/gcc/fortran/f95-lang.c:733
This is crashing because make_decl_rtl is an RTL backend specific
function. I haven't looked at the callsite but you probably want
something like this:
#ifndef ENABLE_LLVM
make_decl_rtl (olddecl);
#else
make_decl_llvm (olddecl);
#endif
make_decl_rtl is also sometimes called implicitly by "DECL_RTL". Any uses
of DECL_RTL need to be replaced with DECL_LLVM. If you have questions on
a particular use, I'd be happy to help.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2006 Sep 01
2
[LLVMdev] gfortran: patch, question
Hi, I have a first quick patch and a question. The patch links f951
with g++ when LLVM is enabled. It's at the end of this email.
I wanted to know if I should submit patches with comments around them
like the "APPLE LOCAL LLVM" ones that mark the LLVM-only changes to
the tree. I'd like to make it as easy as possible to apply these, so
let me know any rules I should be following.
2006 Sep 01
3
[LLVMdev] gfortran: patch, question
...ou worry about
the markers.
[snip]
> This is crashing because make_decl_rtl is an RTL backend specific
> function. I haven't looked at the callsite but you probably want
> something like this:
>
> #ifndef ENABLE_LLVM
> make_decl_rtl (olddecl);
> #else
> make_decl_llvm (olddecl);
> #endif
>
> make_decl_rtl is also sometimes called implicitly by "DECL_RTL". Any uses
> of DECL_RTL need to be replaced with DECL_LLVM. If you have questions on
> a particular use, I'd be happy to help.
OK, that makes sense. I should have been able to fig...
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...(Op);
- unsigned Alignment = expr_align(Op) / 8;
+ unsigned Alignment = LV.getAlignment();
EmitAggregateCopy(Target, MemRef(LV.Ptr, Alignment, isVolatile),
TREE_TYPE(exp));
@@ -5885,9 +5896,10 @@ LValue TreeToLLVM::EmitLV_DECL(tree exp)
Value *Decl = DECL_LLVM(exp);
if (Decl == 0) {
if (errorcount || sorrycount) {
- const PointerType *Ty =
- PointerType::getUnqual(ConvertType(TREE_TYPE(exp)));
- return ConstantPointerNull::get(Ty);
+ const Type *Ty = ConvertType(TREE_TYPE(exp));
+ const PointerType *PTy = PointerType:...