<p dir="ltr">> That'd be ideal, yes.  When the client runs llc, is it going to run it<br>
> at a fixed or client determined optimization level or one specified by<br>
> metadata that follows the code?</p>
<p dir="ltr">You mean for PNaCl? The developer can run LLVM's optimizations on his machine and generate a pexe. The pexe and manifest are then served to users, and this manifest specifies which optimization level to use to translate the pexe to a nexe on user's devices. </p>

<p dir="ltr">You can therefore choose between SelectionDAG and FastISel (fast code or fast translation) on the user's device without giving up all performance because the non-target-specific optimizations have been executed already. </p>

<p dir="ltr">This is something that we've benchmarked fairly closely and plan to improve. </p>