Skip to content

[InstCombine] fold (icmp eq/ne (and (shl -1, X), Y), 0) -> (icmp eq/ne (lshr Y, X), 0)#84691

Closed
goldsteinn wants to merge 2 commits intollvm:mainfrom
goldsteinn:goldsteinn/shl-1-x-and-y-eq-0
Closed

[InstCombine] fold (icmp eq/ne (and (shl -1, X), Y), 0) -> (icmp eq/ne (lshr Y, X), 0)#84691
goldsteinn wants to merge 2 commits intollvm:mainfrom
goldsteinn:goldsteinn/shl-1-x-and-y-eq-0