Define llvm.trap, llvm.debugtrap, and llvm.ubsantrap intrinsics in the
llvm dialect.
Signed-off-by: Victor Perez <victor.perez@codeplay.com>
Paths
| Differential D149574
[mlir][llvm] Add trap intrinsics to the dialect ClosedPublic Authored by victor-eds on May 1 2023, 1:35 AM.
Details Summary Define llvm.trap, llvm.debugtrap, and llvm.ubsantrap intrinsics in the Signed-off-by: Victor Perez <victor.perez@codeplay.com>
Diff Detail
Event TimelineComment Actions LGTM modulo nit comment.
This revision is now accepted and ready to land.May 1 2023, 2:06 AM Closed by commit rGb8064c1a039e: [mlir][llvm] Add trap intrinsics to the dialect (authored by victor-eds). · Explain WhyMay 2 2023, 2:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 518655 mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
mlir/test/Target/LLVMIR/Import/intrinsic.ll
mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
|
nit: end comments with a dot here and blow.
Alternatively it may also make sense to put a header comment to group the intrinsics, e.g.
and drop the per intrinsic comments since they are fairly redundant?