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:
bcf47a5
)
Make isSafeToSpeculativelyExecute() return the right answer for some new instructions...
author
Eli Friedman
<eli.friedman@gmail.com>
Thu, 1 Sep 2011 21:03:03 +0000
(21:03 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Thu, 1 Sep 2011 21:03:03 +0000
(21:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138962
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 f54cec11e2e3f3fa1d6d33ce9933143fda4e8e72..73191c19658cc0e77d3f7ca53ef9fd856ec3ec33 100644
(file)
--- a/
lib/VMCore/Instruction.cpp
+++ b/
lib/VMCore/Instruction.cpp
@@
-436,6
+436,10
@@
bool Instruction::isSafeToSpeculativelyExecute() const {
case Unwind:
case Unreachable:
case Fence:
+ case LandingPad:
+ case AtomicRMW:
+ case AtomicCmpXchg:
+ case Resume:
return false; // Misc instructions which have effects
}
}