[PATCH] D81708: [DAGCombine] Generalize the case (add (or x, c1), c2) -> (add x, (c1 + c2))
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 11 19:48:10 PDT 2020
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:2187
// Undo the add -> or combine to merge constant offsets from a frame index.
if (N0.getOpcode() == ISD::OR &&
----------------
Update the comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81708/new/
https://reviews.llvm.org/D81708
More information about the llvm-commits
mailing list