Only if Abs(A) has one use, in which case the `(and/or (icmp eq/ne
A,Pow2), (icmp eq/ne A,-Pow2))` can be optimized in
DAGCombiner::foldAndOrOfSETCC.
Alive Links:
EQ: https://alive2.llvm.org/ce/z/gTxSgV
NE: https://alive2.llvm.org/ce/z/MUf57Y
Differential D142345
[X86] Transform `(icmp eq/ne Abs(A), Pow2)` -> `(and/or (icmp eq/ne A,Pow2), (icmp eq/ne A,-Pow2))` goldstein.w.n on Jan 23 2023, 3:24 AM. Authored by
Details Only if Abs(A) has one use, in which case the `(and/or (icmp eq/ne Alive Links:
Diff Detail
Event Timeline
|
const APInt &CInt