Experiments show that looking through phi nodes
authorDuncan Sands <baldrick@free.fr>
Mon, 29 Dec 2008 20:51:17 +0000 (20:51 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 29 Dec 2008 20:51:17 +0000 (20:51 +0000)
commit2964fe37aee3696e887dc50f52926df3ba51f4c7
tree4d985be2fbb48559262ee194fa6dc90c11d28739
parente9dd47afa6c539a8fbe25a2f12c508a4aae5105c
Experiments show that looking through phi nodes
and select instructions doesn't buy anything here
except extra complexity: the only difference in
the entire testsuite was that a readonly function
became readnone in MiBench/consumer-typeset.  Add
a comment about this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61478 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/AddReadAttrs.cpp