[llvm-dev] generating multiple instructions for a single pattern

Nagaraju Mekala via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 2 03:09:30 PST 2018


Hi All,

   I am working on a target which requires to generated two
instructions for a single branch instruction.
ex:
   imm 1
   br r4,0xabcd
   branch address is 0x1abcd, imm has the upper 16 bits and br has
lower 16 bits.

  Can anyone let me know how to write these kind of patterns in the
InstrInfo.td file.

Thanks in Advance,
Nagaraju


More information about the llvm-dev mailing list