diff --git a/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp b/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp --- a/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp @@ -403,7 +403,6 @@ addPass(createSROAPass()); } - addPass(createStructurizeCFGPass(/* SkipUniformRegions = */ true)); addPass(createNVPTXLowerUnreachablePass()); }