[PATCH] D112993: Don't emit "deprecated instruction in IT block" warning if requested
Kristof Beyls via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 3 01:55:20 PDT 2021
kristof.beyls accepted this revision.
kristof.beyls added a comment.
This revision is now accepted and ready to land.
GNU binutils has a specific option to silence the warnings about deprecated IT blocks (-m{no-}warn-restrict-it), see https://sourceware.org/legacy-ml/binutils/2019-12/msg00093.html.
I haven't looked up if GNU tools have the equivalent of -no-deprecated-warn.
I also wonder how to specify the "-no-deprecated-warn" option from the clang command line. Is it possible?
Basically, yes, it looks like it's the right thing to also disable warnings related to deprecated IT constructs for -no-deprecated-warn, so this looks like a good change.
But there is probably more to be done to make the option easily accessible from the clang command line and to implement -m{no-}warn-restrict-it for GNU binutils compatibility?
So: this patch LGTM, thanks.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112993/new/
https://reviews.llvm.org/D112993
More information about the llvm-commits
mailing list