[llvm] [GlobalISel] Fold G_SHUFFLE_VECTOR with a single element mask to G_EXTRACT_VECTOR_ELT (PR #65342)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 09:20:54 PDT 2023


================
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=aarch64 | FileCheck %s
+; RUN: llc < %s -mtriple=aarch64 | FileCheck %s --check-prefix=CHECK
+; RUN: llc < %s -global-isel -mtriple=aarch64 | FileCheck %s --check-prefix=CHECK-GISEL
----------------
davemgreen wrote:

This can use  `--check-prefixes=CHECK,CHECK-SD` for the first line and ` --check-prefixes=CHECK,CHECK-GI` for the second. Where they are identical the check lines should then fold to both using `CHECK`

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


More information about the llvm-commits mailing list