Skip to content
  1. Sep 11, 2018
  2. Sep 10, 2018
  3. Sep 09, 2018
    • Craig Topper's avatar
      [X86] Custom type legalize (v2i32 (fp_to_uint v2f64))) without avx512vl by... · 38235161
      Craig Topper authored
      [X86] Custom type legalize (v2i32 (fp_to_uint v2f64))) without avx512vl by widening to v4i32 and v4f64 instead of v8i32 and v8f64. Make it aware of x86-experimental-vector-widening-legalization
      
      We have isel patterns for v4i32/v4f64 that artificially widen to v8i32/v8f64 so just use that.
      
      If x86-experimental-vector-widening-legalization is enabled, we don't need any custom legalization and can just return. I've modified the test RUN lines to cover this case.
      
      llvm-svn: 341765
      38235161
    • Sanjay Patel's avatar
      [SelectionDAG] enhance vector demanded elements to look at a vector select condition operand · 6ebf218e
      Sanjay Patel authored
      This is the DAG equivalent of D51433.
      If we know we're not using all vector lanes, use that knowledge to potentially simplify a vselect condition.
      
      The reduction/horizontal tests show that we are eliminating AVX1 operations on the upper half of 256-bit 
      vectors because we don't need those anyway.
      I'm not sure what the pr34592 test is showing. That's run with -O0; is SimplifyDemandedVectorElts supposed 
      to be running there?
      
      Differential Revision: https://reviews.llvm.org/D51696
      
      llvm-svn: 341762
      6ebf218e
  4. Sep 08, 2018
Loading