aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorMaheshRavishankar <ravishankarm@google.com>2021-11-02 15:58:38 -0700
committerMaheshRavishankar <ravishankarm@google.com>2021-11-02 15:59:56 -0700
commit3ecc2a63eb04b962b67ba16d33f46197d04e5724 (patch)
tree3a58499c918fe7aa864f157d04f9c0dd038deb62 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentba7a6b314fd14bb2c9ff5d3f4fe2b6525514cada (diff)
downloadllvm-3ecc2a63eb04b962b67ba16d33f46197d04e5724.zip
llvm-3ecc2a63eb04b962b67ba16d33f46197d04e5724.tar.gz
llvm-3ecc2a63eb04b962b67ba16d33f46197d04e5724.tar.bz2
[mlir][Linalg] Allow transformation filter to match by default.
The current setup of LinalgTransformationFilter allows a transformation to trigger when either 1) The StringAttr is not set and no filter identifier is specified. 2) The StringAttr is set and its value matches (one of) the provided identifier. This misses the case where the transformation should trigger either when the attribute is not set or its value matches (one of) the provided identifier. Since `Identifier` does not allow empty strings, add a boolean option to match when the attribute is not set. This option is by default off. Differential Revision: https://reviews.llvm.org/D113057
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions