Make some intrinsics safe to speculatively execute.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147036 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp
index bf2cb49..4fdbaae 100644
--- a/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -293,6 +293,7 @@
     Cost = 1;
     break;   // These are all cheap and non-trapping instructions.
 
+  case Instruction::Call:
   case Instruction::Select:
     Cost = 2;
     break;