[llvm-commits] [llvm] r139204 - in /llvm/trunk: lib/Analysis/BasicAliasAnalysis.cpp test/Analysis/BasicAA/memset_pattern.ll

Owen Anderson resistor at mac.com
Tue Sep 6 16:46:05 PDT 2011


On Sep 6, 2011, at 4:39 PM, Eli Friedman wrote:
> Where does the magic constant 2 come from?

memset_pattern16 reads a fixed-sized 16 byte pattern from the source operand, which is what determines the magic constant.  Though apparently it should be 16 rather than 2 (bytes vs bits).  Fixed now.

--Owen



More information about the llvm-commits mailing list