Displaying 1 result from an estimated 1 matches for "right_justified".
2014 Apr 17
2
[LLVMdev] More Qs about llvm IR to access struct fields
...4 = load i8* %3
; 3) Use a word number, then shift & mask within:
%5 = getelementptr [ 1 x i32 ]* %STvar i32 0, i32 0 ; {i32*}: &word_number_0
%6 = load i32* %5 ; {i32}: word_number_0
%7 = lshr i32 %6 8 ; {i32}: right_justified
%8 = and i32 %7 0xff ; {i32}: irrelevant_bits_zeroed
Question 1:
Does this choice affect the optimization possibilities?
Now suppose I had provided debug metadata describing the original struct,
and the llvm infrastructure decided to keep STvar.c3 in a hardware...