summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
diff options
context:
space:
mode:
authorAditya Nandakumar <aditya_nandakumar@apple.com>2018-01-17 19:31:33 +0000
committerAditya Nandakumar <aditya_nandakumar@apple.com>2018-01-17 19:31:33 +0000
commit18b3f9d384f701c8b656f56d012d45afeb5ce6cc (patch)
treef5e551027d068f478bfd889f66c9c71026851075 /llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
parent224879ea4757bf758c0e0bcd2a2e5a6ec71be0f3 (diff)
downloadbcm5719-llvm-18b3f9d384f701c8b656f56d012d45afeb5ce6cc.tar.gz
bcm5719-llvm-18b3f9d384f701c8b656f56d012d45afeb5ce6cc.zip
[GISel] Make constrainSelectedInstRegOperands() available to the legalizer. NFC
https://reviews.llvm.org/D42149 llvm-svn: 322743
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
index 16d240e9619..b7f65c20507 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
@@ -17,6 +17,7 @@
#include "AMDGPURegisterBankInfo.h"
#include "AMDGPURegisterInfo.h"
#include "AMDGPUSubtarget.h"
+#include "llvm/CodeGen/GlobalISel/Utils.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
OpenPOWER on IntegriCloud