[llvm] [VectorCombine] Add a cost model for shuffleToIdentity. (PR #93937)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 03:14:38 PDT 2024


================
@@ -0,0 +1,66 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -passes=vector-combine -S %s | FileCheck %s
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64--linux-gnu"
+
+define void @test_op_pblend_b_0_avx(ptr %l8, ptr %lop_pblend_b_0) "target-cpu"="corei7-avx" {
----------------
RKSimon wrote:

Move the target triple and target cpu into the RUN lines and add core-avx2 as a second RUN

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


More information about the llvm-commits mailing list