The Standard-to-LLVM dialect convresion has a set of utility classes that
simplify conversions, including patterns that provide one-to-one conversion
operation conversion with optional result packing. Expose these classes in a
public header so that conversions other than Standard-to-LLVM (e.g. vectors, or
LLVM-based intrinsics) could also use them. Since the patterns are implemented
as class templates and in order to keep the code size limited, keep the
implementation private by resorting to op identifiers instead of template-based
builders.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp | ||
---|---|---|
1317 | nit: I forgot to mention a while ago, but all of these should really just be using directives; e.g. using SelectOpLowering = OneToOneConvert...; |
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp | ||
---|---|---|
1317 | Good point! Done in c16c07d4b9adb43065f875176701f9a1f6e67a5e |
nit: I forgot to mention a while ago, but all of these should really just be using directives; e.g.
using SelectOpLowering = OneToOneConvert...;