mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-05-22 23:16:04 +00:00
AMDGPU/GlobalISel: Account for multiple defs when finding intrinsic ID
llvm-svn: 363578
This commit is contained in:
parent
3240d7297b
commit
db38726b51
@ -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…
x
Reference in New Issue
Block a user