[all-commits] [llvm/llvm-project] a054c8: [flang] Ensure that structure constructors fold pa...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 9 16:10:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a054c882053e63e6fce7b412a93dc7fc228f11fd
      https://github.com/llvm/llvm-project/commit/a054c882053e63e6fce7b412a93dc7fc228f11fd
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M flang/lib/Evaluate/fold.cpp
    A flang/test/Semantics/structconst05.f90

  Log Message:
  -----------
  [flang] Ensure that structure constructors fold parameter references

Structure contructors for instances of parameterized derived types
must have their components' values folded in the context of the values
of the type parameters.

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




More information about the All-commits mailing list