We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b9d115 commit 49e9c62Copy full SHA for 49e9c62
llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -3345,6 +3345,9 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &MF) {
3345
if (MF.getFunction().doesDisableBlockPlacementPass())
3346
return false;
3347
3348
+ if (MF.getFunction().hasSEH() || MF.getFunction().hasCXXSEH())
3349
+ return false;
3350
+
3351
// Check for single-block functions and skip them.
3352
if (std::next(MF.begin()) == MF.end())
3353
0 commit comments