Displaying 3 results from an estimated 3 matches for "cpp_reader".
2008 Feb 16
0
[LLVMdev] linux/x86-64 codegen support
...to work for me:
./cc1 /Users/sabre/pr1711.c -emit-llvm -quiet -O2 -o -
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-
i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-
f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cpp_reader = type opaque
define i32 @_cpp_interpret_identifier(%struct.cpp_reader* %pfile, i8*
%id, i64 %len) nounwind {
entry:
ret i32 undef
}
-Chris
2008 Feb 16
1
[LLVMdev] linux/x86-64 codegen support
...e/pr1711.c -emit-llvm -quiet -O2 -o -
>
> target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-
> i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-
> f80:128:128"
> target triple = "x86_64-unknown-linux-gnu"
> %struct.cpp_reader = type opaque
>
> define i32 @_cpp_interpret_identifier(%struct.cpp_reader* %pfile, i8*
> %id, i64 %len) nounwind {
> entry:
> ret i32 undef
> }
This is what I get with the non-bootstrap version.
Andrew
2008 Feb 16
3
[LLVMdev] linux/x86-64 codegen support
See the bug for a reduction and the gimple trees. validate_arglist
definately is rejecting the arglist in EmitBuiltinAlloca.
(try:
bool TreeToLLVM::EmitBuiltinAlloca(tree exp, Value *&Result) {
tree arglist = TREE_OPERAND(exp, 1);
if (!validate_arglist(arglist, INTEGER_TYPE, VOID_TYPE)) {
debug_tree(arglist);
return false;
}
Value *Amt = Emit(TREE_VALUE(arglist), 0);
Amt =