[llvm-dev] preferring consecutive registers in allocater
Atheel Massalha via llvm-dev
llvm-dev at lists.llvm.org
Tue Aug 7 23:33:26 PDT 2018
Hi,
Im trying to give priority for some machine instruction to
allocate consecutive registers,
I saw some Architectures like ARM is "forcing" some instructions to
use consecutive registers but in my case I do not want to force but to
"prefer", so if it will create spills I wont choose consecutive registers...
any ideas how to do this?
I saw "getRegAllocationHints" function but didnt see how it will help...
seems that I need to create a new Register Allocator by inheriting the
Base Register Allocator...
thanks,
Atheel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180808/f617bfb6/attachment.html>
More information about the llvm-dev
mailing list