[PATCH] D66138: Let findCommutedOpIndices take const MachineInstr&

Harald van Dijk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 05:12:32 PDT 2019


hvdijk created this revision.
hvdijk added a reviewer: lattner.
Herald added subscribers: llvm-commits, jsji, atanasyan, MaskRay, jrtc27, kbarton, nhaehnle, jvesely, nemanjai, sdardis, arsenm.
Herald added a project: LLVM.

Neither the base implementation of findCommutedOpIndices nor any in-tree
target modifies the instruction passed in and there is no reason why
they would in the future.


Repository:
  rL LLVM

https://reviews.llvm.org/D66138

Files:
  include/llvm/CodeGen/TargetInstrInfo.h
  lib/CodeGen/TargetInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/Mips/MipsInstrInfo.cpp
  lib/Target/Mips/MipsInstrInfo.h
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66138.214808.patch
Type: text/x-patch
Size: 6694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190813/322ccdf6/attachment.bin>


More information about the llvm-commits mailing list