[all-commits] [llvm/llvm-project] aeb462: [X86] Remove unnecessary OneUse limit from combine...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Apr 11 06:24:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeb4626b395960d885c45c39b8cd0aab4e7d6c31
      https://github.com/llvm/llvm-project/commit/aeb4626b395960d885c45c39b8cd0aab4e7d6c31
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

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

  Log Message:
  -----------
  [X86] Remove unnecessary OneUse limit from combineToExtendBoolVectorInReg (vXi1 bitcast(iX Cond)) select expansion

We already allow multiple uses when calling from combineSext/combineZext - adding hasOneUse seems to have been a copy+paste from some of the similar AVX512 vselect folds.

Fixes #62014




More information about the All-commits mailing list