[llvm-branch-commits] [llvm] [pgo] add means to specify "unknown" MD_prof (PR #145578)
Mircea Trofin via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 24 13:56:57 PDT 2025
================
@@ -0,0 +1,30 @@
+; Test branch weight unknown validation
+
+; RUN: split-file %s %t
+; RUN: opt -passes=verify %t/correct.ll --disable-output
+; RUN: not opt -passes=verify %t/incorrect.ll --disable-output
----------------
mtrofin wrote:
yes, and I'll move these to llvm/test/Verifier/branch-weights.ll from the last patch
https://github.com/llvm/llvm-project/pull/145578
More information about the llvm-branch-commits
mailing list