[llvm-dev] [llvm dev] do we have allocator hook to use maximum different registers?

Konstantin Vladimirov via llvm-dev llvm-dev at lists.llvm.org
Tue May 10 13:29:20 PDT 2016


Default register allocator tries to reuse the same registers over and
over again even if register file have a plenty of registers to use.
This creates parasite false dependencies and makes scheduling less

How to instruct allocator (may be override some virtual function in
mine backend?) that it is profitable to use maximum number of
available registers with minimal dependencies? In GCC this option is
known as -frename-registers.

With best regards, Konstantin

More information about the llvm-dev mailing list