This patch introduces the poison constant from LLVM in the LLVM IR dialect. It also adds import and export support for it, along with roundtrip tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I suggest to update the commit title / message to "Introduce poison operation" since it is actually an operation in MLIR.
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | ||
---|---|---|
1676 | nit: I think "wrapping an LLVM IR structure type" can be dropped here? | |
mlir/test/Dialect/LLVMIR/roundtrip.mlir | ||
445 | nit: Let's use a bit longer variable names in the tests. Here I would suggest: |
nit: I think "wrapping an LLVM IR structure type" can be dropped here?