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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs