[all-commits] [llvm/llvm-project] 4cec5e: [mlir][tosa] Set explicit benefit for tosa.reshape...
Rob Suderman via All-commits
all-commits at lists.llvm.org
Wed Jan 18 08:52:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4cec5eadfd1f5ed7f7037e0c7e6b5fcd59045125
https://github.com/llvm/llvm-project/commit/4cec5eadfd1f5ed7f7037e0c7e6b5fcd59045125
Author: Rob Suderman <suderman at google.com>
Date: 2023-01-18 (Wed, 18 Jan 2023)
Changed paths:
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
Log Message:
-----------
[mlir][tosa] Set explicit benefit for tosa.reshape to linalg
The patterns used to lower tosa.reshape to linalg are order
dependent which varies depending on platform. Setting the
benefit appropriately guarantees compilation executes the
rewriters in the correct ordering.
Reviewed By: benvanik
Differential Revision: https://reviews.llvm.org/D141981
More information about the All-commits
mailing list