[all-commits] [llvm/llvm-project] 20af71: [X86] combineVSelectToBLENDV - handle vselect(vXi1...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 11 10:38:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20af71f8ec47319d375a871db6fd3889c2487cbd
      https://github.com/llvm/llvm-project/commit/20af71f8ec47319d375a871db6fd3889c2487cbd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

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

  Log Message:
  -----------
  [X86] combineVSelectToBLENDV - handle vselect(vXi1,A,B) -> blendv(sext(vXi1),A,B)

For pre-AVX512 targets, attempt to sign-extend a vXi1 condition mask to pass to a X86ISD::BLENDV node

Fixes Issue #53760




More information about the All-commits mailing list