[llvm] [Asan] Provide TTI hook to provide memory reference infromation of target intrinsics. (PR #97070)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 22:54:15 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

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

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)
...
[642/643] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 54848 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.
FAIL: LLVM :: Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll (31631 of 54848)
******************** TEST 'LLVM :: Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt < /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll -mtriple=riscv64 -mattr=+v -passes=asan  -asan-instrumentation-with-call-threshold=0 -S | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -mtriple=riscv64 -mattr=+v -passes=asan -asan-instrumentation-with-call-threshold=0 -S
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt: warning: failed to infer data layout: unable to get target for 'riscv64', see --version and --triple.
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt: WARNING: failed to create target machine for 'riscv64': unable to get target for 'riscv64', see --version and --triple.
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:12:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP2:%.*]] = load i64, ptr @__asan_shadow_memory_dynamic_address, align 8
              ^
<stdin>:16:7: note: scanning from here
entry:
      ^
<stdin>:17:2: note: possible intended match here
 %2 = load i64, ptr @__asan_shadow_memory_dynamic_address, align 4
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:55:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP4:%.*]] = load i64, ptr @__asan_shadow_memory_dynamic_address, align 8
              ^
<stdin>:24:7: note: scanning from here
entry:
      ^
<stdin>:25:2: note: possible intended match here
 %4 = load i64, ptr @__asan_shadow_memory_dynamic_address, align 4
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:97:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP3:%.*]] = load i64, ptr @__asan_shadow_memory_dynamic_address, align 8
              ^
<stdin>:32:7: note: scanning from here
entry:
      ^
<stdin>:33:2: note: possible intended match here
 %3 = load i64, ptr @__asan_shadow_memory_dynamic_address, align 4
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:139:15: error: CHECK-NEXT: expected string not found in input
Step 8 (check-llvm) failure: check-llvm (failure)
...
[642/643] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 54848 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.
FAIL: LLVM :: Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll (31631 of 54848)
******************** TEST 'LLVM :: Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt < /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll -mtriple=riscv64 -mattr=+v -passes=asan  -asan-instrumentation-with-call-threshold=0 -S | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -mtriple=riscv64 -mattr=+v -passes=asan -asan-instrumentation-with-call-threshold=0 -S
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt: warning: failed to infer data layout: unable to get target for 'riscv64', see --version and --triple.
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt: WARNING: failed to create target machine for 'riscv64': unable to get target for 'riscv64', see --version and --triple.
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:12:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP2:%.*]] = load i64, ptr @__asan_shadow_memory_dynamic_address, align 8
              ^
<stdin>:16:7: note: scanning from here
entry:
      ^
<stdin>:17:2: note: possible intended match here
 %2 = load i64, ptr @__asan_shadow_memory_dynamic_address, align 4
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:55:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP4:%.*]] = load i64, ptr @__asan_shadow_memory_dynamic_address, align 8
              ^
<stdin>:24:7: note: scanning from here
entry:
      ^
<stdin>:25:2: note: possible intended match here
 %4 = load i64, ptr @__asan_shadow_memory_dynamic_address, align 4
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:97:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP3:%.*]] = load i64, ptr @__asan_shadow_memory_dynamic_address, align 8
              ^
<stdin>:32:7: note: scanning from here
entry:
      ^
<stdin>:33:2: note: possible intended match here
 %3 = load i64, ptr @__asan_shadow_memory_dynamic_address, align 4
 ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Instrumentation/AddressSanitizer/RISCV/asan-rvv-intrinsics.ll:139:15: error: CHECK-NEXT: expected string not found in input

```

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


More information about the llvm-commits mailing list