[all-commits] [llvm/llvm-project] bf9e0e: [CodeGen] Use LLVM_ATTRIBUTE_UNUSED instead of LLV...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Feb 27 18:13:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf9e0ed1e61a407d7b0e133a9980cb8c29fc8ab0
https://github.com/llvm/llvm-project/commit/bf9e0ed1e61a407d7b0e133a9980cb8c29fc8ab0
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
Log Message:
-----------
[CodeGen] Use LLVM_ATTRIBUTE_UNUSED instead of LLVM_DUMP_METHOD on a raw_ostream operator<<.
LLVM_DUMP_METHOD includes ATTRIBUTE_NOINLINE. operator<< isn't
what we normally consider a dump method so it should be ok to inline.
This fixes a warning from gcc that some other declaration for some
other class was inline but this one is noinline. Seems like a bogus
warning from gcc really.
More information about the All-commits
mailing list