[llvm-dev] llvm ir

Valiant wang via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 10 18:56:14 PST 2015


I want to know if %3 will be used or not in the following code, when I try
to phrase line 36, but I don't how to judge. Anyone knows? Please give me
some help,thanks!

 31 define i32 @main() #0 {
 32   %1 = alloca i32, align 4
 33   %vara = alloca i32, align 4
 34   store i32 0, i32* %1
 35   %2 = load i32* %vara, align 4
 36   %3 = call i32 @func(i32 %2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151111/635b27c9/attachment.html>


More information about the llvm-dev mailing list