[PATCH] D68175: AMDGPU/GlobalISel: Avoid getting MRI in every function

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 18:39:18 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

Store it in AMDGPUInstructionSelector to avoid boilerplate in nearly
every select function.


https://reviews.llvm.org/D68175

Files:
  lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  lib/Target/AMDGPU/AMDGPUInstructionSelector.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68175.222275.patch
Type: text/x-patch
Size: 43595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190928/10dc0d09/attachment.bin>


More information about the llvm-commits mailing list