[llvm] [ctx_prof] CtxProfAnalysis: populate module data (PR #102930)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 09:58:48 PDT 2024


================
@@ -0,0 +1,110 @@
+; REQUIRES: x86_64-linux
+
+; RUN: split-file %s %t
+;
+; Test that the GUID metadata survives through thinlink.
+;
+; RUN: llvm-ctxprof-util fromJSON --input=%t/profile.json --output=%t/profile.ctxprofdata
+;
+; Disable pre-inline to avoid losing the trivial functions to the preinliner.
----------------
snehasish wrote:

Can you change it use the attribute, I'm a little wary of disabling critical passes we rely on in tests.

https://github.com/llvm/llvm-project/pull/102930


More information about the llvm-commits mailing list