[PATCH] D52836: [LTO] Account for overriding lib calls via the alias attribute

Warren Ristow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 3 10:57:30 PDT 2018


wristow created this revision.
wristow added reviewers: pcc, spatel.
Herald added subscribers: dexonsmith, steven_wu, inglorion, mehdi_amini.

Given a library call that is represented as an llvm intrinsic call, but later transformed to an actual call, if an overriding definition of that library routine is provided indirectly via an alias, verify that LTO does not eliminate the definition.

This is a proposed fix for PR38547.


https://reviews.llvm.org/D52836

Files:
  lib/LTO/UpdateCompilerUsed.cpp
  test/LTO/X86/libcall-overridden-via-alias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52836.168135.patch
Type: text/x-patch
Size: 3762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181003/de0f5cab/attachment.bin>


More information about the llvm-commits mailing list