Skip to content

Commit da6c678

Browse files
committed
Update InstructionCombining.cpp
1 parent b4e720f commit da6c678

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4350,6 +4350,9 @@ static bool combineInstructionsOverFunction(
43504350
LoopInfo *LI) {
43514351
auto &DL = F.getParent()->getDataLayout();
43524352

4353+
if (F.hasSEH() || F.hasCXXSEH())
4354+
return false;
4355+
43534356
/// Builder - This is an IRBuilder that automatically inserts new
43544357
/// instructions into the worklist when they are created.
43554358
IRBuilder<TargetFolder, IRBuilderCallbackInserter> Builder(

0 commit comments

Comments
 (0)