[mlir][linalg] Cleanup LinalgOp usage in promotion.
authorTobias Gysi <gysit@google.com>
Thu, 3 Jun 2021 11:00:36 +0000 (11:00 +0000)
committerTobias Gysi <gysit@google.com>
Thu, 3 Jun 2021 11:01:02 +0000 (11:01 +0000)
commite70d2c8e6f7b23cabcb1116b9667c9f0dd21997e
treee380f60fcf62f261c955fb426d8641646adb6c92
parent8ef23a39ca022afab0bbac3daed539ebde75ef73
[mlir][linalg] Cleanup LinalgOp usage in promotion.

Replace the uses of deprecated Structured Op Interface methods in Promotion.cpp. This patch is based on https://reviews.llvm.org/D103394.

Differential Revision: https://reviews.llvm.org/D103450
mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp