[all-commits] [llvm/llvm-project] 48e0a6: [DXILBitcodeWriter] Don't create a new abbrev per ...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Aug 21 13:59:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48e0a6f902eece9403216304c5cdbc42ab3fe737
      https://github.com/llvm/llvm-project/commit/48e0a6f902eece9403216304c5cdbc42ab3fe737
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    A llvm/test/tools/dxil-dis/md-manystrings.ll

  Log Message:
  -----------
  [DXILBitcodeWriter] Don't create a new abbrev per MDString

We were running out of abbrevs and crashing if there were more than 20
something strings in metadata, which turned out to be a bug where we
created an abbrev every time we emitted a string rather than just one
for the string table.

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




More information about the All-commits mailing list