ThinLTO: Fix assembler to emit alwaysInline in the summary
authorTeresa Johnson <tejohnson@google.com>
Mon, 18 Nov 2019 21:55:52 +0000 (13:55 -0800)
committerTeresa Johnson <tejohnson@google.com>
Mon, 18 Nov 2019 23:02:13 +0000 (15:02 -0800)
commitaeca47fa0fbc36a43bced6a482a2e61acc3162a1
tree004af7dfd67f6433e0f3b952440991639c051c81
parent6f1cc4151a5ad297b2d1d87d98e266f9729100e2
ThinLTO: Fix assembler to emit alwaysInline in the summary

Summary: The earlier commit (https://reviews.llvm.org/D70014) missed this one : If Always_Inline happens to be the only entry in FuncFlags, then the assembler will not print it in the summary.

Patch by Bharathi Seshadri <bseshadr@cisco.com>

Reviewers: tejohnson

Reviewed By: tejohnson

Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70323
llvm/lib/IR/AsmWriter.cpp
llvm/test/ThinLTO/X86/funcimport_alwaysinline.ll