[all-commits] [llvm/llvm-project] 139e69: [flang] Simple folding for hlfir.shape_of. (#119649)

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Dec 12 10:38:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 139e69b7bcb05e6ff9db0f373d9180deb341a571
      https://github.com/llvm/llvm-project/commit/139e69b7bcb05e6ff9db0f373d9180deb341a571
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
    M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
    M flang/test/HLFIR/shapeof.fir

  Log Message:
  -----------
  [flang] Simple folding for hlfir.shape_of. (#119649)

This folding makes sure there are no hlfir.shape_of users
of hlfir.elemental - this may enable more InlineElementals matches,
because it is looking for exactly two uses of an hlfir.elemental.



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