[all-commits] [llvm/llvm-project] d54e44: [mlir][LLVMIR] Allow !llvm.ptr<ptr> operands in at...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Mon Jun 26 01:40:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d54e447848e9e2b6410b22587f4179f2bc7a28bc
https://github.com/llvm/llvm-project/commit/d54e447848e9e2b6410b22587f4179f2bc7a28bc
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/test/Dialect/LLVMIR/invalid.mlir
Log Message:
-----------
[mlir][LLVMIR] Allow !llvm.ptr<ptr> operands in atomicrmw xchg op.
Previously, llvm.atomicrmw only allowed operands that are pointers to
LLVM floats or integers. However, according to the LLVM IR Language
Reference, that op allows pointer to pointer operands in its `xchg`
mode. This patch allows those operands also in MLIR's LLVM dialect and
adapts the tests accordingly.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D153747
More information about the All-commits
mailing list