[mlir] (NFC) Clean up bazel and CMake target namesAll dialect targets in bazel have been named *Dialect and all dialecttargets in CMake have been named MLIR*Dialect.
[mlir] Finish replacing OwningRewritePatternList with RewritePatternSetOwningRewritePatternList has been deprecated for ~10 months now, we can removethe leftover using directives at this point.D
[mlir] Finish replacing OwningRewritePatternList with RewritePatternSetOwningRewritePatternList has been deprecated for ~10 months now, we can removethe leftover using directives at this point.Differential Revision: https://reviews.llvm.org/D118287
show more ...
[mlir:OpConversion] Remove the remaing usages of the deprecated matchAndRewrite methodsThis commits updates the remaining usages of the ArrayRef<Value> basedmatchAndRewrite/rewrite methods in favo
[mlir:OpConversion] Remove the remaing usages of the deprecated matchAndRewrite methodsThis commits updates the remaining usages of the ArrayRef<Value> basedmatchAndRewrite/rewrite methods in favor of the new OpAdaptoroverload.Differential Revision: https://reviews.llvm.org/D110360
[mlir] replace llvm.mlir.cast with unrealized_conversion_castThe dialect-specific cast between builtin (ex-standard) types and LLVMdialect types was introduced long time before built-in support fo
[mlir] replace llvm.mlir.cast with unrealized_conversion_castThe dialect-specific cast between builtin (ex-standard) types and LLVMdialect types was introduced long time before built-in support forunrealized_conversion_cast. It has a similar purpose, but is restrictedto compatible builtin and LLVM dialect types, which may hamperprogressive lowering and composition with types from other dialects.Replace llvm.mlir.cast with unrealized_conversion_cast, and drop theoperation that became unnecessary.Also make unrealized_conversion_cast legal by default inLLVMConversionTarget as the majority of convesions using it are partialconversions that actually want the casts to persist in the IR. Thestandard-to-llvm conversion, which is still expected to run last, cleansup the remaining casts standard-to-llvm conversion, which is stillexpected to run last, cleans up the remaining castsReviewed By: nicolasvasilacheDifferential Revision: https://reviews.llvm.org/D105880
[mlir] factor memref-to-llvm lowering out of std-to-llvmAfter the MemRef has been split out of the Standard dialect, theconversion to the LLVM dialect remained as a huge monolithic pass.This is u
[mlir] factor memref-to-llvm lowering out of std-to-llvmAfter the MemRef has been split out of the Standard dialect, theconversion to the LLVM dialect remained as a huge monolithic pass.This is undesirable for the same complexity management reasons as havinga huge Standard dialect itself, and is even more confusing given theexistence of a separate dialect. Extract the conversion of the MemRefdialect operations to LLVM into a separate library and a separateconversion pass.Reviewed By: herhut, silvasDifferential Revision: https://reviews.llvm.org/D105625
[mlir][openacc] Conversion of data operands in acc.parallel to LLVM IR dialectConvert data operands from the acc.parallel operation using the same conversion pattern than D102170.Reviewed By: fty
[mlir][openacc] Conversion of data operands in acc.parallel to LLVM IR dialectConvert data operands from the acc.parallel operation using the same conversion pattern than D102170.Reviewed By: ftynseDifferential Revision: https://reviews.llvm.org/D103337
[mlir][openacc] Conversion of data operands in acc.data to LLVM IR dialectConvert data operands from the acc.data operation using the same conversion pattern than D102170.Reviewed By: ftynseDif
[mlir][openacc] Conversion of data operands in acc.data to LLVM IR dialectConvert data operands from the acc.data operation using the same conversion pattern than D102170.Reviewed By: ftynseDifferential Revision: https://reviews.llvm.org/D103332
[mlir][openacc][NFC] add anonymous namespace around LegalizeDataOpForLLVMTranslation classAdd missing anonymous namespace around LegalizeDataOpForLLVMTranslation class .Reviewed By: rriddleDiff
[mlir][openacc][NFC] add anonymous namespace around LegalizeDataOpForLLVMTranslation classAdd missing anonymous namespace around LegalizeDataOpForLLVMTranslation class .Reviewed By: rriddleDifferential Revision: https://reviews.llvm.org/D102380
[mlir][openacc] Conversion of data operand to LLVM IR dialectAdd a conversion pass to convert higher-level type before translation.This conversion extract meangingful information and pack it into
[mlir][openacc] Conversion of data operand to LLVM IR dialectAdd a conversion pass to convert higher-level type before translation.This conversion extract meangingful information and pack it into a struct thatthe translation (D101504) will be able to understand.Reviewed By: ftynseDifferential Revision: https://reviews.llvm.org/D102170