[llvm] 0cd6763 - [MemProf] Fix buildbot errors by requiring zlib

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 13:14:16 PDT 2022


Author: Teresa Johnson
Date: 2022-09-22T13:13:54-07:00
New Revision: 0cd6763fa93159b84d70a5bb602c24996acaafaa

URL: https://github.com/llvm/llvm-project/commit/0cd6763fa93159b84d70a5bb602c24996acaafaa
DIFF: https://github.com/llvm/llvm-project/commit/0cd6763fa93159b84d70a5bb602c24996acaafaa.diff

LOG: [MemProf] Fix buildbot errors by requiring zlib

This should fix errors like the following from using the raw
memprof_pgo.profraw profile in a212d8da94d08e229aa8d65283e4b116310bba10:

profile uses zlib compression but the profile reader was built without zlib support

E.g.
https://lab.llvm.org/buildbot/#/builders/196/builds/18536

Added: 
    

Modified: 
    llvm/test/Transforms/PGOProfile/memprof.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/PGOProfile/memprof.ll b/llvm/test/Transforms/PGOProfile/memprof.ll
index 6cb362626dac..0792aa127772 100644
--- a/llvm/test/Transforms/PGOProfile/memprof.ll
+++ b/llvm/test/Transforms/PGOProfile/memprof.ll
@@ -1,3 +1,5 @@
+; REQUIRES: zlib
+
 ;; Tests memprof profile matching (with and without instrumentation profiles).
 
 ;; TODO: Use text profile inputs once that is available for memprof.


        


More information about the llvm-commits mailing list