[PATCH] D152116: [DAGCombiner] Transform `(icmp eq/ne (and X,C0),(shift X,C1))` to use rotate or to getter constants.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 10:11:41 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:12428
- return Combined;
+ const ISD::CondCode CC = cast<CondCodeSDNode>(N->getOperand(2))->get();
+
----------------
Isn't this the same as Cond at line#12405?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152116/new/
https://reviews.llvm.org/D152116
More information about the llvm-commits
mailing list