[all-commits] [llvm/llvm-project] 610abe: Revert "[BitcodeReader] Allow reading pointer type...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 18 00:53:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 610abe8039eaaebfc37cb78b0bc1dbe0bc43ff50
      https://github.com/llvm/llvm-project/commit/610abe8039eaaebfc37cb78b0bc1dbe0bc43ff50
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeReader.h
    M llvm/include/llvm/IRReader/IRReader.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.h
    M llvm/lib/IRReader/IRReader.cpp
    M llvm/tools/llc/llc.cpp
    M llvm/tools/opt/opt.cpp
    M llvm/unittests/Bitcode/BitReaderTest.cpp

  Log Message:
  -----------
  Revert "[BitcodeReader] Allow reading pointer types from old IR"

This reverts commit b56df190b01335506ce30a4559d880da76d1a181.

The unit tests are implemented in a way that requires support for
writing typed pointer bitcode, which is going away soon. Please
rewrite it in a way that not have requirement, e.g. by shipping
pre-compiled bitcode, as we do for integration tests.




More information about the All-commits mailing list