[llvm] [msan] Switch to -msan-handle-icmp-exact my default (PR #113200)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 12:46:32 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Instrumentation/MemorySanitizer/pr32842.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt < /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Instrumentation/MemorySanitizer/pr32842.ll -S -passes=msan 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Instrumentation/MemorySanitizer/pr32842.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -S -passes=msan
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Instrumentation/MemorySanitizer/pr32842.ll
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Instrumentation/MemorySanitizer/pr32842.ll:18:15: error: CHECK-NEXT: is not on the line after the previous match
; CHECK-NEXT: [[TMP28:%.*]] = shl i32 [[TMP0]], 1
              ^
<stdin>:28:2: note: 'next' match was here
 %8 = shl i32 %0, 1
 ^
<stdin>:21:29: note: previous match ended here
 call void @llvm.donothing()
                            ^
<stdin>:22:1: note: non-matching line after previous match is here
 %2 = shl i32 %1, 1
^

Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Instrumentation/MemorySanitizer/pr32842.ll

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

Input was:
<<<<<<
            1: ; ModuleID = '<stdin>' 
            2: source_filename = "<stdin>" 
            3: target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 
            4: target triple = "x86_64-unknown-linux-gnu" 
            5:  
            6:  at llvm.used = appending global [1 x ptr] [ptr @msan.module_ctor], section "llvm.metadata" 
            7:  at llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @msan.module_ctor, ptr null }] 
            8:  at __msan_retval_tls = external thread_local(initialexec) global [100 x i64] 
            9:  at __msan_retval_origin_tls = external thread_local(initialexec) global i32 
           10:  at __msan_param_tls = external thread_local(initialexec) global [100 x i64] 
           11:  at __msan_param_origin_tls = external thread_local(initialexec) global [200 x i32] 
           12:  at __msan_va_arg_tls = external thread_local(initialexec) global [100 x i64] 
           13:  at __msan_va_arg_origin_tls = external thread_local(initialexec) global [200 x i32] 
           14:  at __msan_va_arg_overflow_size_tls = external thread_local(initialexec) global i64 
           15:  
           16: ; Function Attrs: sanitize_memory 
           17: define zeroext i1 @_Z1fii(i32 %x, i32 %y) #0 { 
label:12'0     ^~~~~~~~~~~~~~~~~~~~~~~~~~
label:12'1     ^~~~~~~~~~~~~~~~~~~~~~~~~~
same:13'0                                ^~~~~~~~~~~~~~~~~~~~
same:13'1                                    ^~                captured var "X"
same:13'2                                            ^~        captured var "Y"
...

```

</details>

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


More information about the llvm-commits mailing list