This is an archive of the discontinued LLVM Phabricator instance.

[Bitcode][Asm] Read metadata value from operand bundles in and out
Needs ReviewPublic

Authored by necipfazil on Jul 28 2021, 11:09 PM.

Details

Reviewers
kcc
morehouse
Summary

This revision does not contain any changes but how the expected changes
should be tested.

Metadata operand bundle value is garbage when LLVM IR is compiled to
bitcode, then disassembled back to LLVM IR, like the tests do in this
revision. Fixing the issue should have the tests pass.

Diff Detail

Event Timeline

necipfazil requested review of this revision.Jul 28 2021, 11:09 PM
necipfazil created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2021, 11:09 PM

Please mark the following bug report resolved when this is fixed: https://bugs.llvm.org/show_bug.cgi?id=51264

Thanks for the tests. I guess we can't submit this patch until we have a fix.

Could you add a TODO in the new code (maybe https://reviews.llvm.org/D107038) that refers to the bug?

Could you add a TODO in the new code (maybe https://reviews.llvm.org/D107038) that refers to the bug?

Done.