[PATCH] D159250: [X86][RFC] Add new option `-m[no-]evex512` to disable ZMM and 64-bit mask instructions for AVX512 features

Kan Shengchen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 6 19:07:03 PDT 2023


skan added inline comments.


================
Comment at: llvm/lib/Target/X86/X86Subtarget.cpp:277
+
+  if (posAVX512F != StringRef::npos &&
+      (posNoAVX512F == StringRef::npos || posNoAVX512F < posAVX512F))
----------------
Well. It's a very tricky implementation, but I can find out a better way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159250



More information about the cfe-commits mailing list