[llvm] [PGO] Add llvm.loop.estimated_trip_count metadata (PR #152775)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 03:55:55 PDT 2025


================
@@ -0,0 +1,61 @@
+; Test "llvm.loop.estimated_trip_count" validation
+
+; DEFINE: %{RUN} = opt -passes=verify %t -disable-output 2>&1 | \
+; DEFINE:   FileCheck %s -allow-empty -check-prefix
----------------
nikic wrote:

The idiomatic way to do this is split-file. Tests that don't actually contain the tested code are inconvenient.

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


More information about the llvm-commits mailing list