diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-02 00:35:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-02 00:35:34 +0000 |
commit | 108e3707fa4df177fdfc1533ce941a50c70eef7c (patch) | |
tree | 557a65050502a04f44a55e1bb0910c7980707823 | |
parent | 89496d0eb73ab8771b27b3d9c1db6492d8eefc3a (diff) |
IndirectBr is not safe to speculatively execute (!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107454 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Instruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index a37fe070bd..e8d2814c44 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -421,6 +421,7 @@ bool Instruction::isSafeToSpeculativelyExecute() const { case Store: case Ret: case Br: + case IndirectBr: case Switch: case Unwind: case Unreachable: |