[all-commits] [llvm/llvm-project] 20aab4: [X86] Custom widen v2i32->v2f32 strict_sint_to_fp ...

topperc via All-commits all-commits at lists.llvm.org
Fri Dec 27 00:29:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20aab49492043acd5a6fe28ad80ddaa667ccfc9e
      https://github.com/llvm/llvm-project/commit/20aab49492043acd5a6fe28ad80ddaa667ccfc9e
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-27 (Fri, 27 Dec 2019)

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

  Log Message:
  -----------
  [X86] Custom widen v2i32->v2f32 strict_sint_to_fp to avoid scalarization.


  Commit: 931946bb1db05f5180503e014f5b7d398579b1c3
      https://github.com/llvm/llvm-project/commit/931946bb1db05f5180503e014f5b7d398579b1c3
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-27 (Fri, 27 Dec 2019)

  Changed paths:
    M llvm/test/CodeGen/X86/vec_int_to_fp.ll

  Log Message:
  -----------
  [X86] Add v2i32->v2f32 non-strict sint_to_fp/uint_to_fp tests. NFC


  Commit: fca4736874554e059076d14a8ed38ec7853f7ae3
      https://github.com/llvm/llvm-project/commit/fca4736874554e059076d14a8ed38ec7853f7ae3
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-12-27 (Fri, 27 Dec 2019)

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

  Log Message:
  -----------
  [X86] Allow v2i32->v2f32 strict and non-strict uint_to_fp to be widened to v4i32->v4f32 under avx512.

With avx512vl we get v4i32->v4f32 uint_to_fp instructions. With
avx512f we get v16i32->v16f32 instructions which we can use to
emulate v4i32->v4f32.


Compare: https://github.com/llvm/llvm-project/compare/e7a296a312c6...fca473687455


More information about the All-commits mailing list