aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2022-07-08 13:49:47 +0200
committerAlex Zinenko <zinenko@google.com>2022-07-12 12:36:33 +0000
commit81b62f7feb5de2fb37261974ffa0b2a43a2d83ee (patch)
tree2d5644291b62c4f00b0cfa33ea1f0069a1608327 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parente15b855e096eb13d4f40a3acd65061e964c5a555 (diff)
downloadllvm-81b62f7feb5de2fb37261974ffa0b2a43a2d83ee.zip
llvm-81b62f7feb5de2fb37261974ffa0b2a43a2d83ee.tar.gz
llvm-81b62f7feb5de2fb37261974ffa0b2a43a2d83ee.tar.bz2
[mlir] Handle linalg.index correctly in TilingInterface
The existing implementation of the TilingInterface for Linalg ops was not modifying the `linalg.index` ops contained within other Linalg ops (they need to be summed up with the values of respective tile loop induction variables), which led to the interface-based tiling being incorrect for any Linalg op with index semantics. In the process, fix the function performing the index offsetting to use the pattern rewriter API instead of RAUW as it is being called from patterns and may mess up the internal state of the rewriter. Also rename the function to clearly catch all uses. Depends On D129365 Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D129366
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions