[llvm] [VectorCombine] foldShuffleOfIntrinsics - support multiple uses of shuffled ops (PR #173183)

Dhruva Narayan K via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 08:58:24 PST 2025


================
@@ -0,0 +1,91 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -passes=vector-combine -mtriple=x86_64-- -mcpu=x86-64 -S < %s | FileCheck %s --check-prefixes=CHECK,SSE
+; RUN: opt -passes=vector-combine -mtriple=x86_64-- -mcpu=x86-64-v3 -S < %s | FileCheck %s --check-prefixes=CHECK,AVX
+
+define <8 x i32> @test_multiuse_one_side(<4 x i32> %0, <4 x i32> %1) {
----------------
Xylecrack wrote:

I have moved the tests back into shuffle-of-intrinsics.ll

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


More information about the llvm-commits mailing list