llvm-tblgen for ARMInstrFormats.td with !if(a,b,c)

Hi,

I wonder whether I can conditionally set AsmString in class sI. For instance, I would like to know whether it is possible to establish some int or bit operator to check whether bits<4> p is 14. What I would like to do is to set AsmString as follows,

class sI<…> :InstARM<…> {

let AsmString = !if(some operator, !strconcat(ppc, “${s}”, asm),
!strconcat(ppc, “${p}${s}”, asm);

}

Thanks,