Retain LLVM IR metadata in godbolt

36 views
Skip to first unread message

Mingming Liu

unread,
May 25, 2022, 1:10:20 AM5/25/22
to Compiler Explorer Discussion
Hi,
  https://godbolt.org/z/9xo3fa9dh is generating the LLVM IR for a simple 13 line function. 

Note "!prof !6" exists in the IR but the MD_prof metadata is missing. Is this working as intended? Is there a way (option) to retain the IR metadata? Thanks!

Mingming Liu

unread,
May 25, 2022, 1:53:30 AM5/25/22
to Compiler Explorer Discussion
Update: the answer is to undo the filter of directive, basically click Filter and then Directive. result in https://godbolt.org/z/P4fPo7nq3
--

Mingming Liu | Software Engineer | ming...@google.com |
Reply all
Reply to author
Forward
0 new messages