Skip to content
  • Cameron Zwarich's avatar
    When scalar replacement returns a vector type, only accept it if the vector · 9601ddb2
    Cameron Zwarich authored
    type's bitwidth matches the (allocated) size of the alloca. This severely
    pessimizes vector scalar replacement when the only vector type being used is
    something like <3 x float> on x86 or ARM whose allocated size matches a
    <4 x float>.
    
    I hope to fix some of the flawed assumptions about allocated size throughout
    scalar replacement and reenable this in most cases.
    
    llvm-svn: 133338
    9601ddb2
Loading