[PATCH] D144779: [X86] Add tests for replacing `{v}permilps` -> `{v}shufps/{v}pshufd`; NFC

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 26 13:53:35 PST 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/tuning-shuffle-permilps.ll:4
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown --mattr=+avx2,+no-bypass-delay-shuffle  | FileCheck %s --check-prefixes=CHECK,CHECK-AVX2
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown --mattr=+avx2  | FileCheck %s --check-prefixes=CHECK,CHECK-AVX2-DELAY
+
----------------
Add a CHECK-AVX1-DELAY variant as well


================
Comment at: llvm/test/CodeGen/X86/tuning-shuffle-permilps.ll:14
+  ret <16 x float> %shufp
+}
+
----------------
Remove the VPERMILPSZ 512-bit cases - they are handled in the -avx512 file


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144779/new/

https://reviews.llvm.org/D144779



More information about the llvm-commits mailing list