[llvm] Improve selection of conditional branch on amdgcn.ballot!=0 condition in SelectionDAG. (PR #68714)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 00:10:21 PDT 2023


================
@@ -2259,6 +2259,30 @@ bool AMDGPUDAGToDAGISel::isCBranchSCC(const SDNode *N) const {
   return false;
 }
 
+bool isBoolSGPR(SDValue V);
----------------
arsenm wrote:

Can just move the body up here to avoid the forward declaration 

https://github.com/llvm/llvm-project/pull/68714


More information about the llvm-commits mailing list