4 Commits

Author SHA1 Message Date
Justin Fargnoli
35d55f2894
[NFC][mlir] Reorder declarePromisedInterface() operands (#86628)
Reorder the template operands of `declarePromisedInterface()` to match
`declarePromisedInterfaces()`.
2024-03-27 10:30:17 -07:00
Justin Fargnoli
b43c50490c
[mlir] Declare promised interfaces for the ConvertToLLVM extension (#76341)
This PR adds promised interface declarations for
`ConvertToLLVMPatternInterface` in all the dialects that support the
`ConvertToLLVM` dialect extension.

Promised interfaces allow a dialect to declare that it will have an
implementation of a particular interface, crashing the program if one
isn't provided when the interface is used.
2024-01-08 20:19:18 -08:00
Christian Ulmann
22e2b805ef
[MLIR][UB] Add inliner interface for UB dialect (#67115)
This revision adds an inliner interface to the UB dialect that allows
inlining of `ub.poison` operations.
2023-09-22 14:07:47 +02:00
Ivan Butygin
9dec3fd812 [mlir] Add ub dialect and poison op.
Add new dialect boilerplate and `poison` op definition.

Discussion: https://discourse.llvm.org/t/rfc-poison-semantics-for-mlir/66245/24

Differential Revision: https://reviews.llvm.org/D154248
2023-07-20 11:19:43 +02:00