[llvm] [RISCV] Don't forward AVL in VSETVLIInfo if it would clobber other definitions (PR #97264)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 4 20:57:06 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/1146
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'SanitizerCommon-hwasan-x86_64-Linux :: Linux/soft_rss_limit_mb_test.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -fsanitize-hwaddress-experimental-aliasing -m64 -funwind-tables -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test -ldl -O2 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -fsanitize-hwaddress-experimental-aliasing -m64 -funwind-tables -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test -ldl -O2 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
RUN: at line 5: env HWASAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp 2>&1 | FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_1
+ env HWASAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp -check-prefix=CHECK_MAY_RETURN_1
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp:68:24: [0m[0;1;31merror: [0m[1mCHECK_MAY_RETURN_1: expected string not found in input
[0m// CHECK_MAY_RETURN_1: allocating 512 times
[0;1;32m ^
[0m[1m<stdin>:52:44: [0m[0;1;30mnote: [0m[1mscanning from here
[0mSome of the malloc calls returned non-null: 256
[0;1;32m ^
[0m[1m<stdin>:53:26: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m==2943521==HWAddressSanitizer: soft rss limit unexhausted (220Mb vs 6Mb)
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m[0] [0mallocating 32 times[0;1;46m [0m
[0;1;32mcheck:63 ^~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 2: [0m[1m[0;1;46m [0] [0m
[0;1;30m 3: [0m[1m[0;1;46m [4] [0m
[0;1;30m 4: [0m[1m[0;1;46m [8] [0m
[0;1;30m 5: [0m[1m[0;1;46m [12] [0m
[0;1;30m 6: [0m[1m[0;1;46m [16] [0m
[0;1;30m 7: [0m[1m[0;1;46m [20] [0m
[0;1;30m 8: [0m[1m[0;1;46m [24] [0m
[0;1;30m 9: [0m[1m[0;1;46m [28] [0m
[0;1;30m 10: [0m[1m[0;1;46m[0mSome of the malloc calls returned non-null:[0;1;46m 32 [0m
[0;1;32mcheck:64 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m[1] allocating 64 times [0m
[0;1;30m 12: [0m[1m[0;1;46m [0] [0m
[0;1;30m 13: [0m[1m[0;1;46m [8] [0m
[0;1;30m 14: [0m[1m[0;1;46m [16] [0m
[0;1;30m 15: [0m[1m[0;1;46m [24] [0m
[0;1;30m 16: [0m[1m[0;1;46m [32] [0m
[0;1;30m 17: [0m[1m[0;1;46m [40] [0m
[0;1;30m 18: [0m[1m[0;1;46m [48] [0m
[0;1;30m 19: [0m[1m[0;1;46m [56] [0m
[0;1;30m 20: [0m[1m[0;1;46mSome of the malloc calls returned non-null: 64 [0m
[0;1;30m 21: [0m[1m[0;1;46m[2] allocating 128 times [0m
...
```
https://github.com/llvm/llvm-project/pull/97264
More information about the llvm-commits
mailing list