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

Valery Pykhtin via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 01:04:57 PDT 2023


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

The definition is in another source (SIISelLowering.cpp), I haven't found common header to place this declaration yet.

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


More information about the llvm-commits mailing list