[llvm] d69e701 - [PGO] Add missing target datalayout in test (#169520)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 08:42:39 PST 2025


Author: Joel E. Denny
Date: 2025-11-25T11:42:34-05:00
New Revision: d69e70149636efa0293310303878fbf9a5f31433

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

LOG: [PGO] Add missing target datalayout in test (#169520)

The test was added by b8ef25aa643761233dc5b74d9fb7c38a2064d9c7. It
failed on at least the following bots, but the failure did not reproduce
on my test machines or in pre-commit CI:

- https://lab.llvm.org/buildbot/#/builders/190/builds/31638
- https://lab.llvm.org/buildbot/#/builders/190/builds/31638

This fix hopefully addresses at least the warnings there.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll b/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
index 436324b4bab7a..c91a764681d20 100644
--- a/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
+++ b/llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
@@ -4,6 +4,7 @@
 
 ; RUN: opt -passes=loop-vectorize -S %s | FileCheck %s
 
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
 ; Look for basic signs that vectorization ran and produced memory checks.


        


More information about the llvm-commits mailing list