Displaying 2 results from an estimated 2 matches for "dwcope".
Did you mean:
dwcode
2008 Apr 05
0
[LLVMdev] Problem using 'bitcast'
...}*) )
This is not legal. The distinction here is that the bitcast as an argument is
a constant expression and requires constant arguments, and %loc0 is not constant.
Introducing the temp variable is the "right way" to do this.
- Daniel
----- Original Message ----
From: Dave Cope <dwcope at gmail.com>
To: llvmdev at cs.uiuc.edu
Sent: Friday, April 4, 2008 10:11:30 AM
Subject: [LLVMdev] Problem using 'bitcast'
I have been trying to compile some Llvm code that I generate, and I am running into a problem assembling my ll code. Here is a snippet of the code I am trying to...
2008 Apr 04
0
[LLVMdev] Problem using 'bitcast'
I have been trying to compile some Llvm code that I generate, and I am
running into a problem assembling my ll code. Here is a snippet of the code
I am trying to compile:
%loc0 = alloca i32
call void @llvm.dbg.declare( { }* bitcast(i32* %loc0 to { }*), { }*
bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable1 to { }*) )
I get an error from the second line of code:
Invalid