[all-commits] [llvm/llvm-project] 7e5843: [flang] Fixed branch-to-default generation for sel...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri Apr 28 15:55:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e584357ac3319c90fe7311fbb827cdb9fe59320
      https://github.com/llvm/llvm-project/commit/7e584357ac3319c90fe7311fbb827cdb9fe59320
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
    A flang/test/Lower/select-type-2.fir

  Log Message:
  -----------
  [flang] Fixed branch-to-default generation for select_type.

When the default case requires block arguments, they have to be passed
through the cf.br - this piece was missing.

Reviewed By: clementval

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




More information about the All-commits mailing list