[PATCH] D110869: [X86] Implement -fzero-call-used-regs option

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 30 15:33:06 PDT 2021


void added inline comments.


================
Comment at: clang/include/clang/Basic/AttrDocs.td:6116
+
+- ``skip`` doesn't zero any call-used registers.
+- ``used`` only zeros call-used registers used in the function. By ``used``, we
----------------
void wrote:
> nickdesaulniers wrote:
> > Might be worth a note that `skip` is helpful for disabling previously occurring instances of the command line flag.  Sometimes toolchains have wrapper scripts that force on flags, or are built with the implicit default changed, so being able to explicitly disable a feature can be helpful.
> Doesn't that apply to all (or most) flags though? I don't think they mention that you can override previously set flags...
Oh, I see what you mean now. I'll see what I can do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110869



More information about the cfe-commits mailing list