[all-commits] [llvm/llvm-project] a8e486: [Bitcode] Fix constexpr expansion creating invalid...

Timothy Werquin via All-commits all-commits at lists.llvm.org
Tue May 27 06:52:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8e486bfc4960a532d81f41c56d25e46e559157a
      https://github.com/llvm/llvm-project/commit/a8e486bfc4960a532d81f41c56d25e46e559157a
  Author: Timothy Werquin <timothy at werquin.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

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

  Log Message:
  -----------
  [Bitcode] Fix constexpr expansion creating invalid PHIs (#141560)

Fixes errors about duplicate PHI edges when the input had duplicates
with constexprs in them. The constexpr translation makes new basic
blocks, causing the verifier to complain about duplicate entries in PHI
nodes.



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