Displaying 1 result from an estimated 1 matches for "mb_col".
Did you mean:
b_col
2008 Oct 10
1
[LLVMdev] global constant integer and pointer
...ere in my program, there is a store instruction:
"store i32 %tmp31, i32* @ptr"
it writes %tmp32 into memory, where @ptr pointed to (here: index 64 of value
memory).
- Afterward, another instruction needs to load the integer value '0' from
value memory :
"%tmp17 = mul i32 %mb_col, 0"
It will try to read the value memory at index 64, but it is no more '0' but
now %tmp31. So, the result is not correct !
I do not understand, how llvm handled this case. Anybody known it ?
Thanks for any advice
Quang