[all-commits] [llvm/llvm-project] 59bf9a: [flang] Remove some needless operations in expr re...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jan 22 10:09:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59bf9a89d825c1f23b249e0ce43d8bf7b486a203
      https://github.com/llvm/llvm-project/commit/59bf9a89d825c1f23b249e0ce43d8bf7b486a203
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M flang/lib/Evaluate/fold-implementation.h
    M flang/test/Semantics/modfile17.f90
    M flang/test/Semantics/modfile30.f90

  Log Message:
  -----------
  [flang] Remove some needless operations in expr rewriting

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.

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




More information about the All-commits mailing list