[all-commits] [llvm/llvm-project] e6b022: [IR] Add a target extension type to LLVM.

Joshua Cranmer via All-commits all-commits at lists.llvm.org
Tue Dec 20 08:03:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6b02214c68df2c9f826e02310c9352ac652e456
      https://github.com/llvm/llvm-project/commit/e6b02214c68df2c9f826e02310c9352ac652e456
  Author: Joshua Cranmer <joshua.cranmer at intel.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M llvm/docs/BitCodeFormat.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm-c/Core.h
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/include/llvm/IR/Constants.h
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/include/llvm/IR/DerivedTypes.h
    M llvm/include/llvm/IR/Type.h
    M llvm/include/llvm/IR/Value.def
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/IR/DataLayout.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/IR/LLVMContextImpl.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/lib/IR/Type.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/lib/Transforms/Utils/VNCoercion.cpp
    A llvm/test/Assembler/invalid-target-type-mixed.ll
    A llvm/test/Assembler/target-type-mangled.ll
    A llvm/test/Assembler/target-type-params.ll
    A llvm/test/Assembler/target-type-properties.ll
    A llvm/test/Assembler/target-types.ll
    A llvm/test/Transforms/GVN/target-type.ll
    A llvm/test/Transforms/SROA/sroa-target.ll
    M llvm/tools/llvm-c-test/echo.cpp
    M llvm/unittests/IR/TypesTest.cpp

  Log Message:
  -----------
  [IR] Add a target extension type to LLVM.

Target-extension types represent types that need to be preserved through
optimization, but otherwise are not introspectable by target-independent
optimizations. This patch doesn't add any uses of these types by an existing
backend, it only provides basic infrastructure such that these types would work
correctly.

Reviewed By: nikic, barannikov88

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




More information about the All-commits mailing list