Skip to content

Commit

Permalink
AMDGPU/GlobalISel: Select set.inactive intrinsic
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D84407
  • Loading branch information
petar-avramovic committed Jul 24, 2020
1 parent 14d3cef commit 47bd41d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Expand Up @@ -4019,6 +4019,7 @@ AMDGPURegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
case Intrinsic::amdgcn_wwm:
case Intrinsic::amdgcn_wqm:
case Intrinsic::amdgcn_softwqm:
case Intrinsic::amdgcn_set_inactive:
return getDefaultMappingAllVGPR(MI);
case Intrinsic::amdgcn_kernarg_segment_ptr:
case Intrinsic::amdgcn_s_getpc:
Expand Down
@@ -0,0 +1 @@
; RUN: llc -global-isel -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs < %S/../llvm.amdgcn.set.inactive.ll | FileCheck -check-prefix=SI -check-prefix=GCN %S/../llvm.amdgcn.set.inactive.ll

0 comments on commit 47bd41d

Please sign in to comment.