mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
New EH representation for MSVC compatibility
This introduces new instructions neccessary to implement MSVC-compatible exception handling support. Most of the middle-end and none of the back-end haven't been audited or updated to take them into account. Differential Revision: http://reviews.llvm.org/D11097 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3147,10 +3147,16 @@ bool llvm::isSafeToSpeculativelyExecute(const Value *V,
|
||||
case Instruction::Switch:
|
||||
case Instruction::Unreachable:
|
||||
case Instruction::Fence:
|
||||
case Instruction::LandingPad:
|
||||
case Instruction::AtomicRMW:
|
||||
case Instruction::AtomicCmpXchg:
|
||||
case Instruction::LandingPad:
|
||||
case Instruction::Resume:
|
||||
case Instruction::CatchPad:
|
||||
case Instruction::CatchEndPad:
|
||||
case Instruction::CatchRet:
|
||||
case Instruction::CleanupPad:
|
||||
case Instruction::CleanupRet:
|
||||
case Instruction::TerminatePad:
|
||||
return false; // Misc instructions which have effects
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user