Decouple running a conversion from the DialectConversion class. The DialectConver...
authorRiver Riddle <riverriddle@google.com>
Thu, 23 May 2019 16:23:33 +0000 (09:23 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 02:58:04 +0000 (19:58 -0700)
commit14d1cfbccbad35318b4e5075612e6142ebc479bf
tree5d7c716370a0d0044566c193ee0fb6168d3e0b4b
parentc0f41e5bb3d615f35c7708992304bb989929cdb1
Decouple running a conversion from the DialectConversion class. The DialectConversion class is only necessary for type signature changes(block arguments or function arguments). This isn't always desired when performing a dialect conversion. This allows for those conversions without this need to run per function instead of per module.

--

PiperOrigin-RevId: 249657549
mlir/examples/Linalg/Linalg1/lib/ConvertToLLVMDialect.cpp
mlir/examples/Linalg/Linalg3/lib/ConvertToLLVMDialect.cpp
mlir/examples/toy/Ch5/mlir/EarlyLowering.cpp
mlir/examples/toy/Ch5/mlir/LateLowering.cpp
mlir/include/mlir/Transforms/DialectConversion.h
mlir/lib/LLVMIR/Transforms/ConvertToLLVMDialect.cpp
mlir/lib/Linalg/Transforms/LowerToLLVMDialect.cpp
mlir/lib/Transforms/DialectConversion.cpp