mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
AMDGPU/GlobalISel: Fix assert on multi-return side effect intrinsics
llvm.amdgcn.else hits this. llvm-svn: 371812
This commit is contained in:
parent
5ed6e85ff3
commit
f76556c503
@ -731,7 +731,7 @@ bool AMDGPUInstructionSelector::selectG_INTRINSIC_W_SIDE_EFFECTS(
|
||||
MachineFunction *MF = BB->getParent();
|
||||
MachineRegisterInfo &MRI = MF->getRegInfo();
|
||||
|
||||
unsigned IntrinsicID = I.getOperand(0).getIntrinsicID();
|
||||
unsigned IntrinsicID = I.getIntrinsicID();
|
||||
switch (IntrinsicID) {
|
||||
case Intrinsic::amdgcn_exp: {
|
||||
int64_t Tgt = getConstant(MRI.getVRegDef(I.getOperand(1).getReg()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user