Revert r246232 and r246304.
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 28 Aug 2015 21:13:39 +0000 (21:13 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 28 Aug 2015 21:13:39 +0000 (21:13 +0000)
commitc13175f52f47889b618d8b889283203c742dabb5
tree504d44789ec897ba5f5bcc9edba19862c35a0092
parentdf2dbd7b153deaa4901b82bc57d58f29c1d46354
Revert r246232 and r246304.

This reverts isSafeToSpeculativelyExecute's use of ReadNone until we
split ReadNone into two pieces: one attribute which reasons about how
the function reasons about memory and another attribute which determines
how it may be speculated, CSE'd, trap, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246331 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
lib/CodeGen/Analysis.cpp
test/Transforms/SimplifyCFG/speculate-math.ll