[PATCH] D157680: [X86]Support options -mno-gather -mno-scatter
Wang Pengcheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 01:36:27 PDT 2023
wangpc added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:7527
+ // -mno-gather, -mno-scatter support
+ if (Args.hasArg(options::OPT_mno_gather)) {
+ CmdArgs.push_back("-target-feature");
----------------
Put these in `clang/lib/Driver/ToolChains/Arch/X86.cpp:getX86TargetFeatures`? They are target-specific.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157680/new/
https://reviews.llvm.org/D157680
More information about the llvm-commits
mailing list