Replace isTrapping with a new, similar method called
authorEli Friedman <eli.friedman@gmail.com>
Fri, 17 Jul 2009 04:28:42 +0000 (04:28 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 17 Jul 2009 04:28:42 +0000 (04:28 +0000)
commit0b79a7727d68a507837e827803859424cf3d997b
tree660f0ded255f727b4f60161a752eec3bad39b6e4
parent6055a6adb792f857fe04d8880a6cfb8914828046
Replace isTrapping with a new, similar method called
isSafeToSpeculativelyExecute. The new method is a bit closer to what
the callers actually care about in that it rejects more things callers
don't want.  It also adds more precise handling for integer
division, and unifies code for analyzing the legality of a speculative
load.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76150 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instruction.h
lib/Analysis/LoopInfo.cpp
lib/Transforms/Scalar/LICM.cpp
lib/Transforms/Scalar/TailDuplication.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
lib/VMCore/Instruction.cpp