aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorMaheshRavishankar <ravishankarm@google.com>2021-04-05 15:44:07 -0700
committerMaheshRavishankar <ravishankarm@google.com>2021-04-05 16:08:47 -0700
commit944a2fe7633fcdd600de2772364e406514d794da (patch)
tree915a5a0f00511af1f6b39603aa5bf6705bd218c2 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent8c7bf2f93da9b64b07509f67552d592a86260ff5 (diff)
downloadllvm-944a2fe7633fcdd600de2772364e406514d794da.zip
llvm-944a2fe7633fcdd600de2772364e406514d794da.tar.gz
llvm-944a2fe7633fcdd600de2772364e406514d794da.tar.bz2
[mlir][Linalg] Add callbacks to fusion of elementwise operations to control fusion.
Right now Elementwise operations fusion in Linalg fuses everything it can. This can run up against resource limits of the target hardware without some checks. This patch adds a callback function that clients can use to implement a cost function. When two elementwise operations are deemed structurally fusable, the callback can be used to control if the fusion applies. Differential Revision: https://reviews.llvm.org/D99820
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions