[PATCH] D157680: [X86]Support options -mno-gather -mno-scatter

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 06:48:07 PDT 2023


thakis added inline comments.


================
Comment at: clang/test/Driver/x86-no-gather-no-scatter.cpp:3
+// RUN: %clang -c -mno-gather -### %s 2>&1 | FileCheck --check-prefix=NOGATHER %s
+// RUN: %clang_cl -c /Qgather- -### %s 2>&1 | FileCheck --check-prefix=NOGATHER %s
+// NOGATHER: "-target-feature" "+prefer-no-gather"
----------------
FYI, `%clang_cl` always must use `--` before `%s`, else tests fail on macOS. I fixed this test in 547ee1c81fceaabcb.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157680



More information about the cfe-commits mailing list