[all-commits] [llvm/llvm-project] a135c4: [X86] Don't scalarize v2f32->v2i64 strict_fp_to_si...

topperc via All-commits all-commits at lists.llvm.org
Sun Jun 7 14:46:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a135c4a2cf7197dd3140f610f51b596d7334bae2
      https://github.com/llvm/llvm-project/commit/a135c4a2cf7197dd3140f610f51b596d7334bae2
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
    M llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [X86] Don't scalarize v2f32->v2i64 strict_fp_to_sint/uint with avx512dq and not avx512vl.

We can pad the v2f32 with 0s up to v8f32 and use a v8f32->v8i64
operation. This is what we end up with on non-strict nodes except
we don't pad with 0s since we don't care about exceptions.




More information about the All-commits mailing list