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

Wang, Xin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 21:24:59 PDT 2023


XinWang10 marked 4 inline comments as done.
XinWang10 added inline comments.


================
Comment at: llvm/lib/Target/X86/X86.td:437
+    : SubtargetFeature<"prefer-no-gather", "PreferGather", "false",
+                       "Indicates if gather prefer to be disabled">;
+def FeaturePreferNoScatter
----------------
skan wrote:
> Does "Prefer no gather instructions" sound better?
> 
> I think these two should be put under "X86 Subtarget Tuning features"?
I think the two options are to mitigate security issues. Could refer to link in summary.


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