[all-commits] [llvm/llvm-project] 1474e3: [MLIR][NVVM] Derive NVVM_SyncWarpOp from NVVM_Intr...

xys-syx via All-commits all-commits at lists.llvm.org
Thu Apr 2 12:42:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1474e3e4f46550f66ed7ab4c5b2810ffadb630f1
      https://github.com/llvm/llvm-project/commit/1474e3e4f46550f66ed7ab4c5b2810ffadb630f1
  Author: xys-syx <xuyuansui at outlook.com>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M mlir/test/Target/LLVMIR/Import/nvvmir.ll

  Log Message:
  -----------
  [MLIR][NVVM] Derive NVVM_SyncWarpOp from NVVM_IntrOp for import support (#188415)

Change `NVVM_SyncWarpOp` base class from `NVVM_Op` to
`NVVM_IntrOp<"bar.warp.sync">`, which auto-generates `llvmEnumName =
nvvm_bar_warp_sync` and registers it with
`-gen-intr-from-llvmir-conversions` and
`-gen-convertible-llvmir-intrinsics`. This enables LLVM IR to MLIR
import. The hand-written `llvmBuilder` is removed as the default
`LLVM_IntrOpBase` builder is equivalent.



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