Duncan deftly points out that readnone functions aren't
authorChris Lattner <sabre@nondot.org>
Mon, 3 Jan 2011 23:38:13 +0000 (23:38 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Jan 2011 23:38:13 +0000 (23:38 +0000)
commite508dd4c75705f325764e1197854c0e83266a7ea
treed779457fcb395e7ce59e38f2f0dac349cd0b9e76
parent7158e08b8e619f4dcac9834c57f5f8afd6eea2eb
Duncan deftly points out that readnone functions aren't
invalidated by stores, so they can be handled as 'simple'
operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122785 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/EarlyCSE.cpp
test/Transforms/EarlyCSE/basic.ll