We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c482b8f commit bcd08f4Copy full SHA for bcd08f4
mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
@@ -86,7 +86,7 @@ class LLVM_TernarySameArgsIntrOpF<string func, list<Trait> traits = []> :
86
87
class LLVM_CountZerosIntrOp<string func, list<Trait> traits = []> :
88
LLVM_OneResultIntrOp<func, [], [0],
89
- !listconcat([Pure], traits),
+ !listconcat([Pure, SameOperandsAndResultType], traits),
90
/*requiresFastmath=*/0,
91
/*immArgPositions=*/[1], /*immArgAttrNames=*/["is_zero_poison"]> {
92
let arguments = (ins LLVM_ScalarOrVectorOf<AnySignlessInteger>:$in,
0 commit comments