diff options
-rw-r--r-- | lib/VMCore/Instruction.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index f54cec11e2..73191c1965 100644 --- 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 } } |