llvm-project/mlir/test/Conversion
Lei Zhang b5192cbe50 [mlir][spirv] Fix result type for arith.cmpi/cmpf conversion
We cannot directly use the original result type; instead we need
to deduce it from the converted operand type. This addresses
invalid ops generated from converting single element vectors.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D127574
2022-06-13 13:15:23 -04:00
..
AMDGPUToROCDL [MLIR][AMDGPU] Add AMDGPU dialect, wrappers around raw buffer intrinsics 2022-05-10 14:59:58 +00:00
AffineToStandard [mlir][NFC] Update remaining textual references of un-namespaced `func` operations 2022-04-20 22:17:31 -07:00
ArithmeticToLLVM [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
ArithmeticToSPIRV [mlir][spirv] Fix result type for arith.cmpi/cmpf conversion 2022-06-13 13:15:23 -04:00
AsyncToLLVM [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
BufferizationToMemRef [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
ComplexToLLVM [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
ComplexToLibm [mlir][complex] Lower complex.sin/cos to libm 2022-06-02 10:39:00 +02:00
ComplexToStandard [mlir] Lower complex.power and complex.rsqrt to standard dialect. 2022-06-08 10:53:53 -07:00
ControlFlowToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
FuncToLLVM [mlir] Remove the `type` keyword from type alias definitions 2022-05-16 13:54:02 -07:00
FuncToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
GPUCommon [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
GPUToCUDA [mlir] Change test-gpu-to-cubin to derive from SerializeToBlobPass 2021-03-11 10:42:20 +01:00
GPUToNVVM [mlir][gpu] Move async copy ops to NVGPU and add caching hints 2022-05-10 22:30:24 +00:00
GPUToROCDL [mlir] Move the Builtin FuncOp to the Func dialect 2022-03-16 17:07:03 -07:00
GPUToROCm [mlir] Remove mlir-rocm-runner 2021-03-19 00:24:10 -07:00
GPUToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
GPUToVulkan [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
LinalgToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
MathToLLVM [MLIR][Math] Add round operation 2022-06-08 13:07:39 +02:00
MathToLibm [MLIR][Math] Add round operation 2022-06-08 13:07:39 +02:00
MathToSPIRV [mlir][spirv] Convert math.ctlz to spv.GLSL.FindUMsb 2022-06-13 13:02:37 -04:00
MemRefToLLVM [mlir] translate memref.reshape with static shapes but dynamic dims 2022-06-02 10:00:58 -07:00
MemRefToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
NVGPUToNVVM [mlir][nvvm] Change MMAShapeAttr to AttrDef 2022-06-09 22:14:45 +00:00
OpenACCToLLVM [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
OpenACCToSCF [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
OpenMPToLLVM [OpenMP] Support operation conversion to LLVM for threadprivate directive 2022-05-28 00:06:57 +08:00
PDLToPDLInterp [mlir:PDLInterp] Refactor the implementation of result type inferrence 2022-05-01 12:25:05 -07:00
SCFToControlFlow [mlir][NFC] Update remaining textual references of un-namespaced `func` operations 2022-04-20 22:17:31 -07:00
SCFToGPU [mlir][gpu] Change ParalellLoopMappingAttr to AttrDef 2022-06-09 22:23:21 +00:00
SCFToOpenMP [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
SCFToSPIRV [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
SPIRVToLLVM [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
ShapeToStandard [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
StandardToLLVM [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
TensorToLinalg [mlir] Add TensorToLinalgPass 2022-05-13 12:17:22 +02:00
TensorToSPIRV [mlir][spirv] Remove layout decoration on unneeded storage classes 2022-04-28 08:18:23 -04:00
TosaToArith [mlir][tosa] Rework tosa.apply_scale lowering for 32-bit 2022-05-17 16:01:12 -07:00
TosaToLinalg [mlir][tosa] Replace StructAttrs with AttrDefs 2022-06-09 23:01:51 +00:00
TosaToSCF [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
TosaToTensor [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
VectorToGPU [mlir][VectorToGPU] Fix bug generating incorrect ldmatrix ops 2022-06-03 04:30:22 +00:00
VectorToLLVM [mlir][NFC] Update textual references of `func` to `func.func` in Conversion/ tests 2022-04-20 22:17:27 -07:00
VectorToROCDL [mlir] Move the Builtin FuncOp to the Func dialect 2022-03-16 17:07:03 -07:00
VectorToSCF [mlir][NFC] Update remaining textual references of un-namespaced `func` operations 2022-04-20 22:17:31 -07:00
VectorToSPIRV [mlir][spirv] Convert single element vector.splat/fma 2022-06-13 12:18:16 -04:00