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.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D66138  
Let findCommutedOpIndices take const MachineInstr& ClosedPublic Authored by hvdijk on Aug 13 2019, 5:12 AM. 
Details Summary Neither the base implementation of findCommutedOpIndices nor any in-tree 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 25 2019, 3:22 AM Closed by commit rL372882: [TargetInstrInfo] Let findCommutedOpIndices take const MachineInstr& (authored by RKSimon).  ·  Explain WhySep 25 2019, 7:55 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 214808 include/llvm/CodeGen/TargetInstrInfo.h
 lib/CodeGen/TargetInstrInfo.cpp
 lib/Target/AMDGPU/SIInstrInfo.h
 lib/Target/AMDGPU/SIInstrInfo.cpp
 lib/Target/Mips/MipsInstrInfo.h
 lib/Target/Mips/MipsInstrInfo.cpp
 lib/Target/PowerPC/PPCInstrInfo.h
 lib/Target/PowerPC/PPCInstrInfo.cpp
 lib/Target/X86/X86InstrInfo.h
 lib/Target/X86/X86InstrInfo.cpp
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||