[llvm] [VectorCombine] Support simplification to scalar store for multiple insertelt (PR #132820)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 03:09:03 PDT 2026


================
@@ -0,0 +1,396 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; Run the multi-insert suite for each supported x86-64 CPU level.
+; RUN: opt -S -passes=vector-combine -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64 < %s | FileCheck %s --check-prefixes=CHECK,X64
+; RUN: opt -S -passes=vector-combine -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64-v2 < %s | FileCheck %s --check-prefixes=CHECK,X64V2
+; RUN: opt -S -passes=vector-combine -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64-v3 < %s | FileCheck %s --check-prefixes=CHECK,X64V3
+; RUN: opt -S -passes=vector-combine -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64-v4 < %s | FileCheck %s --check-prefixes=CHECK,X64V4
----------------
RKSimon wrote:

yes, as long as the CHECK lines properly survive it doesn't matter much here

https://github.com/llvm/llvm-project/pull/132820


More information about the llvm-commits mailing list