Skip to content

Commit

Permalink
[flang] fix evaluate::Expr hashing in lowering (#95079)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanPerier authored Jun 12, 2024
1 parent 5989450 commit 1754651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/include/flang/Lower/Support/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ class IsEqualEvaluateExpr {
return std::visit(
[&](const auto &p, const auto &q) { return isEqual(p, q); },
x.parent(), y.parent()) &&
isEqual(x.lower(), y.lower()) && isEqual(x.lower(), y.lower());
isEqual(x.lower(), y.lower()) && isEqual(x.upper(), y.upper());
}
static bool isEqual(const Fortran::evaluate::StaticDataObject::Pointer &x,
const Fortran::evaluate::StaticDataObject::Pointer &y) {
Expand Down

0 comments on commit 1754651

Please sign in to comment.