[all-commits] [llvm/llvm-project] 94d9b7: [flang] Detect fir.class nested in fir.box as inva...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Mar 15 09:36:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94d9b7ce604ff416a1902cd041f10f4c4a6e72bb
      https://github.com/llvm/llvm-project/commit/94d9b7ce604ff416a1902cd041f10f4c4a6e72bb
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Fir/invalid-types.fir

  Log Message:
  -----------
  [flang] Detect fir.class nested in fir.box as invalid element type

Catch invalid element type in fir.box in the verifier so
it does not propagate later in lowering.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list