equal
deleted
inserted
replaced
44 if_icmpge label |
44 if_icmpge label |
45 \end{lstlisting} |
45 \end{lstlisting} |
46 |
46 |
47 |
47 |
48 \item What does the following LLVM function calculate. Give the |
48 \item What does the following LLVM function calculate. Give the |
|
49 expression |
49 |
50 |
50 \begin{lstlisting}[language=LLVM,numbers=none] |
51 \begin{lstlisting}[language=LLVM,numbers=none] |
51 define i32 @foo(i32 %a, i32 %b) { |
52 define i32 @foo(i32 %a, i32 %b) { |
52 %1 = mul i32 %a, %a |
53 %1 = mul i32 %a, %a |
53 %2 = mul i32 %a, 2 |
54 %2 = mul i32 %a, 2 |