[PATCH] D159068: [clang][X86] Update excessive register save diagnostic to more closely follow the interrupt attribute spec
Phoebe Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 29 06:42:34 PDT 2023
pengfei added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:317
+ " with attribute 'no_caller_saved_registers'"
+ " or be compiled with '-mgeneral-regs-only'">,
+ InGroup<DiagGroup<"excessive-regsave">>;
----------------
aaron.ballman wrote:
> Can you add a test case showing that `-mgeneral-regs-only` causes the diagnostic to be silenced?
It's a driver only option. I think we are not suggested to invoke %clang out of driver testsing, right?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159068/new/
https://reviews.llvm.org/D159068
More information about the cfe-commits
mailing list