[llvm] [VectorCombine] Add foldShuffleOfIntrinsics. (PR #106502)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 02:52:58 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
----------------
RKSimon wrote:
looks like you can drop the SSE2/SSE4/CHECK-V3/CHECK-V4 prefixes and just use SSE/AVX
https://github.com/llvm/llvm-project/pull/106502
More information about the llvm-commits
mailing list