summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-01-09 17:57:08 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-01-09 17:57:08 +0000
commitc13a8e84d1fac50b99f34d419f53dbb2c5417012 (patch)
treee6eab9ef6632cf91f944aa756f23af8c3700759e /llvm/lib/Analysis
parent0ac1ce70ba5a70772ea432ffc20ec77968f15a24 (diff)
downloadbcm5719-llvm-c13a8e84d1fac50b99f34d419f53dbb2c5417012.tar.gz
bcm5719-llvm-c13a8e84d1fac50b99f34d419f53dbb2c5417012.zip
Intrinsic::Bitreverse is safe to speculate
Summary: Intrinsic::Bitreverse is safe to speculate Reviewers: hfinkel, mkuper, arsenm, jmolloy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28471 llvm-svn: 291456
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 073b4e6ab26..d31472c0d33 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -3257,6 +3257,7 @@ bool llvm::isSafeToSpeculativelyExecute(const Value *V,
case Intrinsic::dbg_value:
return true;
+ case Intrinsic::bitreverse:
case Intrinsic::bswap:
case Intrinsic::ctlz:
case Intrinsic::ctpop:
OpenPOWER on IntegriCloud