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

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 2 15:38:04 PST 2021


aqjune marked an inline comment as done.
aqjune added inline comments.


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


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