[all-commits] [llvm/llvm-project] 11c43c: [flang] Fix "not yet implemented" message for CHAR...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Jun 30 09:13:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11c43cd2de5a8f9c152ab6f8967ff0781ec727b7
      https://github.com/llvm/llvm-project/commit/11c43cd2de5a8f9c152ab6f8967ff0781ec727b7
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp

  Log Message:
  -----------
  [flang] Fix "not yet implemented" message for CHARACTER MIN/MAX

The check to see if the arguments for the MIN/MAX intrinsics were of CHARACTER
type was not handling assumed length characters.  In this case, the FIR type is
"!fir.ref<!fir.char<1,?>>".

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

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

Co-authored-by: Peter Steinfeld <psteinfeld at nvidia.com>




More information about the All-commits mailing list