[PATCH] D30115: [RFC] Add MachineInstr::MIFlag parameter to storeRegToStackSlot

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 14:32:04 PST 2017


asb created this revision.
Herald added subscribers: nhaehnle, nemanjai, mehdi_amini, jyknight, arsenm, MatzeB.
Herald added a reviewer: javed.absar.

This patch accompanies the RFC Setting MachineInstr flags through storeRegToStackSlot <http://lists.llvm.org/pipermail/llvm-dev/2017-February/110281.html>, see there for a full description of the problem and motivation.

This patch takes the approach of adding a `MachineInstr::MIFlag` parameter to `storeRegToStackSlot`. In its current state, it is meant to illustrate the proposal. A similar change should be made to `loadRegFromStackSlot`.


https://reviews.llvm.org/D30115

Files:
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/InlineSpiller.cpp
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/CodeGen/RegAllocFast.cpp
  lib/CodeGen/RegisterScavenging.cpp
  lib/CodeGen/TargetInstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  lib/Target/AMDGPU/SIFrameLowering.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  lib/Target/ARM/ARMBaseInstrInfo.h
  lib/Target/ARM/Thumb1InstrInfo.cpp
  lib/Target/ARM/Thumb1InstrInfo.h
  lib/Target/ARM/Thumb2InstrInfo.cpp
  lib/Target/ARM/Thumb2InstrInfo.h
  lib/Target/BPF/BPFInstrInfo.cpp
  lib/Target/BPF/BPFInstrInfo.h
  lib/Target/Hexagon/HexagonFrameLowering.cpp
  lib/Target/Hexagon/HexagonInstrInfo.cpp
  lib/Target/Hexagon/HexagonInstrInfo.h
  lib/Target/Lanai/LanaiInstrInfo.cpp
  lib/Target/Lanai/LanaiInstrInfo.h
  lib/Target/MSP430/MSP430InstrInfo.cpp
  lib/Target/MSP430/MSP430InstrInfo.h
  lib/Target/Mips/Mips16InstrInfo.cpp
  lib/Target/Mips/Mips16InstrInfo.h
  lib/Target/Mips/MipsInstrInfo.h
  lib/Target/Mips/MipsSEFrameLowering.cpp
  lib/Target/Mips/MipsSEInstrInfo.cpp
  lib/Target/Mips/MipsSEInstrInfo.h
  lib/Target/PowerPC/PPCFrameLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/Sparc/SparcInstrInfo.cpp
  lib/Target/Sparc/SparcInstrInfo.h
  lib/Target/SystemZ/SystemZFrameLowering.cpp
  lib/Target/SystemZ/SystemZInstrInfo.cpp
  lib/Target/SystemZ/SystemZInstrInfo.h
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  lib/Target/XCore/XCoreFrameLowering.cpp
  lib/Target/XCore/XCoreInstrInfo.cpp
  lib/Target/XCore/XCoreInstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30115.88947.patch
Type: text/x-patch
Size: 62336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170217/ac6674e8/attachment-0001.bin>


More information about the llvm-commits mailing list