[clang] [test] Precommit tests for PR96025, NFC (PR #98704)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 16 20:13:10 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv7-global-isel` running on `linaro-clang-armv7-global-isel` while building `clang` at step 7 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/39/builds/569
Here is the relevant piece of the build log for the reference:
```
Step 7 (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: /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/lib/clang/19/include -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp | /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp -check-prefixes=CHECK,NoNewStructPathTBAA
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp -check-prefixes=CHECK,NoNewStructPathTBAA
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/clang -cc1 -internal-isystem /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/lib/clang/19/include -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp:13:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds i8, ptr [[NUM]], i64 40
^
<stdin>:8:7: note: scanning from here
entry:
^
<stdin>:8:7: note: with "NUM" equal to "%num"
entry:
^
<stdin>:9:10: note: possible intended match here
%arrayidx = getelementptr inbounds i8, ptr %num, i32 40
^
Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp'
2: source_filename = "/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp"
3: target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
4: target triple = "armv8l-unknown-linux-gnueabihf"
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 %n) local_unnamed_addr #0 {
8: entry:
next:13'0 X error: no match found
next:13'1 with "NUM" equal to "%num"
9: %arrayidx = getelementptr inbounds i8, ptr %num, i32 40
next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:13'2 ? possible intended match
10: %0 = load float, ptr %arrayidx, align 4, !tbaa !3
next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11: %call = tail call float @expf(float noundef %0) #2
next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: %1 = load float, ptr %arrayidx, align 4, !tbaa !3
next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13: %mul = fmul float %call, %1
next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14: ret float %mul
...
```
https://github.com/llvm/llvm-project/pull/98704
More information about the cfe-commits
mailing list