[PATCH] D140811: [DAGCombiner][X86] `visitVECTOR_SHUFFLE()`: splats with a single non-undef element are not splats
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 05:08:59 PST 2023
RKSimon added inline comments.
================
Comment at: llvm/test/CodeGen/X86/haddsub-3.ll:7
; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx,fast-hops | FileCheck %s --check-prefixes=AVX1,AVX1-FAST
; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx2 | FileCheck %s --check-prefix=AVX2
----------------
RKSimon wrote:
> (trivial) Looks like you can add back the baseline common AVX prefix to cover both AVX1/AVX2 checks
why not just call the common prefix AVX? AVX1/AVX1-ONLY just seems to be confusing tbh.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140811/new/
https://reviews.llvm.org/D140811
More information about the llvm-commits
mailing list