llvm/mlir/lib/Conversion
Lorenzo Chelini ae0fb61303 [MLIR] Check for static shape before bare pointer conversion
Originally in the returnOp conversion, the result type was changing to bare
pointer if the type was a memref. This is incorrect as conversion to bare
pointer can only be done if the memref has static shape, strides and offset.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D123121
2022-04-05 17:56:41 +02:00
..
AffineToStandard
ArithmeticToLLVM
ArithmeticToSPIRV [mlir][spirv] Check nullptr before usage to fix crash 2022-04-04 17:20:00 -04:00
ArmNeon2dToIntr
AsyncToLLVM
BufferizationToMemRef
ComplexToLLVM
ComplexToStandard
ControlFlowToLLVM
ControlFlowToSPIRV
FuncToLLVM [MLIR] Check for static shape before bare pointer conversion 2022-04-05 17:56:41 +02:00
FuncToSPIRV [mlir][spirv] Convert func.call to spv.FunctionCall 2022-03-26 19:21:23 +08:00
GPUCommon
GPUToNVVM
GPUToROCDL
GPUToSPIRV
GPUToVulkan
LinalgToLLVM
LinalgToSPIRV
LinalgToStandard
LLVMCommon [MLIR] Check for static shape before bare pointer conversion 2022-04-05 17:56:41 +02:00
MathToLibm
MathToLLVM
MathToSPIRV [mlir][spirv] Add pattern to lower math.copysign 2022-04-01 12:06:47 -04:00
MemRefToLLVM
MemRefToSPIRV
OpenACCToLLVM
OpenACCToSCF
OpenMPToLLVM
PDLToPDLInterp [mlir:PDL] Remove the ConstantParams support from native Constraints/Rewrites 2022-03-19 13:28:24 -07:00
ReconcileUnrealizedCasts
SCFToControlFlow
SCFToGPU
SCFToOpenMP
SCFToSPIRV
ShapeToStandard
SPIRVCommon
SPIRVToLLVM
TensorToSPIRV
TosaToArith [tosa] Add option to disable tosa.apply_scale lowering in TosaToStandard 2022-04-04 12:22:12 -07:00
TosaToLinalg
TosaToSCF
TosaToTensor [tosa] Add option to disable tosa.apply_scale lowering in TosaToStandard 2022-04-04 12:22:12 -07:00
VectorToGPU [mlir] Flip Vector dialect accessors used to prefixed form. 2022-03-28 11:24:47 -07:00
VectorToLLVM [mlir][vector][nfc] Rename index optimizations option 2022-03-29 11:33:22 +01:00
VectorToROCDL [mlir] Flip Vector dialect accessors used to prefixed form. 2022-03-28 11:24:47 -07:00
VectorToSCF [mlir] Flip Vector dialect accessors used to prefixed form. 2022-03-28 11:24:47 -07:00
VectorToSPIRV [mlir] Flip Vector dialect accessors used to prefixed form. 2022-03-28 11:24:47 -07:00
CMakeLists.txt [tosa] Add option to disable tosa.apply_scale lowering in TosaToStandard 2022-04-04 12:22:12 -07:00
PassDetail.h [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00