This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix IsConstantExpr for division expressions
ClosedPublic

Authored by jeanPerier on Jun 3 2020, 7:47 AM.

Details

Summary

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

Diff Detail

Event Timeline

jeanPerier created this revision.Jun 3 2020, 7:47 AM
Herald added a project: Restricted Project. · View Herald Transcript
jeanPerier added a project: Restricted Project.
klausler accepted this revision.Jun 3 2020, 10:30 AM

Thanks!

This revision is now accepted and ready to land.Jun 3 2020, 10:30 AM
sscalpone accepted this revision.Jun 3 2020, 12:37 PM
PeteSteinfeld accepted this revision.Jun 3 2020, 2:03 PM

Looks good. Thanks for doing this.

This revision was automatically updated to reflect the committed changes.