projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89496d0
)
IndirectBr is not safe to speculatively execute (!)
author
Dan Gohman
<gohman@apple.com>
Fri, 2 Jul 2010 00:35:34 +0000
(
00:35
+0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 2 Jul 2010 00:35:34 +0000
(
00:35
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107454
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Instruction.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instruction.cpp
b/lib/VMCore/Instruction.cpp
index a37fe070bda044096ff478f227bb0333bedde2b7..e8d2814c44fe540f75c2f78461acb8d988aec2e2 100644
(file)
--- 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: