Skip to content
  • Evan Cheng's avatar
    Change instruction description to split OperandList into OutOperandList and · 94b5a80b
    Evan Cheng authored
    InOperandList. This gives one piece of important information: # of results
    produced by an instruction.
    An example of the change:
    def ADD32rr  : I<0x01, MRMDestReg, (ops GR32:$dst, GR32:$src1, GR32:$src2),
                     "add{l} {$src2, $dst|$dst, $src2}",
                     [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>;
    =>
    def ADD32rr  : I<0x01, MRMDestReg, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2),
                     "add{l} {$src2, $dst|$dst, $src2}",
                     [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>;
    
    llvm-svn: 40033
    94b5a80b
Loading