Teach BasicAA a little something about the atomic intrinsics: they can only
commitfc461aee7449bb8010b6f4946d88afd8e2b05e3e
authorNick Lewycky <nicholas@mxc.ca>
Tue, 13 Oct 2009 07:48:38 +0000 (13 07:48 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 13 Oct 2009 07:48:38 +0000 (13 07:48 +0000)
tree71cc8d429e4db5afd033db00609120b5f546001d
parentc888d3594875d75fc81e4cd3b6630b4b88f8054e
Teach BasicAA a little something about the atomic intrinsics: they can only
modify through the pointer they're given.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83959 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll [new file with mode: 0644]