[all-commits] [llvm/llvm-project] fb423b: [ThinLTO] Error on missing ValueInfo for function ...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Jul 14 06:18:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb423ba07c3ff51fda3caa41d8bbb78d50f61906
      https://github.com/llvm/llvm-project/commit/fb423ba07c3ff51fda3caa41d8bbb78d50f61906
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    A llvm/test/Assembler/thinlto-bad-summary-5.ll

  Log Message:
  -----------
  [ThinLTO] Error on missing ValueInfo for function definition

We assume that these are available inside of BitcodeWriter
https://github.com/llvm/llvm-project/blob/09796808802f99c30a23bc0f2cd68243764e84ab/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp#L4927,
but do not currently validate this in input IR. This means that when
doing reductions with automated tooling in a non-asserts build, it is
pretty easy to end up with invalid IR that is not caught as invalid.

Reviewers: teresajohnson, mtrofin

Pull Request: https://github.com/llvm/llvm-project/pull/208948



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list