[GMR] isNonEscapingGlobalNoAlias() should look through Bitcasts/GEPs when looking...
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Mon, 17 Aug 2015 10:06:08 +0000 (10:06 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Mon, 17 Aug 2015 10:06:08 +0000 (10:06 +0000)
commit426b44f1fad190137b80d216fa137fb2b7fd8f2a
treec0046db47093fc73be566986f563bbf2062a63cb
parent4c1b80c6260ea6273e132b62516a8ae6daa7ffdb
[GMR] isNonEscapingGlobalNoAlias() should look through Bitcasts/GEPs when looking at loads.

This fixes yet another case from PR24288.

Differential Revision: http://reviews.llvm.org/D12064

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245207 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/GlobalsModRef.cpp
test/Analysis/GlobalsModRef/nonescaping-noalias.ll