[llvm] [AMDGPU] SelectionDAG divergence tracking should take into account Target divergency. (PR #144947)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 27 07:03:02 PDT 2025


================
@@ -13600,16 +13606,20 @@ void SelectionDAG::createOperands(SDNode *Node, ArrayRef<SDValue> Vals) {
     Ops[I].setInitial(Vals[I]);
     EVT VT = Ops[I].getValueType();
 
+    // Take care of the Node's operands iif target has divergence
----------------
alex-t wrote:

The "iif" states for the "if and only if". Although, I can change it to just "if.

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


More information about the llvm-commits mailing list