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

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 14:27:22 PDT 2018


kparzysz added a comment.

Wouldn't it be better to have this as a TII hook?  There are instructions like "or reg, 0" or "add reg, 0" that are effectively copies, but only with specific operands.


https://reviews.llvm.org/D45204





More information about the llvm-commits mailing list