[PATCH] D12838: [GlobalsAA] Teach GlobalsAA about nocapture

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 09:25:51 PDT 2015


jmolloy updated this revision to Diff 35011.
jmolloy added a comment.

Hi Hal,

That makes sense, it'd be less conservative. This updated patch does that - it iterates through the SCCs, assigning a numeric ID to each and storing a map of Function -> SCC ID that we can query later.

Cheers,

James


Repository:
  rL LLVM

http://reviews.llvm.org/D12838

Files:
  include/llvm/Analysis/GlobalsModRef.h
  lib/Analysis/GlobalsModRef.cpp
  test/Analysis/GlobalsModRef/memset-escape.ll
  test/Analysis/GlobalsModRef/nocapture.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12838.35011.patch
Type: text/x-patch
Size: 8858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150917/971be16f/attachment.bin>


More information about the llvm-commits mailing list