[llvm] [RFC][IR] Add llvm.masked.{udiv, sdiv, urem, srem} intrinsics (PR #189705)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 02:20:13 PDT 2026


================
@@ -2641,6 +2641,34 @@ def int_experimental_vector_compress:
               [LLVMMatchType<0>, LLVMScalarOrSameVectorWidth<0, llvm_i1_ty>, LLVMMatchType<0>],
               [IntrNoMem]>;
 
+def int_masked_udiv:
+  DefaultAttrsIntrinsic<[llvm_anyvector_ty],
----------------
lukel97 wrote:

Good point, looks like the reduction intrinsics just use the verifier so updated to reuse that check in 35a495fc6dd9193efded875ee2814677e542a199

https://github.com/llvm/llvm-project/pull/189705


More information about the llvm-commits mailing list