[LLVMdev] ComputeMaskedBits Bug
Nick Lewycky
nicholas at mxc.ca
Thu Jul 17 22:36:46 PDT 2008
David Greene wrote:
> Is my analysis correct? If so, is the PHI code the culprit (for not returning
> the min of the KnownZero bits) or is the Shl code the culprit (for not paying
> attention to the Mask passed in (it right shifts it)?
I think your analysis is correct, and that Shl -- and many of the other
operations (AShr, LShr, SExt, Add?, Call?) -- should be modified to
always respect Mask.
Nick
More information about the llvm-dev
mailing list