[PATCH] D67601: TLI: Remove DAG argument from getRegisterByName

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 19:30:30 PDT 2019


arsenm created this revision.
arsenm added reviewers: aemerson, aditya_nandakumar, bogner, paquette, craig.topper, rengolin.
Herald added subscribers: Jim, jsji, atanasyan, MaskRay, fedor.sergeev, kbarton, nhaehnle, wdng, jvesely, nemanjai, sdardis, dylanmckay, jyknight.
arsenm added a child revision: D67602: GlobalISel: Handle llvm.read_register.

Replace with the MachineFunction. X86 is the only user, and only uses
it for the function. This removes one obstacle from using this in
GlobalISel. The other is the more tolerable EVT argument.

      

The X86 use of the function seems questionable to me. It checks hasFP,
before frame lowering.


https://reviews.llvm.org/D67601

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  lib/Target/AVR/AVRISelLowering.cpp
  lib/Target/AVR/AVRISelLowering.h
  lib/Target/Hexagon/HexagonISelLowering.cpp
  lib/Target/Hexagon/HexagonISelLowering.h
  lib/Target/Lanai/LanaiISelLowering.cpp
  lib/Target/Lanai/LanaiISelLowering.h
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  lib/Target/Sparc/SparcISelLowering.cpp
  lib/Target/Sparc/SparcISelLowering.h
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67601.220267.patch
Type: text/x-patch
Size: 20119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190916/9ff9b6e4/attachment-0001.bin>


More information about the llvm-commits mailing list