Displaying 1 result from an estimated 1 matches for "boolvar".
2008 Nov 19
2
[LLVMdev] Legalizing types: when do operands get updated?
The example code:
; ModuleID = 'struct_2.bc'
target datalayout =
"E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128"
target triple = "spu"
@boolvar = internal global i1 false
define void @set_boolvar() nounwind {
entry:
store i1 true, i1* @boolvar, align 16
ret void
}
This gets legalized to:
=== set_boolvar
Initial selection DAG:
SelectionDAG has 7 nodes:
0xe00711c: i32 = Constant <0>
0xcc056f0: ch = EntryToke...