[all-commits] [llvm/llvm-project] e63382: [flang] Allow logical expressions as arguments wit...

David Truby via All-commits all-commits at lists.llvm.org
Mon Aug 14 06:05:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e63382542f0941b550839a226d0e2ad02a9de328
      https://github.com/llvm/llvm-project/commit/e63382542f0941b550839a226d0e2ad02a9de328
  Author: David Truby <David.Truby at arm.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M flang/lib/Semantics/check-call.cpp
    A flang/test/Evaluate/logical-args.f90

  Log Message:
  -----------
  [flang] Allow logical expressions as arguments with changed logical kind

This patch enables logical expressions to be used as arguments when the
default logical kind is changed (e.g. using -fdefault-integer-8) by
converting the type of the logical expression argument to the type of
the dummy argument in the function.

Reviewed By: klausler

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




More information about the All-commits mailing list