[PATCH] D59208: [DAGCombiner] fold (addcarry (xor a, -1), b, c) -> (subcarry b, a, !c) and flip carry.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 04:22:01 PDT 2019
RKSimon added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:2718
+ const TargetLowering &TLI,
+ bool Force = false) {
+ if (Force && isa<ConstantSDNode>(V))
----------------
It's probably better for Force not to have a default value?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59208/new/
https://reviews.llvm.org/D59208
More information about the llvm-commits
mailing list