[llvm] [VectorCombine][TTI] Prevent extract/ins rewrite to GEP (PR #150216)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 07:08:10 PDT 2025


Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/150216 at github.com>


================
@@ -1,6 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt -S -passes=vector-combine -data-layout=e < %s | FileCheck %s
 ; RUN: opt -S -passes=vector-combine -data-layout=E < %s | FileCheck %s
+; RUN: opt -S -passes=vector-combine -data-layout=E -mtriple=spirv-unknown-vulkan1.3-library %s | FileCheck %s --check-prefix=SPIRV
----------------
RKSimon wrote:

This will have to be put into a SPIRV subfolder with a suitable lit.local.cfg file - root tests can't refer to target specifics in case a build doesn't include that target

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


More information about the llvm-commits mailing list