[all-commits] [llvm/llvm-project] 4abf02: Remove references to the 4.0 release as a major br...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Jun 25 16:49:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4abf0243367d6e923cfa1a32e26ac3cb7787e3c9
      https://github.com/llvm/llvm-project/commit/4abf0243367d6e923cfa1a32e26ac3cb7787e3c9
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M llvm/docs/HowToUseAttributes.rst
    M llvm/include/llvm/Bitcode/LLVMBitCodes.h
    M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/IR/DataLayout.cpp

  Log Message:
  -----------
  Remove references to the 4.0 release as a major breaking (NFC)

This is cleaning up comments (mostly in the bitcode handling) about
removing some backward compatibility aspect in the 4.0 release.
Historically, "4.0" was used during the development of the 3.x
versions as "this future major breaking change version". At the time
the major number was used to indicate the compatibility. When we
reached 3.9 we decided to change the numbering, instead of going to
3.10 we went to 4.0 but after changing the meaning of the major
number to not mean anything anymore with respect to bitcode backward
compatibility.

The current policy
(https://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility)
indicates only now:

  The current LLVM version supports loading any bitcode since version 3.0.

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




More information about the All-commits mailing list