]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Avoid getting MRI in every function
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 28 Sep 2019 03:41:13 +0000 (03:41 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 28 Sep 2019 03:41:13 +0000 (03:41 +0000)
commit0f57fef005d9b75747593bca862f2af12c3c5d47
tree8b89c7afe710b74810cbc257e6777c481a75d730
parent44a5d295cb318b1f249135d771386334aad04ff1
AMDGPU/GlobalISel: Avoid getting MRI in every function

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373139 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
lib/Target/AMDGPU/AMDGPUInstructionSelector.h