[LLVMdev] Support for per-loop pragma
baldrick at free.fr
Wed Jun 2 00:10:19 PDT 2010
> In this way, the pragma handling is quite general (for example, it can
> be used to support frequency hint for a branch, etc).
> And it should be easy for any frontend to generate.
since metadata can be attached to instructions, couldn't you just attach
some metadata containing frequency information directly to the branch
More information about the llvm-dev