[Mlir-commits] [llvm] [mlir] [IR][Verifier] Add element count constraint for intrinsics (PR #231024)
Yingwei Zheng
llvmlistbot at llvm.org
Tue Nov 3 10:48:06 PST 2026
================
@@ -1873,11 +1899,11 @@ def int_umin : DefaultAttrsIntrinsic<
[llvm_anyint_ty], [LLVMMatchType<0>, LLVMMatchType<0>],
[IntrNoMem, IntrSpeculatable, IntrNoCreateUndefOrPoison]>;
def int_scmp : DefaultAttrsIntrinsic<
- [llvm_anyint_ty], [llvm_anyint_ty, LLVMMatchType<1>],
+ [llvm_anyint_same_width_ty<1>], [llvm_anyint_ty, LLVMMatchType<1>],
----------------
dtcxzyw wrote:
`LLVMMatchType` requires an `LLVMAnyType` as the overload type.
https://github.com/llvm/llvm-project/pull/231024
More information about the Mlir-commits
mailing list