Files
llvm-project/mlir/lib/Interfaces/AlignmentAttrInterface.cpp
jiang1997 4a7d3dfca0 [mlir] Introduce AlignmentAttrOpInterface to expose MaybeAlign (#161440)
Introduce a common interface for operations with alignment attributes
across MemRef, Vector, and SPIRV dialects. The interface exposes
getMaybeAlign() to retrieve alignment as llvm::MaybeAlign.

This is the second part of the PRs addressing issue #155677.

Co-authored-by: Erick Ochoa Lopez <erick.ochoalopez@amd.com>
2025-11-06 14:33:47 -05:00

14 lines
504 B
C++

//===- AlignmentAttrInterface.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "mlir/Interfaces/AlignmentAttrInterface.h"
using namespace mlir;
#include "mlir/Interfaces/AlignmentAttrInterface.cpp.inc"