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

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 19:07:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` running on `solaris11-sparcv9` while building `clang` at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang -cc1 -internal-isystem /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/lib/clang/19/include -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp | /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp -check-prefixes=CHECK,NoNewStructPathTBAA
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang -cc1 -internal-isystem /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/lib/clang/19/include -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp -check-prefixes=CHECK,NoNewStructPathTBAA
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/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: /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp

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

Input was:
<<<<<<
         1: ; ModuleID = '/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp' 
         2: source_filename = "/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp" 
         3: target datalayout = "E-m:e-i64:64-n32:64-S128" 
         4: target triple = "sparcv9-sun-solaris2.11" 
         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