Displaying 1 result from an estimated 1 matches for "bcf0a2bb".
2019 Oct 25
2
Semantics of LLVM IR intermediate variables
Hi all,
This question may sound stupid, but every time I look at the IR, I take
some time to convince myself the following:
The following C source code:
1 int x ;
2 int * p ;
3 p = & x ;
when compiled to LLVM IR using clang generates the following instructions:
1 % x = alloca i32 , align 4
2 % p = alloca i32 * , align 8
3 store i32 * %x , i32 ** %p , align 8
All the local variables in