Displaying 1 result from an estimated 1 matches for "or_set".
Did you mean:
op_set
2014 Jul 22
2
[LLVMdev] InsertElementInst and ExtractElementInst
...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, index0,
"ins or");
..
Instruction *extract = ExtractElementInst::Create(vector, ch,
"extract"); //where ch takes a value from 0 to 2
instr->replaceAllUsesWith(extract); //where I want to replace the instr
instruction with the instruction from the vector.
I am new in the...