1. Aug 19, 2019
    • Simon Pilgrim's avatar
      [X86] isTargetShuffleEquivalent - add BUILD_VECTOR matching · fee2546f
      Simon Pilgrim authored
      Add similar functionality to isShuffleEquivalent - if the mask elements don't match, try matching the BUILD_VECTOR scalars instead.
      
      As target shuffles need to handle SM_Sentinel values, this can get a bit tricky, so commit just adds actual mask element index handling - full SM_SentinelZero support will be added when the need arises.
      
      Also, enables support in matchVectorShuffleWithPACK
      
      llvm-svn: 369212
      fee2546f
    • Simon Pilgrim's avatar
      [X86] isTargetShuffleEquivalent - early out on illegal shuffle masks. NFCI. · a66edd86
      Simon Pilgrim authored
      Simplifies shuffle mask comparisons by just bailing out if the shuffle mask has any out of range values - will make an upcoming patch much simpler.
      
      llvm-svn: 369211
      a66edd86
  2. Aug 18, 2019
  3. Aug 17, 2019