[PATCH] D45204: [X86][MIPS][ARM] New machine instruction property 'isMoveReg'

Nikola Prica via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 27 01:25:05 PDT 2018


NikolaPrica added a comment.

Yes. I think that it make sense.  //IsCopyInstr()// currently  supports check target specific instructions, but with that extension it could be used to check more general instructions. The only thing that this extension needs to worry about is proper setting of source and destination operands, but I suppose that all of this instructions that are considered as// IsCopy() //have source as operand 1 and destination as operand 0.


Repository:
  rL LLVM

https://reviews.llvm.org/D45204





More information about the llvm-commits mailing list