I am writing a new register allocation pass on llvm. I followed the instructions here http://llvm.org/docs/WritingAnLLVMPass.html#the-machinefunctionpass-class.
The pass is not displayed in llc --help. I changed the greedy allocation algorithm to register by the name "greedier" and built. Even this doesn't seem to be reflecting in llc. Can anyone help?
Are you sure you should be looking in
llc
and notopt
?