[all-commits] [llvm/llvm-project] 90330e: [NVPTX] Set v2i16 SETCC to Expand (#108969)

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Sep 18 23:12:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90330e993d74b90325d936c9ec923c82623b20db
      https://github.com/llvm/llvm-project/commit/90330e993d74b90325d936c9ec923c82623b20db
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    A llvm/test/CodeGen/NVPTX/sext-setcc.ll

  Log Message:
  -----------
  [NVPTX] Set v2i16 SETCC to Expand (#108969)

Note that this refers to the return type of SETCC. This operation is not
legal in PTX but was assumed as such because v2i16 is declared a legal
type. We were already expanding v4i8 SETCC.

The DAGCombiner would in certain circumstances try to fold an extension
of an illegal v2i1 SETCC (because v2i1 is illegal) into a "legal" v2i16
SETCC, which we wouldn't have patterns for.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list