[all-commits] [llvm/llvm-project] 37c3b8: [X86] combineBitcastvxi1 - handle boolmask sign-ex...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Dec 15 08:40:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37c3b83bd8518f9dc2700509ad385a3a6249f023
      https://github.com/llvm/llvm-project/commit/37c3b83bd8518f9dc2700509ad385a3a6249f023
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

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

  Log Message:
  -----------
  [X86] combineBitcastvxi1 - handle boolmask sign-extension through vselect

See if we can freely sign-extend both sources of a vselect operand, also handle allones constant build vectors (easily rematerializable and uses in the test case).

Fixes #59526




More information about the All-commits mailing list