[Mlir-commits] [mlir] [MLIR][LLVM] Remove typed pointers from the LLVM dialect (PR #71285)
Mehdi Amini
llvmlistbot at llvm.org
Tue Dec 5 02:55:36 PST 2023
================
@@ -445,7 +414,7 @@ def LLVM_StoreOp : LLVM_MemAccessOpBase<"store",
let assemblyFormat = [{
(`volatile` $volatile_^)? $value `,` $addr
(`atomic` (`syncscope` `(` $syncscope^ `)`)? $ordering^)?
- attr-dict `:` custom<StoreType>(type($value), type($addr))
+ attr-dict `:` type($value) `,` qualified(type($addr))
----------------
joker-eph wrote:
This is WAI: qualified is a poor default IMO.
For example why would `!llvm` be a better choice here? And even if it is, why shouldn't we express the choice?
Should we even print the type when the address space is the default one? Lot of possible simplifications...
https://github.com/llvm/llvm-project/pull/71285
More information about the Mlir-commits
mailing list