Skip to content

Commit 339de5d

Browse files
committed
fix rebase issues
1 parent e08fba5 commit 339de5d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,8 +1265,10 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
12651265
}
12661266
}
12671267

1268-
if (Instruction *Res = hoistLaneIntrinsicThroughOperand(IC, II))
1269-
return Res;
1268+
if (IID != Intrinsic::amdgcn_ds_bpermute) {
1269+
if (Instruction *Res = hoistLaneIntrinsicThroughOperand(IC, II))
1270+
return Res;
1271+
}
12701272

12711273
return std::nullopt;
12721274
}

0 commit comments

Comments
 (0)