Skip to content

Commit 20db049

Browse files
committed
Address review
1 parent 783737e commit 20db049

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ class LLVM_IntRoundIntrOpBase<string func, Type element = LLVM_AnyFloat> :
159159
let assemblyFormat = "`(` operands `)` attr-dict `:` "
160160
"functional-type(operands, results)";
161161
}
162-
class LLVM_IntRoundIntrVecOrFloatOpBase<string func> :
162+
class LLVM_ScalarOrVectorIntRoundIntrOpBase<string func> :
163163
LLVM_IntRoundIntrOpBase<func, LLVM_ScalarOrVectorOf<LLVM_AnyFloat>>;
164-
def LLVM_LroundOp : LLVM_IntRoundIntrVecOrFloatOpBase<"lround">;
164+
def LLVM_LroundOp : LLVM_ScalarOrVectorIntRoundIntrOpBase<"lround">;
165165
def LLVM_LlroundOp : LLVM_IntRoundIntrOpBase<"llround">;
166-
def LLVM_LrintOp : LLVM_IntRoundIntrVecOrFloatOpBase<"lrint">;
167-
def LLVM_LlrintOp : LLVM_IntRoundIntrVecOrFloatOpBase<"llrint">;
166+
def LLVM_LrintOp : LLVM_ScalarOrVectorIntRoundIntrOpBase<"lrint">;
167+
def LLVM_LlrintOp : LLVM_ScalarOrVectorIntRoundIntrOpBase<"llrint">;
168168
def LLVM_BitReverseOp : LLVM_UnaryIntrOpI<"bitreverse">;
169169
def LLVM_ByteSwapOp : LLVM_UnaryIntrOpI<"bswap">;
170170
def LLVM_CountLeadingZerosOp : LLVM_CountZerosIntrOp<"ctlz">;

0 commit comments

Comments
 (0)