Skip to content
  • Dan Gohman's avatar
    Make getTypeSizeInBits work correctly for array types; it should return · 4b2b48da
    Dan Gohman authored
    the number of value bits, not the number of bits of allocation for in-memory
    storage.
    
    Make getTypeStoreSize and getTypeAllocSize work consistently for arrays and
    vectors.
    
    Fix several places in CodeGen which compute offsets into in-memory vectors
    to use TargetData information.
    
    This fixes PR1784.
    
    llvm-svn: 97064
    4b2b48da
Loading