[PATCH] D12710: InstCombine: Preserve tbaa metadata when merging loads that are phi arguments

Akira Hatanaka via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 15:37:01 PDT 2015


ahatanak updated this revision to Diff 35316.
ahatanak added a comment.

Preserve the following metadata in addition to tbaa:

MD_alias_scope
MD_noalias
MD_invariant_load
MD_nonnull
MD_range


http://reviews.llvm.org/D12710

Files:
  lib/Transforms/InstCombine/InstCombinePHI.cpp
  test/Transforms/InstCombine/fold-phi-load-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12710.35316.patch
Type: text/x-patch
Size: 5196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150921/b474bc29/attachment.bin>


More information about the llvm-commits mailing list