[all-commits] [llvm/llvm-project] 8c7349: [OpaquePtr] Support opaque pointers in intrinsic t...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 1 09:27:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c7349b3f43267036f6c133d3502def86307528a
      https://github.com/llvm/llvm-project/commit/8c7349b3f43267036f6c133d3502def86307528a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M llvm/include/llvm/IR/LLVMContext.h
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/LLVMContext.cpp
    A llvm/test/Assembler/remangle-intrinsic-opaque-ptr.ll
    M llvm/test/Other/force-opaque-ptrs.ll

  Log Message:
  -----------
  [OpaquePtr] Support opaque pointers in intrinsic type check

This adds support for opaque pointers in intrinsic type checks
of IIT kind Pointer and PtrToElt.

This is less straight-forward than it might initially seem, because
we should only accept opaque pointers here in --force-opaque-pointers
mode. Otherwise, there would be more than one valid type signature
for a given intrinsic name.

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




More information about the All-commits mailing list