forked from OSchip/llvm-project
AMDGPU/GlobalISel: Account for multiple defs when finding intrinsic ID
llvm-svn: 363578
This commit is contained in:
parent
5d00c3060e
commit
fee1949b35
|
@ -270,8 +270,7 @@ bool AMDGPUInstructionSelector::selectG_INSERT(MachineInstr &I) const {
|
|||
|
||||
bool AMDGPUInstructionSelector::selectG_INTRINSIC(MachineInstr &I,
|
||||
CodeGenCoverage &CoverageInfo) const {
|
||||
unsigned IntrinsicID = I.getOperand(1).getIntrinsicID();
|
||||
|
||||
unsigned IntrinsicID = I.getOperand(I.getNumExplicitDefs()).getIntrinsicID();
|
||||
switch (IntrinsicID) {
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue