commit | b4039f633cc14f798b6bafc14b29e8f4cf66c618 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Wed Dec 21 05:52:02 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Wed Dec 21 05:52:02 2011 +0000 |
tree | e1cedd42226c479786102bbcea2d46f519b8ceed | |
parent | f2b681b4d81942a62d725a95553271afd1e86a42 [diff] |
Make some intrinsics safe to speculatively execute. llvm-svn: 147036
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index bf2cb49..4fdbaae 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/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;