[PATCH] D127115: [RFC][DAGCombine] Make sure combined nodes are added back to the worklist in topological order.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 05:15:02 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/ARM/dsp-mlal.ll:39
+; NODSP-NEXT:    bx lr
 entry:
   %conv = sext i32 %b1 to i64
----------------
deadalnix wrote:
> I'm not sure what we want to do there, but we should expect the MERGE_VALUES node to be optimized away, no? Once the DAG is processed fully topologically, this shouldn't be a problem.
Can you take a look at DAGTypeLegalizer::run to see if we're failing to add nodes there in a topological order please?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127115



More information about the llvm-commits mailing list