[all-commits] [llvm/llvm-project] 12cc10: [X86] Add DAG combines to form CVTPH2PS/CVTPS2PH f...

topperc via All-commits all-commits at lists.llvm.org
Thu Feb 20 08:27:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 12cc105f806f5a7e7c14350c5ba54654e263c972
      https://github.com/llvm/llvm-project/commit/12cc105f806f5a7e7c14350c5ba54654e263c972
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/half.ll
    M llvm/test/CodeGen/X86/vector-half-conversions.ll

  Log Message:
  -----------
  [X86] Add DAG combines to form CVTPH2PS/CVTPS2PH from vXf16->vXf32/vXf64 fp_extends and vXf32->vXf16 fp_round.

Only handle power of 2 element count for simplicity. Not sure what to do with vXf64->vXf16 fp_round to avoid double rounding

Differential Revision: https://reviews.llvm.org/D74886




More information about the All-commits mailing list