[PATCH] D92015: [DAGCombiner] Fold BRCOND(FREEZE(COND)) to BRCOND(COND)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 1 07:26:44 PST 2021


nikic added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:14562
+                       N1->getOperand(0), N2);
+  }
+
----------------
Isn't this only valid if freeze has one use?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92015



More information about the llvm-commits mailing list