[PATCH] D49913: Make TargetInstrInfo::isCopyInstr return true for regular COPY-instructions

Alexander Ivchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 27 06:06:38 PDT 2018


aivchenk created this revision.
aivchenk added reviewers: NikolaPrica, qcolombet, kparzysz.
Herald added subscribers: atanasyan, sdardis.
Herald added a reviewer: javed.absar.

..Move all target-dependent checks into new isCopyInstrImpl method.

This change allows us to treat MoveReg-type instructions and generic
COPY instruction in the same way


https://reviews.llvm.org/D49913

Files:
  include/llvm/CodeGen/TargetInstrInfo.h
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  lib/Target/ARM/ARMBaseInstrInfo.h
  lib/Target/Mips/Mips16InstrInfo.cpp
  lib/Target/Mips/Mips16InstrInfo.h
  lib/Target/Mips/MipsSEInstrInfo.cpp
  lib/Target/Mips/MipsSEInstrInfo.h
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49913.157673.patch
Type: text/x-patch
Size: 10403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180727/1bed6d72/attachment.bin>


More information about the llvm-commits mailing list