unable to match FrameIndex<1>

Hi there,

I have a mem address pattern basically copied from Sparc:

def ADDRri : ComplexPattern<iPTR, 2, “SelectADDRri”, [frameindex],[]>

It can match FrameIndex<0> but was unable to match FrameIndex<1>. What is the difference between the two? How to match FrameIndex<1>?

Thanks,
Xiaochu