[all-commits] [llvm/llvm-project] 247bad: [flang][hlfir] probe ultimate intrinsic module pro...

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Jun 30 11:27:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 247bad1671a8229929a584ff0db788cf9e56e02a
      https://github.com/llvm/llvm-project/commit/247bad1671a8229929a584ff0db788cf9e56e02a
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M flang/lib/Lower/ConvertCall.cpp
    M flang/test/Lower/HLFIR/intrinsic-module-procedures.f90

  Log Message:
  -----------
  [flang][hlfir] probe ultimate intrinsic module procedure name

HLFIR lowering was currently hitting errors like "not yet implemented:
intrinsic: z0$iso_c_binding$c_associated_c_ptr". These error were caused
by HLFIR lowering using the name with the full context instead of
the ultimate one.
I do not want to change proc.GetName() because I think it may be best
if it retains the full context for its usages in semantics, so I fixed
the helper to get the name in lowering to HLFIR.

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




More information about the All-commits mailing list