[flang-commits] [PATCH] D95172: [flang] Remove some needless operations in expr rewriting

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Jan 21 14:41:10 PST 2021


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Expressions emitted to module files and error messages
sometimes contain conversions of integer results of inquiry
intrinsics; these are usually not needed, and can conflict
with "int" in the user's namespace.  Improve folding so that
these conversions don't appear, and do some other clean-up
in adjacent code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95172

Files:
  flang/lib/Evaluate/fold-implementation.h
  flang/test/Semantics/modfile17.f90
  flang/test/Semantics/modfile30.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95172.318319.patch
Type: text/x-patch
Size: 6976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210121/27b68eb0/attachment.bin>


More information about the flang-commits mailing list