[llvm] [VectorCombine] Add foldShuffleOfIntrinsics. (PR #106502)

Han-Kuan Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 03:06:36 PDT 2024


================
@@ -0,0 +1,123 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -mtriple=x86_64-- -mcpu=x86-64 -passes=vector-combine -S %s | FileCheck %s --check-prefixes=SSE,SSE2
+; RUN: opt -mtriple=x86_64-- -mcpu=x86-64-v2 -passes=vector-combine -S %s | FileCheck %s --check-prefixes=SSE,SSE4
+; RUN: opt -mtriple=x86_64-- -mcpu=x86-64-v3 -passes=vector-combine -S %s | FileCheck %s --check-prefixes=AVX,CHECK-V3
+; RUN: opt -mtriple=x86_64-- -mcpu=x86-64-v4 -passes=vector-combine -S %s | FileCheck %s --check-prefixes=AVX,CHECK-V4
----------------
HanKuanChen wrote:

fix

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


More information about the llvm-commits mailing list