Skip to content
  • Chris Lattner's avatar
    teach GVN to widen integer loads when they are overaligned, when doing an · 827a270a
    Chris Lattner authored
    wider load would allow elimination of subsequent loads, and when the wider
    load is still a native integer type.  This eliminates a ton of loads on 
    various benchmarks involving struct fields, though it is somewhat hobbled
    by clang not being very aggressive about field alignment.
    
    This is yet another step along the way towards resolving PR6627.
    
    llvm-svn: 130390
    827a270a
Loading