[all-commits] [llvm/llvm-project] 159cac: [X86] Don't fold select for vXi1 on X86 target.

Luo, Yuanke via All-commits all-commits at lists.llvm.org
Mon Jan 16 16:01:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 159cac50cfc12f8951e80d640909ff08364e65de
      https://github.com/llvm/llvm-project/commit/159cac50cfc12f8951e80d640909ff08364e65de
  Author: Luo, Yuanke <yuanke.luo at intel.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fold-select.ll

  Log Message:
  -----------
  [X86] Don't fold select for vXi1 on X86 target.

Since there is no mask instruction for vXi1 with avx512f in X86 target.
Folding select for vXi1 doesn't help to reduce instructions.

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




More information about the All-commits mailing list