[llvm] [LV][NFC] Use APFloat class when printing out costs per lane (PR #201824)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 04:59:29 PDT 2026
================
@@ -47,6 +47,14 @@ using VectorParts = SmallVector<Value *, 2>;
#define LV_NAME "loop-vectorize"
#define DEBUG_TYPE LV_NAME
+#if !defined(NDEBUG)
+// It is sometimes necessary to disable printing of metadata in tests in order
+// to avoid non-deterministic behaviour.
----------------
fhahn wrote:
Can we clarify what is non-deterministic? It should only be metadata added by versioning, which is not yet inserted/materialized in the module I think
https://github.com/llvm/llvm-project/pull/201824
More information about the llvm-commits
mailing list