[all-commits] [llvm/llvm-project] 8349ac: [x86] add test for sext-of-setcc; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Wed Jun 2 10:15:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8349ac9aa944525e2da5ebd4c7a09b9a98aab0eb
      https://github.com/llvm/llvm-project/commit/8349ac9aa944525e2da5ebd4c7a09b9a98aab0eb
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-06-02 (Wed, 02 Jun 2021)

  Changed paths:
    M llvm/test/CodeGen/X86/sext-vsetcc.ll

  Log Message:
  -----------
  [x86] add test for sext-of-setcc; NFC

D103462


  Commit: ede3982792dfc6c00a4f185f88ce0e799e2545af
      https://github.com/llvm/llvm-project/commit/ede3982792dfc6c00a4f185f88ce0e799e2545af
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-06-02 (Wed, 02 Jun 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/sext-vsetcc.ll

  Log Message:
  -----------
  [SDAG] allow more cast folding for vector sext-of-setcc

This is a follow-up to D103280 that eases the use restrictions,
so we can handle the motivating case from:
https://llvm.org/PR50055

The loop code is adapted from similar use checks in
ExtendUsesToFormExtLoad() and SliceUpLoad(). I did not see an
easier way to filter out non-chain uses of load values.

Differential Revision: https://reviews.llvm.org/D103462


Compare: https://github.com/llvm/llvm-project/compare/90f207a78151...ede3982792df


More information about the All-commits mailing list