[PATCH] D69622: [TII] Use optional destination and source pair as a return value (NFC)

Nikola Prica via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 09:33:59 PDT 2019


NikolaPrica created this revision.
NikolaPrica added reviewers: aprantl, vsk, dstenb.
NikolaPrica added a project: debug-info.
Herald added subscribers: atanasyan, hiraditya, sdardis.
Herald added a project: LLVM.

Refactor usage of isCopyInstrImpl, isCopyInstr and isAddImmediate methods to return optional machine operand pair of destination and source registers.


https://reviews.llvm.org/D69622

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69622.227126.patch
Type: text/x-patch
Size: 22088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191030/d16518c8/attachment.bin>


More information about the llvm-commits mailing list