aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorlialan <me@alanli.org>2024-11-12 16:58:58 -0500
committerGitHub <noreply@github.com>2024-11-12 13:58:58 -0800
commit24a8092be7c1700e9bcdb15c114e9a738f0a2a6b (patch)
tree023ed50c30e6623fd5bb2e89628866c07c085999 /llvm/lib/Object/ELFObjectFile.cpp
parent36fa8bdfa0130b6233a4ef2b8619702533a9f4df (diff)
downloadllvm-24a8092be7c1700e9bcdb15c114e9a738f0a2a6b.zip
llvm-24a8092be7c1700e9bcdb15c114e9a738f0a2a6b.tar.gz
llvm-24a8092be7c1700e9bcdb15c114e9a738f0a2a6b.tar.bz2
[MLIR] Avoid `vector.extract_strided_slice` when not needed (#115941)
In `staticallyExtractSubvector`, When the extracting slice is the same as source vector, do not need to emit `vector.extract_strided_slice`. This fixes the lit test case `@vector_store_i4` in `mlir\test\Dialect\Vector\vector-emulate-narrow-type.mlir`, where converting from `vector<8xi4>` to `vector<4xi8>` does not need slice extraction. The issue was introduced in #113411 and #115070, CI failure link: https://buildkite.com/llvm-project/github-pull-requests/builds/118845 This PR does not include a lit test case because it is a fix and the above mentioned `@vector_store_i4` test actually tests the mechanism. Signed-off-by: Alan Li <me@alanli.org>
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions