[all-commits] [llvm/llvm-project] bb94d3: [flang] Fix simplify intrinsic for count not check...

SachaBallantyne via All-commits all-commits at lists.llvm.org
Mon Jan 30 04:24:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb94d33aac2a617a762d0662648f8ec496c4c364
      https://github.com/llvm/llvm-project/commit/bb94d33aac2a617a762d0662648f8ec496c4c364
  Author: Sacha Ballantyne <Sacha.Ballantyne at arm.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  -----------
  [flang] Fix simplify intrinsic for count not checking for rank = 0 properly

Simple fix to check for rank in the same way as other intrinsics to allow
runtime count to take over when dealing with unknown dimension arrays.

Fixes #60356

Reviewed By: Leporacanthicus

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




More information about the All-commits mailing list