search for: getmemencoding

Displaying 2 results from an estimated 2 matches for "getmemencoding".

2018 Sep 28
3
error: expected memory with 32-bit signed offset
...perand_ParseFail; +      } +    } else { +      Error(Parser.getTok().getLoc(), "')' expected"); +      return MatchOperand_ParseFail; +    }    } ----- 8< -------- 8< -------- 8< -------- 8< -------- 8< -------- 8< --- But I have no idea how to handle custom  getMemEncoding: test/MC/Mips/loongson3a/valid.s:32:30: error: expected memory with 32-bit signed offset         gslbx           $2,0($3,$4)                                       ^ I just copy-n-paste  mem_generic  and  getMemEncoding: def gs_mem : Operand<iPTR> {   let PrintMethod = "printMemOpe...
2014 Jun 07
3
[LLVMdev] Load/Store Instruction Error
...anyone help me? include "XXXInstrFormats.td" def simm16 : Operand<i32> { let DecoderMethod = "DecodeSimm16"; } def mem : Operand<i32> { let PrintMethod = "printMemOperand"; let MIOperandInfo = (ops GPRegs, GPRegs); let EncoderMethod = "getMemEncoding"; } def addr : ComplexPattern<i32, 2, "SelectAddr", [frameindex], [SDNPWantParent]>; def LDRAM : FG1<0b000001, (outs GPRegs:$dst), (ins mem:$src), "ldram $dst,$src", [(set GPRegs:$dst, (load addr:$src))]>; def STRAM : FG1<0b000010, (outs), (ins GPRegs:$src,...