[all-commits] [llvm/llvm-project] 04527f: [X86][BF16] Customize INSERT_VECTOR_ELT for bf16 w...

Phoebe Wang via All-commits all-commits at lists.llvm.org
Sat Jul 22 05:51:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04527f1d32de8d84cba73ed6b321eb7c88f39256
      https://github.com/llvm/llvm-project/commit/04527f1d32de8d84cba73ed6b321eb7c88f39256
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-07-22 (Sat, 22 Jul 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bfloat.ll

  Log Message:
  -----------
  [X86][BF16] Customize INSERT_VECTOR_ELT for bf16 when feature BF16 is on

Fixes root cause of #63017.
The reason is similar to BUILD_VECTOR. We have legal vector type but
still soft promote for scalar type. So we need to customize these scalar
to vector nodes.

Reviewed By: RKSimon

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




More information about the All-commits mailing list