[PATCH] D20665: Claim NoAlias if two GEPs index different fields of the same struct

Taewook Oh via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 23:54:12 PDT 2016


twoh created this revision.
twoh added a reviewer: hfinkel.
twoh added a subscriber: llvm-commits.

Patch for Bug 27478. Make BasicAliasAnalysis claims NoAlias if two GEPs index different fields of the same structure.

http://reviews.llvm.org/D20665

Files:
  lib/Analysis/BasicAliasAnalysis.cpp
  test/Analysis/BasicAA/noalias-structure.ll
  test/Transforms/LoopVectorize/global_alias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20665.58572.patch
Type: text/x-patch
Size: 12198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/5294dd3d/attachment-0001.bin>


More information about the llvm-commits mailing list