[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:30 PDT 2026


================
@@ -47,6 +47,14 @@ using VectorParts = SmallVector<Value *, 2>;
 #define LV_NAME "loop-vectorize"
 #define DEBUG_TYPE LV_NAME
 
+#if !defined(NDEBUG)
----------------
fhahn wrote:

I think this needs to match the guard for the ::print implementation, otherwise build may fail

```suggestion
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
```

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


More information about the llvm-commits mailing list