[llvm-commits] [llvm] r79415 - in /llvm/trunk: lib/CodeGen/SelectionDAG/DAGCombiner.cpp test/CodeGen/X86/2009-08-19-LoadNarrowingMiscompile.ll
Duncan Sands
baldrick at free.fr
Wed Aug 19 04:53:12 PDT 2009
Hi Eli,
> + // Is the load width a multiple of size of VT?
> + if ((N0.getValueType().getSizeInBits() & (EVTBits-1)) != 0)
if EVTBits is not a power of two, then this doesn't check that
VT.getSizeInBits() is a multiple of EVTBits.
For example, if EVTBits is 3 and VT.getSizeInBits() is 4.
Ciao,
Duncan.
More information about the llvm-commits
mailing list