[all-commits] [llvm/llvm-project] 1bb95a: [X86] combinePredicateReduction - attempt to fold ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Feb 12 07:24:02 PST 2023


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

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

  Log Message:
  -----------
  [X86] combinePredicateReduction - attempt to fold subvector all_of(icmp_eq()) / any_of(icmp_ne()) to integers

Noticed while working on Issue #59867 and Issue #53419 - there's still more to do here, but for "all vector" comparisons, we should try to cast to a scalar integer for sub-128bit types




More information about the All-commits mailing list