[all-commits] [llvm/llvm-project] 62b127: [flang] Fix IsConstantExpr for division expressions

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Jun 4 00:45:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 62b127eef6b37a57a647050b0e123f6ac928215f
      https://github.com/llvm/llvm-project/commit/62b127eef6b37a57a647050b0e123f6ac928215f
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M flang/lib/Evaluate/check-expression.cpp
    M flang/test/Semantics/resolve37.f90

  Log Message:
  -----------
  [flang] Fix IsConstantExpr for division expressions

Summary:
Fortran::evaluate::IsConstantExpr did not check that the numerator
was a constant expression. This patch fixes the issue.

Reviewers: DavidTruby, klausler, schweitz, PeteSteinfeld, jdoerfert, sscalpone

Reviewed By: klausler, PeteSteinfeld, sscalpone

Subscribers: llvm-commits

Tags: #llvm, #flang

Differential Revision: https://reviews.llvm.org/D81096




More information about the All-commits mailing list