[clang] [llvm] [mlir] [AMDGPU] [ROCDL] Added Intrinsics for smed, umed, to support ISA instructions from ROCDL (PR #157748)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 07:09:29 PDT 2025
================
@@ -1174,6 +1224,128 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
break;
}
+ case Intrinsic::amdgcn_smed3: {
+ Value *Src0 = II.getArgOperand(0);
+ Value *Src1 = II.getArgOperand(1);
+ Value *Src2 = II.getArgOperand(2);
+
----------------
arsenm wrote:
This code is untested and these intrinsics are not universally supported
https://github.com/llvm/llvm-project/pull/157748
More information about the llvm-commits
mailing list