From 108e3707fa4df177fdfc1533ce941a50c70eef7c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Jul 2010 00:35:34 +0000 Subject: [PATCH] IndirectBr is not safe to speculatively execute (!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107454 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Instruction.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- 2.34.1