[all-commits] [llvm/llvm-project] 6feb4a: [IR] Don't allow values of opaque type (#137625)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 30 06:01:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6feb4a8ef4d1e2fc899092fb3f90f11a2d86eccb
      https://github.com/llvm/llvm-project/commit/6feb4a8ef4d1e2fc899092fb3f90f11a2d86eccb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Type.h
    M llvm/lib/IR/Type.cpp
    M llvm/lib/Linker/IRMover.cpp
    M llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll
    M llvm/test/Assembler/2005-05-05-OpaqueUndefValues.ll
    M llvm/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
    M llvm/test/CodeGen/WebAssembly/externref-unsized-load.ll
    M llvm/test/CodeGen/WebAssembly/externref-unsized-store.ll
    M llvm/test/CodeGen/X86/cfguard-x86-64-vectorcall.ll
    M llvm/test/CodeGen/X86/cfguard-x86-vectorcall.ll
    R llvm/test/Linker/Inputs/pr22807-1.ll
    R llvm/test/Linker/Inputs/pr22807-2.ll
    A llvm/test/Linker/Inputs/pr22807.ll
    M llvm/test/Linker/Inputs/type-unique-opaque.ll
    M llvm/test/Linker/intrinsics-with-unnamed-types.ll
    M llvm/test/Linker/pr22807.ll
    M llvm/test/Linker/type-unique-opaque.ll
    M llvm/test/ThinLTO/X86/Inputs/import_opaque_type.ll
    M llvm/test/ThinLTO/X86/import_opaque_type.ll
    M llvm/test/Transforms/InstSimplify/gv-alloca-cmp.ll
    M llvm/test/Transforms/Reg2Mem/non-token-test.ll
    M llvm/test/Verifier/memset-pattern-unsized.ll
    M llvm/test/Verifier/nofpclass.ll
    M llvm/test/Verifier/unsized-types-load.ll
    M llvm/test/Verifier/unsized-types-store.ll
    M llvm/unittests/FuzzMutate/OperationsTest.cpp

  Log Message:
  -----------
  [IR] Don't allow values of opaque type (#137625)

Consider opaque types as non-first-class types, i.e. do not allow SSA
values to have opaque type.



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