File tree 4 files changed +8
-8
lines changed
lib/Conversion/ArithCommon
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);
29
29
30
30
// / Maps arithmetic overflow enum values to LLVM enum values.
31
31
LLVM::IntegerOverflowFlags
32
- convertArithOveflowFlagsToLLVM (arith::IntegerOverflowFlags arithFlags);
32
+ convertArithOverflowFlagsToLLVM (arith::IntegerOverflowFlags arithFlags);
33
33
34
34
// / Creates an LLVM overflow attribute from a given arithmetic overflow
35
35
// / attribute.
36
36
LLVM::IntegerOverflowFlagsAttr
37
- convertArithOveflowAttrToLLVM (arith::IntegerOverflowFlagsAttr flagsAttr);
37
+ convertArithOverflowAttrToLLVM (arith::IntegerOverflowFlagsAttr flagsAttr);
38
38
39
39
// Attribute converter that populates a NamedAttrList by removing the fastmath
40
40
// attribute from the source operation attributes, and replacing it with an
@@ -80,7 +80,7 @@ class AttrConvertOverflowToLLVM {
80
80
if (arithAttr) {
81
81
StringRef targetAttrName = TargetOp::getIntegerOverflowAttrName ();
82
82
convertedAttr.set (targetAttrName,
83
- convertArithOveflowAttrToLLVM (arithAttr));
83
+ convertArithOverflowAttrToLLVM (arithAttr));
84
84
}
85
85
}
86
86
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def ArithIntegerOverflowFlagsInterface : OpInterface<"ArithIntegerOverflowFlagsI
93
93
}]
94
94
>,
95
95
StaticInterfaceMethod<
96
- /*desc=*/ [{Returns the name of the IntegerOveflowFlagsAttr attribute
96
+ /*desc=*/ [{Returns the name of the IntegerOverflowFlagsAttr attribute
97
97
for the operation}],
98
98
/*returnType=*/ "StringRef",
99
99
/*methodName=*/ "getIntegerOverflowAttrName",
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def IntegerOverflowFlagsInterface : OpInterface<"IntegerOverflowFlagsInterface">
92
92
}]
93
93
>,
94
94
StaticInterfaceMethod<
95
- /*desc=*/ [{Returns the name of the IntegerOveflowFlagsAttr attribute
95
+ /*desc=*/ [{Returns the name of the IntegerOverflowFlagsAttr attribute
96
96
for the operation}],
97
97
/*returnType=*/ "StringRef",
98
98
/*methodName=*/ "getIntegerOverflowAttrName",
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ mlir::arith::convertArithFastMathAttrToLLVM(arith::FastMathFlagsAttr fmfAttr) {
35
35
fmfAttr.getContext (), convertArithFastMathFlagsToLLVM (arithFMF));
36
36
}
37
37
38
- LLVM::IntegerOverflowFlags mlir::arith::convertArithOveflowFlagsToLLVM (
38
+ LLVM::IntegerOverflowFlags mlir::arith::convertArithOverflowFlagsToLLVM (
39
39
arith::IntegerOverflowFlags arithFlags) {
40
40
LLVM::IntegerOverflowFlags llvmFlags{};
41
41
const std::pair<arith::IntegerOverflowFlags, LLVM::IntegerOverflowFlags>
@@ -49,9 +49,9 @@ LLVM::IntegerOverflowFlags mlir::arith::convertArithOveflowFlagsToLLVM(
49
49
return llvmFlags;
50
50
}
51
51
52
- LLVM::IntegerOverflowFlagsAttr mlir::arith::convertArithOveflowAttrToLLVM (
52
+ LLVM::IntegerOverflowFlagsAttr mlir::arith::convertArithOverflowAttrToLLVM (
53
53
arith::IntegerOverflowFlagsAttr flagsAttr) {
54
54
arith::IntegerOverflowFlags arithFlags = flagsAttr.getValue ();
55
55
return LLVM::IntegerOverflowFlagsAttr::get (
56
- flagsAttr.getContext (), convertArithOveflowFlagsToLLVM (arithFlags));
56
+ flagsAttr.getContext (), convertArithOverflowFlagsToLLVM (arithFlags));
57
57
}
You can’t perform that action at this time.
0 commit comments