[mlir][LLVMIR] (NFC) Add convenience builders for ConstantOp
authorJeff Niu <jeff@modular.com>
Tue, 9 Aug 2022 18:40:07 +0000 (14:40 -0400)
committerJeff Niu <jeff@modular.com>
Tue, 9 Aug 2022 19:34:36 +0000 (15:34 -0400)
commit0af643f3ceff6d164fcbdb00bcae0a566be29b80
tree439c77d7441caa23c28bdc0f49e9dfb08d54179a
parentc951edb7b22e709e50b8ae2ea6bce46f1d7d2741
[mlir][LLVMIR] (NFC) Add convenience builders for ConstantOp

And clean up some of the user code
16 files changed:
flang/lib/Optimizer/CodeGen/CodeGen.cpp
mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp
mlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
mlir/lib/Conversion/LLVMCommon/Pattern.cpp
mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp