SuperSodaSea updated this revision to Diff 546962.
SuperSodaSea added a comment.
Update patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154646/new/
https://reviews.llvm.org/D154646
Files:
clang/include/clang/AST/Expr.h
clang/lib/Serialization/ASTWriter.cpp
flang/include/flang/Lower/Support/Utils.h
flang/lib/Evaluate/shape.cpp
mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
openmp/libomptarget/test/lit.cfg
Index: openmp/libomptarget/test/lit.cfg
===================================================================
--- openmp/libomptarget/test/lit.cfg
+++ openmp/libomptarget/test/lit.cfg
@@ -49,7 +49,7 @@
else:
config.environment[name] = value
-# Evalute the environment variable which is a string boolean value.
+# Evaluate the environment variable which is a string boolean value.
def evaluate_bool_env(env):
env = env.lower()
possible_true_values = ["on", "true", "1"]
Index: mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
===================================================================
--- mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
+++ mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
@@ -324,7 +324,7 @@
// MLIR currently does not support dependent interfaces or interface
// inheritance. By construction all ops with StructuredOpInterface must
// implement DestinationStyleOpInterface.
- // TODO: reevalute the need for a cast when a better mechanism exists.
+ // TODO: reevaluate the need for a cast when a better mechanism exists.
return getBlock()->getArguments().take_front(
cast<DestinationStyleOpInterface>(*this->getOperation())
.getNumDpsInputs());
@@ -342,7 +342,7 @@
// MLIR currently does not support dependent interfaces or interface
// inheritance. By construction all ops with StructuredOpInterface must
// implement DestinationStyleOpInterface.
- // TODO: reevalute the need for a cast when a better mechanism exists.
+ // TODO: reevaluate the need for a cast when a better mechanism exists.
return getBlock()->getArguments().take_back(
cast<DestinationStyleOpInterface>(*this->getOperation())
.getNumDpsInits());
@@ -421,7 +421,7 @@
// MLIR currently does not support dependent interfaces or interface
// inheritance. By construction all ops with StructuredOpInterface must
// implement DestinationStyleOpInterface.
- // TODO: reevalute the need for a cast when a better mechanism exists.
+ // TODO: reevaluate the need for a cast when a better mechanism exists.
return *(indexingMaps.begin() +
cast<DestinationStyleOpInterface>(*this->getOperation())
.getNumDpsInputs() +
@@ -442,7 +442,7 @@
// MLIR currently does not support dependent interfaces or interface
// inheritance. By construction all ops with StructuredOpInterface must
// implement DestinationStyleOpInterface.
- // TODO: reevalute the need for a cast when a better mechanism exists.
+ // TODO: reevaluate the need for a cast when a better mechanism exists.
int64_t resultIndex =
opOperand->getOperandNumber() -
cast<DestinationStyleOpInterface>(*this->getOperation())
@@ -807,7 +807,7 @@
// MLIR currently does not support dependent interfaces or interface
// inheritance. By construction all ops with StructuredOpInterface must
// implement DestinationStyleOpInterface.
- // TODO: reevalute the need for a cast when a better mechanism exists.
+ // TODO: reevaluate the need for a cast when a better mechanism exists.
//========================================================================//
int64_t getNumDpsInputs() {
Index: flang/lib/Evaluate/shape.cpp
===================================================================
--- flang/lib/Evaluate/shape.cpp
+++ flang/lib/Evaluate/shape.cpp
@@ -1066,7 +1066,7 @@
result = std::move(result) + std::move(n);
if (context_) {
// Fold during expression creation to avoid creating an expression so
- // large we can't evalute it without overflowing the stack.
+ // large we can't evaluate it without overflowing the stack.
result = Fold(*context_, std::move(result));
}
}
Index: flang/include/flang/Lower/Support/Utils.h
===================================================================
--- flang/include/flang/Lower/Support/Utils.h
+++ flang/include/flang/Lower/Support/Utils.h
@@ -89,7 +89,7 @@
// Fortran::evaluate::Expr are functional values organized like an AST. A
// Fortran::evaluate::Expr is meant to be moved and cloned. Using the front end
// tools can often cause copies and extra wrapper classes to be added to any
-// Fortran::evalute::Expr. These values should not be assumed or relied upon to
+// Fortran::evaluate::Expr. These values should not be assumed or relied upon to
// have an *object* identity. They are deeply recursive, irregular structures
// built from a large number of classes which do not use inheritance and
// necessitate a large volume of boilerplate code as a result.
Index: clang/lib/Serialization/ASTWriter.cpp
===================================================================
--- clang/lib/Serialization/ASTWriter.cpp
+++ clang/lib/Serialization/ASTWriter.cpp
@@ -6004,7 +6004,7 @@
Val |= (ES->HasConstantInitialization ? 2 : 0);
Val |= (ES->HasConstantDestruction ? 4 : 0);
APValue *Evaluated = VD->getEvaluatedValue();
- // If the evaluted result is constant, emit it.
+ // If the evaluated result is constant, emit it.
if (Evaluated && (Evaluated->isInt() || Evaluated->isFloat()))
Val |= 8;
}
Index: clang/include/clang/AST/Expr.h
===================================================================
--- clang/include/clang/AST/Expr.h
+++ clang/include/clang/AST/Expr.h
@@ -566,7 +566,7 @@
SmallVectorImpl<
PartialDiagnosticAt> &Diags);
- /// isPotentialConstantExprUnevaluted - Return true if this expression might
+ /// isPotentialConstantExprUnevaluated - Return true if this expression might
/// be usable in a constant expression in C++11 in an unevaluated context, if
/// it were in function FD marked constexpr. Return false if the function can
/// never produce a constant expression, along with diagnostics describing
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits