[all-commits] [llvm/llvm-project] 47b7f3: [IR] Allow llvm.ptrmask of vectors (#67434)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Sep 27 06:01:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47b7f33b13b698575432fabc5010c79a0c384b19
      https://github.com/llvm/llvm-project/commit/47b7f33b13b698575432fabc5010c79a0c384b19
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/CodeGen/X86/lower-ptrmask.ll
    M llvm/test/Transforms/InstCombine/consecutive-ptrmask.ll
    A llvm/test/Verifier/ptrmask.ll

  Log Message:
  -----------
  [IR] Allow llvm.ptrmask of vectors (#67434)

llvm.ptrmask is currently limited to pointers only, and does not accept
vectors of pointers. This is an unnecessary limitation, especially as
the underlying instructions (getelementptr etc) do support vectors of
pointers.

We should relax this sooner rather than later, to avoid introducing code
that assumes non-vectors (#67166).




More information about the All-commits mailing list