[all-commits] [llvm/llvm-project] 96aa76: [X86] Add test showing poor bitselect between cons...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Feb 26 07:32:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96aa76aa716d577d31a2831c8d3a85ddd6b3de80
      https://github.com/llvm/llvm-project/commit/96aa76aa716d577d31a2831c8d3a85ddd6b3de80
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-02-26 (Sun, 26 Feb 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/bitselect.ll

  Log Message:
  -----------
  [X86] Add test showing poor bitselect between constants on BMI targets

bitselect(52,-6553,m) -> xor(and(xor(52,-6553),m),52) folds much better than or(and(52,not(m)),and(-6553,m))




More information about the All-commits mailing list