[LLVMdev] Problems compiling for new back-end

Anton Korobeynikov anton at korobeynikov.info
Mon Nov 29 05:15:29 PST 2010


Per,

> Compiling with the new (correct) triple, llvm has started taking the
> register arguments and putting them on the stack. Is there an easy way to
> stop this, or do I have to match/rebuild the dag somehow?
Ok.

1. Are you running with optimizations enabled?
2. Have you implemented the necessary hooks inside your
TargetRegisterInfo class? Which will recognize reg-reg copies, loads /
stores to stack slots, etc.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list