[all-commits] [llvm/llvm-project] 04b185: [flang] Cleanup of NYI messages (#73740)

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Wed Nov 29 09:20:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04b185302be963c3c6399b2284c2ec75eb81b6cf
      https://github.com/llvm/llvm-project/commit/04b185302be963c3c6399b2284c2ec75eb81b6cf
  Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
    M flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
    M flang/lib/Optimizer/Builder/Runtime/Transformational.cpp
    M flang/lib/Optimizer/CodeGen/Target.cpp
    M flang/runtime/character.cpp
    M flang/runtime/descriptor-io.h
    M flang/runtime/random.cpp
    M flang/runtime/tools.cpp
    M flang/runtime/transformational.cpp
    M flang/test/Lower/Intrinsics/missing-math-runtime.f90

  Log Message:
  -----------
  [flang] Cleanup of NYI messages (#73740)

This update makes the user visible messages relating to features that
are not yet implemented be more consistent. I also cleaned up some of
the code.

For NYI messages that refer to intrinsics, I made sure the the message
begins with "not yet implemented: intrinsic:" to make them easier to
recognize.

I created some utility functions for NYI reporting that I put into
.../include/Optimizer/Support/Utils.h. These mainly convert MLIR types
to their Fortran equivalents.

I converted the NYI code to use the newly created utility functions.




More information about the All-commits mailing list