[all-commits] [llvm/llvm-project] ac892c: [OMPIRBuilder] Add support for simdlen clause

arnamoy10 via All-commits all-commits at lists.llvm.org
Mon Jul 11 10:25:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac892c70a456a443ef5d52ec886b4b6b0fae9244
      https://github.com/llvm/llvm-project/commit/ac892c70a456a443ef5d52ec886b4b6b0fae9244
  Author: Prabhdeep Singh Soni <prabhdeep.singh.soni2 at huawei.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/test/OpenMP/irbuilder_simd.cpp
    A clang/test/OpenMP/irbuilder_simdlen.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M llvm/utils/UpdateTestChecks/common.py
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [OMPIRBuilder] Add support for simdlen clause

This patch adds OMPIRBuilder support for the simdlen clause for the
simd directive. It uses the simdlen support in OpenMPIRBuilder when
it is enabled in Clang. Simdlen is lowered by OpenMPIRBuilder by
generating the loop.vectorize.width metadata.

Reviewed By: jdoerfert, Meinersbur

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




More information about the All-commits mailing list