[all-commits] [llvm/llvm-project] f32603: [flang-rt] Added IsContiguousUpTo runtime function...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri Mar 14 17:13:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f326036767aaa179daedbdb62b10ad6ddea18e37
      https://github.com/llvm/llvm-project/commit/f326036767aaa179daedbdb62b10ad6ddea18e37
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M flang-rt/lib/runtime/support.cpp
    M flang-rt/unittests/Runtime/Support.cpp

  Log Message:
  -----------
  [flang-rt] Added IsContiguousUpTo runtime function. (#131048)

I want to be able to check if the storage is contiguous
in the innermost dimension, so I decided to add an entry point
that takes `dim` as the number of leading dimensions to check.
It seems that a runtime call might result in less code size
even when `dim` is 1, so here it is.
For opt-for-speed I am going to inline it in FIR.

Depends on #131047.



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