The conversion is a straightforward one-to-one mapping with optional unrolling
for nD vectors, similarly to other cast operations.
Depends On D107889
Paths
| Differential D107891
[mlir] Add std.bitcast -> llvm.bitcast conversion ClosedPublic Authored by ftynse on Aug 11 2021, 4:24 AM.
Details
Diff Detail
Event TimelineHerald added subscribers: wrengr, Chia-hungDuan, dcaballe and 17 others. · View Herald TranscriptAug 11 2021, 4:24 AM This revision is now accepted and ready to land.Aug 11 2021, 4:50 AM bkramer added a child revision: D107896: [mlir] Make polynomial approximation emit std instead of LLVM ops.Aug 11 2021, 5:15 AM Closed by commit rGa0d8a08e3e8b: [mlir] Add std.bitcast -> llvm.bitcast conversion (authored by ftynse). · Explain WhyAug 11 2021, 7:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 365754 mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
mlir/test/Conversion/StandardToLLVM/convert-nd-vector-to-llvmir.mlir
mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
|