[PATCH] D152789: NVPTX: Lower unreachable to exit to allow ptxas to accurately reconstruct the CFG.

Tim Besard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 05:22:23 PDT 2023


maleadt updated this revision to Diff 532107.
maleadt added a comment.

Don't use the structurizer pass.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152789/new/

https://reviews.llvm.org/D152789

Files:
  llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152789.532107.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230616/09a129a9/attachment.bin>


More information about the llvm-commits mailing list