[all-commits] [llvm/llvm-project] d9b84c: [OpenMP] remove usage of std::abs in the new loop ...

vadikp-intel via All-commits all-commits at lists.llvm.org
Thu May 18 19:01:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9b84c2c9d645032094e3db8e5f361d26167c224
      https://github.com/llvm/llvm-project/commit/d9b84c2c9d645032094e3db8e5f361d26167c224
  Author: Vadim Paretsky <b-vadipa at microsoft.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M openmp/runtime/src/kmp_collapse.cpp

  Log Message:
  -----------
  [OpenMP] remove usage of std::abs in the new loop collapse support code

On some platforms, std::abs may inadvertently pull in a math library.
This patch replaces its use in the new loop collapse code with
a no thrills in-situ implementation.

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




More information about the All-commits mailing list