[LLVMdev] Dynamically alternating between register allocators
Devang Patel
dpatel at apple.com
Thu Sep 6 08:33:26 PDT 2007
On Sep 5, 2007, at 6:07 PM, Chris Lattner wrote:
> This doesn't necessarily need to be in the passmanager, but I'd like
> to see the code generator grow the ability to codegen an entire
> function multiple times. Ideally, we'd be able to codegen all the way
> to final machineinstrs in multiple configurations and then pick the
> best based on some metric. This would allow lots of interesting
> experiments and allow people willing to wait for really good code to
> get it. Once the "best" codegen for a function is done, the final
> machineinstrs would be sent to the asmprinter or code emitter.
This requires maintaining parallel pass queues in pass manager. Or
use multiple instances of function pass manager for optimization
+codegen and feed them cloned functions.
-
Devang
More information about the llvm-dev
mailing list