[PATCH] D23339: Don't import variadic functions
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 14:31:24 PDT 2016
mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.
LGTM, thanks.
We probably need to review other properties of function that prevents them from being inlined.
================
Comment at: lib/Bitcode/Reader/BitcodeReader.cpp:733
@@ +732,3 @@
+ bool HasSection = RawFlags & 0x1;
+ bool IsNotViableToInline = RawFlags & 0x2;
+ return GlobalValueSummary::GVFlags(Linkage, HasSection, IsNotViableToInline);
----------------
Oh I see, the `!` is in `isViableToInline()`
https://reviews.llvm.org/D23339
More information about the llvm-commits
mailing list