[all-commits] [llvm/llvm-project] ac4f3f: [SDAG] Clarify behavior of scalable demanded/undef...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Oct 11 07:29:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac4f3fff8c85f30782391d4500938ca1ec62d3d9
      https://github.com/llvm/llvm-project/commit/ac4f3fff8c85f30782391d4500938ca1ec62d3d9
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp

  Log Message:
  -----------
  [SDAG] Clarify behavior of scalable demanded/undef elts in isSplatValue [nfc]

Update comment, and add an assertion to check property expected by sole (non-test) caller.  Remove tests which appear to have been copied from fixed vector tests, and whose demanded bits don't correspond to the way this interface is otherwise used.




More information about the All-commits mailing list