aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-10-27 17:39:55 +0900
committerGitHub <noreply@github.com>2023-10-27 17:39:55 +0900
commite6e55e620bb6adba50c15ff52e177b5c68e38d61 (patch)
tree2090ba682cdae2f0739e03e2d6b77362d456fb1a /clang/lib/Frontend/CompilerInvocation.cpp
parent5270df3d177ae8849e5f1a2cec28b193ab209ef2 (diff)
downloadllvm-e6e55e620bb6adba50c15ff52e177b5c68e38d61.zip
llvm-e6e55e620bb6adba50c15ff52e177b5c68e38d61.tar.gz
llvm-e6e55e620bb6adba50c15ff52e177b5c68e38d61.tar.bz2
[mlir][vector] Fix off-by-one error in `getTransferChunkAccessed` (#70292)
If a dimension does not appear in the permutation map of a vector transfer op, the size of the accessed slice in that dimension is `1`. Before this fix, `getTransferChunkAccessed` used to return `0` for such dimensions, which would means that `0` elements in the underlying tensor/memref are accessed. Note: There is no test case that fails due to this bug and because this interface method is currently only used in one place, it is hard to write a regression test. This fix is in preparation of subset hoisting functionality that will be added in subsequent commits.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions