[all-commits] [llvm/llvm-project] 05d442: [X86] Use MOVZX instead of MOVSX in f16_to_fp isel...

topperc via All-commits all-commits at lists.llvm.org
Sun Feb 9 21:14:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05d44204fa13767a366c37695c2131161158ea36
      https://github.com/llvm/llvm-project/commit/05d44204fa13767a366c37695c2131161158ea36
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-02-09 (Sun, 09 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrSSE.td
    M llvm/test/CodeGen/X86/avx512-insert-extract.ll
    M llvm/test/CodeGen/X86/avx512-vec-cmp.ll
    M llvm/test/CodeGen/X86/half.ll
    M llvm/test/CodeGen/X86/pr31088.ll
    M llvm/test/CodeGen/X86/vec_fp_to_int.ll
    M llvm/test/CodeGen/X86/vector-half-conversions.ll

  Log Message:
  -----------
  [X86] Use MOVZX instead of MOVSX in f16_to_fp isel patterns.

Using sign extend forces the adjacent element to either all zeros
or all ones. But all ones is a NAN. So that doesn't seem like a
great idea.

Trying to work on supporting this with strict FP where NAN would
definitely be bad.


  Commit: f24c43c0c50f2b89f6ce74bcdb0b24a8d73d4cc6
      https://github.com/llvm/llvm-project/commit/f24c43c0c50f2b89f6ce74bcdb0b24a8d73d4cc6
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-02-09 (Sun, 09 Feb 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/fastmath-float-half-conversion.ll

  Log Message:
  -----------
  [X86] Autogenerate complete checks. NFC


Compare: https://github.com/llvm/llvm-project/compare/64f417200e10...f24c43c0c50f


More information about the All-commits mailing list