[LLVMdev] best way to implement complex addressing modes

Chris Lattner sabre at nondot.org
Thu Sep 7 12:00:26 PDT 2006

On Thu, 7 Sep 2006, Ralph Corderoy wrote:
> I'd have thought PowerPC has some similarities?

PPC just has R+R and R+I addressing modes.  X86 has other crazy things 
that can fold shifts 3 adds and other stuff into the addressing mode.  See 
lib/Target/X86/X86ISelDAGToDAG.cpp:SelectAddr to see it's implementation 
in llvm.



More information about the llvm-dev mailing list