Skip to content
  • Benjamin Kramer's avatar
    X86: Make shuffle -> shift conversion more aggressive about undefs. · fc33e1d9
    Benjamin Kramer authored
    Shuffles that only move an element into position 0 of the vector are common in
    the output of the loop vectorizer and often generate suboptimal code when SSSE3
    is not available. Lower them to vector shifts if possible.
    
    We still prefer palignr over psrldq because it has higher throughput on
    sandybridge.
    
    llvm-svn: 182102
    fc33e1d9
Loading