[mlir] Use the same pipeline tuning options as clang for execution engine
authorDenys Shabalin <shabalin@google.com>
Wed, 2 Nov 2022 13:04:37 +0000 (14:04 +0100)
committerDenys Shabalin <shabalin@google.com>
Wed, 2 Nov 2022 14:07:01 +0000 (15:07 +0100)
commitf11e07416a011ced399e1ec75b3267249e5c9adb
tree4446b6588f07be82f4ff98163e02241a24f15069
parent2d8c1597e51c39d8db1c9428d65e6ef6d6a1d5c1
[mlir] Use the same pipeline tuning options as clang for execution engine

This change make sure that ExecutionEngine's pass pipeline is identical to one
used by clang. Previously, SLPVectorization was not enabled which caused
differences in code...

...generation.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D137248
mlir/lib/ExecutionEngine/OptUtils.cpp