1. Jun 06, 2020
  2. Jun 05, 2020
    • Simon Pilgrim's avatar
      [X86][SSE] Simplify MOVMSK patterns based on comparison · d194ff31
      Simon Pilgrim authored
      An initial patch adding combineSetCCMOVMSK to simplify MOVMSK and its vector input based on the comparison of the MOVMSK result.
      
      This first stage just adds support for some simple MOVMSK(PACKSSBW()) cases where we remove the PACKSS if we're comparing ne/eq zero (any_of patterns), allowing us to directly compare against the v8i16 source vector(s) bitcasted to v16i8, with suitable masking to take into account of which signbits are valid.
      
      Future combines could peek through further PACKSS, target shuffles, handle all_of patterns (ne/eq -1), optimize to a PTEST op, etc.
      
      Differential Revision: https://reviews.llvm.org/D81171
      d194ff31
    • Xun Li's avatar
      Fix the roundtrip test under llvm-profdata · 45f58bf4
      Xun Li authored
      Summary:
      According to the comments, we want to convert the profile into two binary formats, and then into the md5text format.
      We seems to have ignored the intermediate files.
      This patch uses them to complete the full roundtrips.
      
      Reviewers: wmi, wenlei
      
      Reviewed By: wmi
      
      Subscribers: llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D81202
      45f58bf4