[clang] [TBAA] Emit distinct TBAA tags for pointers with different depths,types. (PR #76612)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 12 13:09:12 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/1782
Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[297/303] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[298/303] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[299/303] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[300/303] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[301/303] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o
[302/303] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[302/303] Running the Clang regression tests
-- Testing: 20823 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing: 0.. 10.. 20.. 30.
FAIL: Clang :: CodeGen/tbaa-pointers.c (7544 of 20823)
******************** TEST 'Clang :: CodeGen/tbaa-pointers.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes -pointer-tbaa /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,ENABLED /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes -pointer-tbaa /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,ENABLED /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
RUN: at line 3: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang --target=x86_64-apple-darwin -O1 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -S -mllvm -disable-llvm-optzns -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang --target=x86_64-apple-darwin -O1 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -S -mllvm -disable-llvm-optzns -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c:7:19: error: COMMON-LABEL: expected string not found in input
// COMMON-LABEL: define void @p2unsigned(ptr noundef %ptr)
^
<stdin>:1:1: note: scanning from here
; ModuleID = '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c'
^
<stdin>:7:1: note: possible intended match here
define void @p2unsigned(ptr noundef %0) #0 {
^
Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c'
label:7'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: source_filename = "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c"
label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: target triple = "x86_64-apple-macosx10.4.0"
Step 8 (check-llvm) failure: check-llvm (failure)
...
[297/303] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[298/303] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[299/303] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[300/303] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[301/303] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o
[302/303] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[302/303] Running the Clang regression tests
-- Testing: 20823 tests, 48 workers --
llvm-lit: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508: note: using clang: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing: 0.. 10.. 20.. 30.
FAIL: Clang :: CodeGen/tbaa-pointers.c (7544 of 20823)
******************** TEST 'Clang :: CodeGen/tbaa-pointers.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes -pointer-tbaa /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,ENABLED /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 -internal-isystem /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include -nostdsysteminc -triple x86_64-apple-darwin -O1 -disable-llvm-passes -pointer-tbaa /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,ENABLED /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
RUN: at line 3: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang --target=x86_64-apple-darwin -O1 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -S -mllvm -disable-llvm-optzns -o - | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang --target=x86_64-apple-darwin -O1 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c -emit-llvm -S -mllvm -disable-llvm-optzns -o -
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck --check-prefixes=COMMON,DEFAULT /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c:7:19: error: COMMON-LABEL: expected string not found in input
// COMMON-LABEL: define void @p2unsigned(ptr noundef %ptr)
^
<stdin>:1:1: note: scanning from here
; ModuleID = '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c'
^
<stdin>:7:1: note: possible intended match here
define void @p2unsigned(ptr noundef %0) #0 {
^
Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ; ModuleID = '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c'
label:7'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: source_filename = "/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/CodeGen/tbaa-pointers.c"
label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: target triple = "x86_64-apple-macosx10.4.0"
```
https://github.com/llvm/llvm-project/pull/76612
More information about the cfe-commits
mailing list