[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 18:46:45 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while building `clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/1384

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/19/include -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp -check-prefixes=CHECK,NoNewStructPathTBAA
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/19/include -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp -check-prefixes=CHECK,NoNewStructPathTBAA
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp:11:16: error: CHECK-SAME: expected string not found in input
// CHECK-SAME: ptr nocapture noundef readonly [[NUM:%.*]], float noundef [[R2INV:%.*]], i32 noundef [[N:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
               ^
<stdin>:7:29: note: scanning from here
define dso_local float @foo(ptr nocapture noundef readonly %num, float noundef %r2inv, i32 noundef signext %n) local_unnamed_addr #0 {
                            ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
         1: ; ModuleID = '/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp' 
         2: source_filename = "/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp" 
         3: target datalayout = "e-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512" 
         4: target triple = "powerpc64le-unknown-linux-gnu" 
         5:  
         6: ; Function Attrs: mustprogress nofree nounwind willreturn memory(write, argmem: readwrite) 
         7: define dso_local float @foo(ptr nocapture noundef readonly %num, float noundef %r2inv, i32 noundef signext %n) local_unnamed_addr #0 { 
same:11                                 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
         8: entry: 
same:11     ~~~~~~~
         9:  %arrayidx = getelementptr inbounds i8, ptr %num, i64 40 
same:11     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        11:  %call = tail call float @expf(float noundef %0) #2 
same:11     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         .
         .
         .
>>>>>>

--

********************


```

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


More information about the cfe-commits mailing list