[PATCH] D158252: Fix regression of D157680

Matt D. via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 11:47:52 PDT 2023


Matt added inline comments.


================
Comment at: llvm/test/CodeGen/X86/x86-prefer-no-gather-no-scatter.ll:3
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+avx2,+fast-gather %s -o - | FileCheck %s --check-prefixes=GATHER
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=+avx2,+fast-gather,+prefer-no-gather %s -o - | FileCheck %s --check-prefixes=NO-GATHER
 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu  -mattr=+avx512vl,+avx512dq < %s | FileCheck %s --check-prefix=SCATTER
----------------
Thinking out loud about this combination, does it ever make sense for any subtarget to have both `+fast-gather` _and `+prefer-no-gather` features at the same time?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158252



More information about the cfe-commits mailing list