Displaying 2 results from an estimated 2 matches for "loc0_void".
2008 Apr 04
0
[LLVMdev] Problem using 'bitcast'
...@llvm.dbg.declare( { }* bitcast(i32* null to { }*), { }*
bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable1 to { }*) )
This code compiles fine, but obviously will not give the end result I want.
My current solution is to introduce a temporary variable like this:
%loc0 = alloca i32
%loc0_void = bitcast i32* %loc0 to { }*
call void @llvm.dbg.declare( { }* %loc0_void, { }* bitcast
(%llvm.dbg.variable.type* @llvm.dbg.variable1 to { }*) )
I would prefer to make the first code snippet work (to avoid adding
temporary variables and cluttering up the ll code). But my workaround is
alr...
2008 Apr 05
0
[LLVMdev] Problem using 'bitcast'
...llvm.dbg.declare( { }* bitcast(i32* null to { }*), { }* bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable1 to { }*) )
This code compiles fine, but obviously will not give the end result I want.
My current solution is to introduce a temporary variable like this:
%loc0 = alloca i32
%loc0_void = bitcast i32* %loc0 to { }*
call void @llvm.dbg.declare( { }* %loc0_void, { }* bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable1 to { }*) )
I would prefer to make the first code snippet work (to avoid adding temporary variables and cluttering up the ll code). But my workaround is al...