[all-commits] [llvm/llvm-project] abaf18: Fix affinity type, handle unexpected iterator loop...

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Mon Mar 9 22:23:52 PDT 2026


  Branch: refs/heads/users/cchen/affinity_iterator_mlir_to_llvm
  Home:   https://github.com/llvm/llvm-project
  Commit: abaf18e16020fc126c4731fa2a3a6a5c7a280377
      https://github.com/llvm/llvm-project/commit/abaf18e16020fc126c4731fa2a3a6a5c7a280377
  Author: Chi Chun, Chen <chichun.chen at hpe.com>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/openmp-iterator.mlir
    M openmp/runtime/src/kmp_tasking.cpp

  Log Message:
  -----------
  Fix affinity type, handle unexpected iterator loop body and accumulate affinity entry for one register call

- Generate kmpTaskAffinityInfoTy based on platform and create a helper
  in OMPIRBuilder so that we can use it in OpenMPToLLVMIRTranslation and
  OMPIRBuilder
- Handle invalid iterator loop body and add unit test
- Accumulate affinity info and only one register call for a task
  construct
- remove `this->` in member fucntion



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