[PATCH] D29104: Add !associated metadata.

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 16:55:30 PST 2017


eugenis created this revision.
Herald added a subscriber: mehdi_amini.

When placed on a global variable, !associated tells the optimizer
(DCE in particular) to treat all global references in that variable's
initializer as reverse dependencies.


Repository:
  rL LLVM

https://reviews.llvm.org/D29104

Files:
  docs/LangRef.rst
  include/llvm/IR/LLVMContext.h
  include/llvm/Transforms/IPO/GlobalDCE.h
  lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  lib/IR/LLVMContext.cpp
  lib/Transforms/IPO/GlobalDCE.cpp
  test/ThinLTO/X86/lazyload_metadata.ll
  test/Transforms/GlobalDCE/associated.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29104.85658.patch
Type: text/x-patch
Size: 6751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/8b47ee24/attachment.bin>


More information about the llvm-commits mailing list