[all-commits] [llvm/llvm-project] a4b015: [mlir][vector] Support for extracting 1-element ve...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Wed Sep 11 02:11:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4b0153c4f5f0d6bcf42fb2cb97dbdfad9c59e2c
https://github.com/llvm/llvm-project/commit/a4b0153c4f5f0d6bcf42fb2cb97dbdfad9c59e2c
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Log Message:
-----------
[mlir][vector] Support for extracting 1-element vectors in VectorExtractOpConversion (#107549)
This patch adds support for converting `vector.extract` that extract
1-element vectors into LLVM, fixing a crash in such cases.
E.g., `vector.extract %1[0]: vector<1xf32> from vector<2xf32>`. Fix
#61372.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list