This is an archive of the discontinued LLVM Phabricator instance.

[BitCodeAnalyzer] Add a few missing TYPE_CODES and MODULE_CODE_COMDAT to GetCodeName
ClosedPublic

Authored by craig.topper on Aug 31 2020, 5:08 PM.

Details

Summary

Happened to notice some of these printing as UnknownCode while running llvm-bcanalyzer on a bc file I had.

Not sure how we usually test these.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 31 2020, 5:08 PM
craig.topper requested review of this revision.Aug 31 2020, 5:08 PM

Maybe follow llvm/test/Bitcode/bcanalyzer-atomics.ll?

This revision is now accepted and ready to land.Oct 12 2020, 1:45 PM