[IR] Reformulate LLVM's EH funclet IR
[oota-llvm.git] / lib / Analysis / ValueTracking.cpp
index b2a1034eeaa5304fa11c3fe6adeec97e747b984b..4a228c30a93ce791b048f76996b7faf88f4f02fe 100644 (file)
@@ -3431,11 +3431,10 @@ bool llvm::isSafeToSpeculativelyExecute(const Value *V,
   case Instruction::AtomicCmpXchg:
   case Instruction::LandingPad:
   case Instruction::Resume:
+  case Instruction::CatchSwitch:
   case Instruction::CatchPad:
-  case Instruction::CatchEndPad:
   case Instruction::CatchRet:
   case Instruction::CleanupPad:
-  case Instruction::CleanupEndPad:
   case Instruction::CleanupRet:
   case Instruction::TerminatePad:
     return false; // Misc instructions which have effects