File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
lib/Conversion/ArithCommon Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ convertArithFastMathAttrToLLVM(arith::FastMathFlagsAttr fmfAttr);
2929
3030// / Maps arithmetic overflow enum values to LLVM enum values.
3131LLVM::IntegerOverflowFlags
32- convertArithOveflowFlagsToLLVM (arith::IntegerOverflowFlags arithFlags);
32+ convertArithOverflowFlagsToLLVM (arith::IntegerOverflowFlags arithFlags);
3333
3434// / Creates an LLVM overflow attribute from a given arithmetic overflow
3535// / attribute.
3636LLVM::IntegerOverflowFlagsAttr
37- convertArithOveflowAttrToLLVM (arith::IntegerOverflowFlagsAttr flagsAttr);
37+ convertArithOverflowAttrToLLVM (arith::IntegerOverflowFlagsAttr flagsAttr);
3838
3939// Attribute converter that populates a NamedAttrList by removing the fastmath
4040// attribute from the source operation attributes, and replacing it with an
@@ -80,7 +80,7 @@ class AttrConvertOverflowToLLVM {
8080 if (arithAttr) {
8181 StringRef targetAttrName = TargetOp::getIntegerOverflowAttrName ();
8282 convertedAttr.set (targetAttrName,
83- convertArithOveflowAttrToLLVM (arithAttr));
83+ convertArithOverflowAttrToLLVM (arithAttr));
8484 }
8585 }
8686
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def ArithIntegerOverflowFlagsInterface : OpInterface<"ArithIntegerOverflowFlagsI
9393 }]
9494 >,
9595 StaticInterfaceMethod<
96- /*desc=*/ [{Returns the name of the IntegerOveflowFlagsAttr attribute
96+ /*desc=*/ [{Returns the name of the IntegerOverflowFlagsAttr attribute
9797 for the operation}],
9898 /*returnType=*/ "StringRef",
9999 /*methodName=*/ "getIntegerOverflowAttrName",
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def IntegerOverflowFlagsInterface : OpInterface<"IntegerOverflowFlagsInterface">
9292 }]
9393 >,
9494 StaticInterfaceMethod<
95- /*desc=*/ [{Returns the name of the IntegerOveflowFlagsAttr attribute
95+ /*desc=*/ [{Returns the name of the IntegerOverflowFlagsAttr attribute
9696 for the operation}],
9797 /*returnType=*/ "StringRef",
9898 /*methodName=*/ "getIntegerOverflowAttrName",
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ mlir::arith::convertArithFastMathAttrToLLVM(arith::FastMathFlagsAttr fmfAttr) {
3535 fmfAttr.getContext (), convertArithFastMathFlagsToLLVM (arithFMF));
3636}
3737
38- LLVM::IntegerOverflowFlags mlir::arith::convertArithOveflowFlagsToLLVM (
38+ LLVM::IntegerOverflowFlags mlir::arith::convertArithOverflowFlagsToLLVM (
3939 arith::IntegerOverflowFlags arithFlags) {
4040 LLVM::IntegerOverflowFlags llvmFlags{};
4141 const std::pair<arith::IntegerOverflowFlags, LLVM::IntegerOverflowFlags>
@@ -49,9 +49,9 @@ LLVM::IntegerOverflowFlags mlir::arith::convertArithOveflowFlagsToLLVM(
4949 return llvmFlags;
5050}
5151
52- LLVM::IntegerOverflowFlagsAttr mlir::arith::convertArithOveflowAttrToLLVM (
52+ LLVM::IntegerOverflowFlagsAttr mlir::arith::convertArithOverflowAttrToLLVM (
5353 arith::IntegerOverflowFlagsAttr flagsAttr) {
5454 arith::IntegerOverflowFlags arithFlags = flagsAttr.getValue ();
5555 return LLVM::IntegerOverflowFlagsAttr::get (
56- flagsAttr.getContext (), convertArithOveflowFlagsToLLVM (arithFlags));
56+ flagsAttr.getContext (), convertArithOverflowFlagsToLLVM (arithFlags));
5757}
You can’t perform that action at this time.
0 commit comments