From: Dan Gohman Date: Fri, 2 Jul 2010 00:35:34 +0000 (+0000) Subject: IndirectBr is not safe to speculatively execute (!) X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=108e3707fa4df177fdfc1533ce941a50c70eef7c;p=oota-llvm.git IndirectBr is not safe to speculatively execute (!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107454 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index a37fe070bda..e8d2814c44f 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: