Adjust cardinality of internal inliner thresholds
authorDavid Callahan <dcallahan@fb.com>
Mon, 4 Feb 2019 18:46:25 +0000 (18:46 +0000)
committerDavid Callahan <dcallahan@fb.com>
Mon, 4 Feb 2019 18:46:25 +0000 (18:46 +0000)
commitfd3e7a9320aeb63faad2e040df60962e0c12339f
tree6db9f2b2205ff27cedaef44f5701d47f53b0188c
parent8ea72a82012481d34fd6e0e00c14dbb94ef9ec94
Adjust cardinality of internal inliner thresholds

Summary:
While compiling openJDK11 (also other workloads), some make files would pass both  CFLAGS  and LDFLAGS at link step ; resulting in duplicate options on the command line when one is using LTO and trying to influence the inliner. Most of the internal flags are ZeroOrMore, this diff changes the remaining ones.

Reviewers: david2050, twoh, modocache

Reviewed By: twoh

Subscribers: mehdi_amini, dexonsmith, eraman, haicheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D57537

Patch by: Abdoul-Kader Keita

llvm-svn: 353071
llvm/lib/Analysis/InlineCost.cpp