llvm-project/mlir/lib/Conversion
River Riddle 8e123ca65f [mlir:Standard] Remove support for creating a `unit` ConstantOp
This is completely unused upstream, and does not really have well defined semantics
on what this is supposed to do/how this fits into the ecosystem. Given that, as part of
splitting up the standard dialect it's best to just remove this behavior, instead of try
to awkwardly fit it somewhere upstream. Downstream users are encouraged to
define their own operations that clearly can define the semantics of this.

This also uncovered several lingering uses of ConstantOp that weren't
updated to use arith::ConstantOp, and worked during conversions because
the constant was removed/converted into something else before
verification.

See https://llvm.discourse.group/t/standard-dialect-the-final-chapter/ for more discussion.

Differential Revision: https://reviews.llvm.org/D118654
2022-02-02 14:45:12 -08:00
..
AffineToStandard [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
ArithmeticToLLVM [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
ArithmeticToSPIRV [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
ArmNeon2dToIntr [mlir][vector][NFC] Split into IR, Transforms and Utils 2022-01-31 19:17:09 +09:00
AsyncToLLVM [async] Get the number of worker threads from the runtime. 2022-01-31 12:06:01 -08:00
BufferizationToMemRef [mlir] Fix BufferizationToMemRef build. 2021-11-30 13:10:54 +01:00
ComplexToLLVM [mlir][complex] Lower complex.constant to LLVM 2022-01-27 13:48:23 +01:00
ComplexToStandard [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
GPUCommon [mlir] Finish replacing OwningRewritePatternList with RewritePatternSet 2022-01-26 23:11:02 -08:00
GPUToNVVM [mlir][NFC] Update AMX/LLVM/NVVM/X86 vector operations to use `hasVerifier` instead of `verifier` 2022-02-02 13:34:29 -08:00
GPUToROCDL [mlir][vector][NFC] Split into IR, Transforms and Utils 2022-01-31 19:17:09 +09:00
GPUToSPIRV [mlir] Convert OpTrait::FunctionLike to FunctionOpInterface 2022-01-18 20:56:53 -08:00
GPUToVulkan Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 22:19:56 +00:00
LLVMCommon [mlir] Refactor ShapedType into an interface 2022-01-12 14:12:09 -08:00
LinalgToLLVM [mlir][linalg] Replace LinalgOps.h and LinalgTypes.h by a single header. 2021-12-15 12:15:03 +00:00
LinalgToSPIRV [mlir][linalg] Replace LinalgOps.h and LinalgTypes.h by a single header. 2021-12-15 12:15:03 +00:00
LinalgToStandard Revert "Revert "[mlir] Purge `linalg.copy` and use `memref.copy` instead."" 2022-02-01 18:21:21 +01:00
MathToLLVM [mlir][Pass] Deprecate FunctionPass in favor of OperationPass<FuncOp> 2022-01-18 19:52:44 -08:00
MathToLibm [mlir][vector][NFC] Split into IR, Transforms and Utils 2022-01-31 19:17:09 +09:00
MathToSPIRV [mlir] Add support for ExpM1 to GLSL/OpenCL SPIRV Backends 2022-01-24 15:38:34 -08:00
MemRefToLLVM Revert "Revert "[mlir] Purge `linalg.copy` and use `memref.copy` instead."" 2022-02-01 18:21:21 +01:00
MemRefToSPIRV [mlir:OpConversionPattern] Add overloads for taking an Adaptor instead of ArrayRef 2021-09-24 17:51:41 +00:00
OpenACCToLLVM [mlir] Finish replacing OwningRewritePatternList with RewritePatternSet 2022-01-26 23:11:02 -08:00
OpenACCToSCF [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
OpenMPToLLVM [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
PDLToPDLInterp [mlir] Make locations required when adding/creating block arguments 2022-01-19 17:35:35 -08:00
ReconcileUnrealizedCasts [mlir] spelling and style changes in ReconcileUnrealizedCasts.cpp. NFC. 2021-09-10 14:09:29 +02:00
SCFToGPU [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
SCFToOpenMP [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
SCFToSPIRV [mlir] Add more missing dependencies after D118062 2022-01-24 22:12:03 -08:00
SCFToStandard [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
SPIRVCommon [mlir][spirv] Add math.fma lowering to spirv 2022-01-19 10:57:05 -08:00
SPIRVToLLVM Apply clang-tidy fixes for performance-for-range-copy to MLIR (NFC) 2022-01-02 22:19:56 +00:00
ShapeToStandard [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
StandardToLLVM [mlir:Standard] Remove support for creating a `unit` ConstantOp 2022-02-02 14:45:12 -08:00
StandardToSPIRV [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
TosaToLinalg [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
TosaToSCF [mlir] Switching accessors to prefixed form (NFC) 2021-12-20 08:03:43 -08:00
TosaToStandard [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
VectorToGPU [mlir][vector][NFC] Split into IR, Transforms and Utils 2022-01-31 19:17:09 +09:00
VectorToLLVM [mlir] Split std.splat into tensor.splat and vector.splat 2022-02-02 14:45:12 -08:00
VectorToROCDL [mlir][vector][NFC] Split into IR, Transforms and Utils 2022-01-31 19:17:09 +09:00
VectorToSCF [mlir] Split std.splat into tensor.splat and vector.splat 2022-02-02 14:45:12 -08:00
VectorToSPIRV [mlir] Split std.splat into tensor.splat and vector.splat 2022-02-02 14:45:12 -08:00
CMakeLists.txt [mlir] Decompose Bufferization Clone operation into Memref Alloc and Copy. 2021-11-30 10:15:56 +01:00
PassDetail.h [MLIR][GPU] Define gpu.printf op and its lowerings 2021-12-09 15:54:31 +00:00