Camil Demetrescu  over 8 years ago

Commit id: f43206c8b5e6deb0c1aad330b2046a908a9db3c3

deletions | additions      

       

\fi  %\subsection{Example}  To explain how the OSR approach of \mysection\ref{se:overview} can be implemented in LLVM, LLVM  we consider the a  simple example of running example, shown  \myfigure\ref{fi:isord-example}. Function {\tt isord} checks whether an array of numbers is ordered according to some criterion specified by a comparator. The scenario we explore is profile-driven optimization, where we dynamically divert control to a faster version if the number of iterations exceeds a certain threshold. \ifdefined\noauthorea  \begin{figure}[t]