hws/hw09.tex
changeset 649 e83afb44f276
parent 648 36379b038438
child 703 57b3ae5ba5e2
equal deleted inserted replaced
648:36379b038438 649:e83afb44f276
    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