[PATCH] D141256: [DAGCombine]Don't check for Undef/Poison if the node is deleted

Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 05:53:22 PST 2023


Naville added a comment.

Can confirm no DELETED_NODE exists before the entire DAG processing logic,
DAG looks like this before ``  for (SDValue MaybePoisonOperand : MaybePoisonOperands) ``:

  SelectionDAG has 12 nodes:
    t0: ch,glue = EntryToken
    t2: i64,ch = CopyFromReg t0, Register:i64 %0
              t3: i64 = freeze t2
            t4: i1 = truncate t3
            t5: i1 = truncate t2
          t6: i1 = xor t4, t5
        t7: i1 = freeze t6
      t9: i32 = zero_extend t7
    t11: ch,glue = CopyToReg t0, Register:i32 $w0, t9
    t12: ch = AArch64ISD::RET_FLAG t11, Register:i32 $w0, t11:1


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

https://reviews.llvm.org/D141256



More information about the llvm-commits mailing list