[all-commits] [llvm/llvm-project] 05b86a: [Bitcode] Support expanding constant expressions i...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 28 06:04:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05b86a8fea23865e4a437efa9cb4f6844ccbf50e
      https://github.com/llvm/llvm-project/commit/05b86a8fea23865e4a437efa9cb4f6844ccbf50e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.h
    A llvm/test/Bitcode/Inputs/constexpr-to-instr-metadata.bc
    A llvm/test/Bitcode/constexpr-to-instr-metadata.ll

  Log Message:
  -----------
  [Bitcode] Support expanding constant expressions in function metadata

This fixes the bitcode upgrade failure reported in
https://reviews.llvm.org/D155924#4616789.

The expansion always happens in the entry block, so this may be
inaccurate if there are trapping constant expressions.




More information about the All-commits mailing list