[LLVMbugs] [Bug 19711] New: ComputeMaskedBits & friends should know that multiplying by a power of two leaves low bits clear
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 11 09:24:12 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19711
Bug ID: 19711
Summary: ComputeMaskedBits & friends should know that
multiplying by a power of two leaves low bits clear
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
John Regehr reports that GCC is folding X*2&1 to zero. ComputedMaskedBits and
SimplifyDemandedBits should know that multiplications by powers of two leave
predictable zeros in the low bits of the result.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140511/c1f47b4d/attachment.html>
More information about the llvm-bugs
mailing list