[all-commits] [llvm/llvm-project] db0095: Fix bitcode decoder error in "Encode alignment att...

James Y Knight via All-commits all-commits at lists.llvm.org
Thu Feb 11 19:30:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db00953ff32aa3c64200871ae4bcd15a776acca0
      https://github.com/llvm/llvm-project/commit/db00953ff32aa3c64200871ae4bcd15a776acca0
  Author: James Y Knight <jyknight at google.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp

  Log Message:
  -----------
  Fix bitcode decoder error in "Encode alignment attribute for `atomicrmw`"

The wrong record field number was being used in bitcode decoding,
which broke a self-hosted LTO build. (Yet, somehow, this _doesn't_
seem to have broken simple bitcode encode/decode roundtrip tests, and
I'm not sure why...)

Fixes commit d06ab79816785fa362e7d96d7a398bea8064cba7




More information about the All-commits mailing list