[PATCH] D12199: Add framework for iterative compilation to llvm

Zoran Jovanovic via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 10:59:56 PDT 2016


zoran.jovanovic added a comment.

In order to use iterative compilation algorithm for target different then MIPS it is necessary to implement appropriate function fitness pass that evaluates generated code.  In our patch criteria used is code size and pass is implemented in lib/Target/Mips/MipsFunctionFitness.cpp file.
In case of X86 code size calculation is more complex because of variable-length machine instruction encoding.
We are looking for possibilities to issue more informative error message until architecture is supported.


http://reviews.llvm.org/D12199





More information about the llvm-commits mailing list