[all-commits] [llvm/llvm-project] 47c998: [flang] Improve handling of NULL pointers when fol...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 23 09:23:16 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47c998cc2e3fea8047868c0394b752d9d63c2329
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/fold.cpp
    M flang/lib/Evaluate/tools.cpp

  Log Message:
  [flang] Improve handling of NULL pointers when folding components of named constants

When a component reference to a named constant of derived type should
fold down to NULL() without a MOLD=, do so.

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

More information about the All-commits mailing list