Skip to content
  1. Feb 11, 2019
  2. Feb 10, 2019
  3. Feb 09, 2019
    • Simon Pilgrim's avatar
      [X86] Add tests for funnel undef argument combines · a561d466
      Simon Pilgrim authored
      If one of the shifted arguments is undef we should be folding to a regular shift.
      
      llvm-svn: 353628
      a561d466
    • Simon Pilgrim's avatar
      [X86] CombineOr - fold to generic funnel shifts · 6bf7b30b
      Simon Pilgrim authored
      As discussed on D57389, this is a first step towards moving the SHLD/SHRD matching code to DAGCombiner using FSHL/FSHR instead.
      
      There's a bit of work to do before I can do that, so this just folds to FSHL/FSHR in the existing code (handling the different SHRD/FSHR argument ordering), which fixes the issue we had with i16 shift amounts not being correctly masked.
      
      llvm-svn: 353626
      6bf7b30b
Loading