search for: extract4

Displaying 1 result from an estimated 1 matches for "extract4".

Did you mean: extract
2014 Jul 22
2
[LLVMdev] InsertElementInst and ExtractElementInst
...om a vector I seems that it does not work. This is the part of my IR: %"ins or1" = insertelement <3 x i32> undef, i32 %38, i32 0 %"ins and2" = insertelement <3 x i32> undef, i32 %41, i32 1 %"ins xor3" = insertelement <3 x i32> undef, i32 %43, i32 2 %extract4 = extractelement <3 x i32> undef, i32 %35 ... store i32 %extract4, i32* %46, align 4 The output of my program is different that the expected one, like the extractelement takes an undefined value. The instructions I used are: Instruction *Insert0 = InsertElementInst::Create(vector, Or_set,...