[all-commits] [llvm/llvm-project] 8586d0: [flang] Don't generate empty else blocks (#106618)

vdonaldson via All-commits all-commits at lists.llvm.org
Fri Aug 30 06:07:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8586d0330e36b22496f9ba5ed116bc1aac5a1f28
      https://github.com/llvm/llvm-project/commit/8586d0330e36b22496f9ba5ed116bc1aac5a1f28
  Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/HLFIR/assumed_shape_with_value_keyword.f90
    M flang/test/Lower/HLFIR/select-rank.f90
    M flang/test/Lower/Intrinsics/system_clock.f90
    M flang/test/Lower/OpenMP/master.f90
    M flang/test/Lower/OpenMP/unstructured.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
    M flang/test/Lower/OpenMP/wsloop-variable.f90

  Log Message:
  -----------
  [flang] Don't generate empty else blocks (#106618)

Code lowering always generates fir.if else blocks for source level if
statements, whether needed or not. Change this to only generate else
blocks that are needed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list