Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[msan] Add avx512-intrinsics.ll and avx512-intrinsics-upgrade.ll test case #123980

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

thurstond
Copy link
Contributor

@thurstond thurstond commented Jan 22, 2025

These are forked from the corresponding files in llvm/test/CodeGen/X86/.

avx512-intrinsics.ll shows that many intrinsics are already heuristically handled by MSan, and can be used to track refinements to the intrinsic handling.

avx512-intrinsics-upgrade.ll tests intrinsics that LLVM "auto-upgrades"; for example, @llvm.x86.avx512.mask.store is converted into @llvm.masked.store (which has the interesting side effect that MemorySanitizer can already handle it via its existing handleMaskedStore).

This is forked from llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll.
It tests intrinsics that LLVM "auto-upgrades"; for example,
@llvm.x86.avx512.mask.store is converted into @llvm.masked.store (which has the interesting side effect that MemorySanitizer can already handle it via its existing handleMaskedStore).
Copy link

github-actions bot commented Jan 22, 2025

⚠️ undef deprecator found issues in your code. ⚠️

You can test this locally with the following command:
git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 44f316811016e677ca3e6c6237619e71bae28986 af72ee8c34b11c58afe6e98bcc27090b11cd3257 llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics.ll

The following files introduce new uses of undef:

  • llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
  • llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics.ll

Undef is now deprecated and should only be used in the rare cases where no replacement is possible. For example, a load of uninitialized memory yields undef. You should use poison values for placeholders instead.

In tests, avoid using undef and having tests that trigger undefined behavior. If you need an operand with some unimportant value, you can add a new argument to the function and use that instead.

For example, this is considered a bad practice:

define void @fn() {
  ...
  br i1 undef, ...
}

Please use the following instead:

define void @fn(i1 %cond) {
  ...
  br i1 %cond, ...
}

Please refer to the Undefined Behavior Manual for more information.

@thurstond thurstond changed the title [msan] Add avx512-intrinsics-upgrade.ll test case [msan] Add avx512-intrinsics.ll and avx512-intrinsics-upgrade.ll test case Jan 25, 2025
Copy link
Collaborator

@alexander-shaposhnikov alexander-shaposhnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

Copy link
Collaborator

@vitalybuka vitalybuka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be in X86

are those from llvm/test/CodeGen/X86/avx512-intrinsics.ll ?

@thurstond
Copy link
Contributor Author

should be in X86
are those from llvm/test/CodeGen/X86/avx512-intrinsics.ll ?

Fixed. Thanks for catching those!

@thurstond thurstond requested a review from vitalybuka January 26, 2025 23:33
@thurstond thurstond merged commit 980e86f into llvm:main Jan 27, 2025
4 of 8 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 27, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-quick running on linaro-clang-aarch64-quick while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan 2>&1 | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3861:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3290:3: note: scanning from here
4: ; preds = %0
  ^
<stdin>:3295:3: note: possible intended match here
 %_msld = load i64, ptr %7, align 4
  ^
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3896:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3320:3: note: scanning from here
6: ; preds = %0
  ^
<stdin>:3325:3: note: possible intended match here
 %_msld = load i64, ptr %9, align 4
  ^
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3938:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3357:3: note: scanning from here
5: ; preds = %0
  ^
<stdin>:3362:3: note: possible intended match here
 %_msld = load i64, ptr %8, align 4
  ^
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4144:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3536:3: note: scanning from here
4: ; preds = %0
  ^
<stdin>:3541:3: note: possible intended match here
 %_msld = load i64, ptr %7, align 4
  ^
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4179:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3566:3: note: scanning from here
6: ; preds = %0
  ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 27, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-dylib running on linaro-flang-aarch64-dylib while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
424.687 [2039/1/4782] Building CXX object tools/mlir/lib/Dialect/Linalg/Transforms/CMakeFiles/obj.MLIRLinalgTransforms.dir/BubbleUpExtractSlice.cpp.o
424.812 [2038/1/4783] Building CXX object tools/mlir/lib/Conversion/FuncToSPIRV/CMakeFiles/obj.MLIRFuncToSPIRV.dir/FuncToSPIRVPass.cpp.o
424.910 [2037/1/4784] Building CXX object tools/mlir/lib/Dialect/Transform/Transforms/CMakeFiles/obj.MLIRTransformDialectTransforms.dir/CheckUses.cpp.o
425.031 [2036/1/4785] Building CXX object tools/mlir/lib/CAPI/IR/CMakeFiles/obj.MLIRCAPIIR.dir/AffineMap.cpp.o
425.120 [2035/1/4786] Building CXX object tools/mlir/lib/CAPI/IR/CMakeFiles/obj.MLIRCAPIIR.dir/BuiltinAttributes.cpp.o
425.239 [2034/1/4787] Building CXX object tools/mlir/lib/CAPI/Transforms/CMakeFiles/obj.MLIRCAPITransforms.dir/Rewrite.cpp.o
425.341 [2033/1/4788] Building CXX object tools/mlir/test/lib/Conversion/VectorToSPIRV/CMakeFiles/MLIRTestVectorToSPIRV.dir/TestVectorReductionToSPIRVDotProd.cpp.o
425.414 [2032/1/4789] Building CXX object tools/mlir/tools/mlir-parser-fuzzer/bytecode/CMakeFiles/mlir-bytecode-parser-fuzzer.dir/DummyParserFuzzer.cpp.o
425.525 [2031/1/4790] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestVisitors.cpp.o
435.717 [2030/1/4791] Building CXX object tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestVisitorsGeneric.cpp.o
FAILED: tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestVisitorsGeneric.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DMLIR_INCLUDE_TESTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/tools/mlir/test/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/test/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/tools/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/test/lib/IR/../Dialect/Test -I/home/tcwg-buildbot/worker/flang-aarch64-dylib/build/tools/mlir/test/lib/IR/../Dialect/Test -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestVisitorsGeneric.cpp.o -MF tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestVisitorsGeneric.cpp.o.d -o tools/mlir/test/lib/IR/CMakeFiles/MLIRTestIR.dir/TestVisitorsGeneric.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/test/lib/IR/TestVisitorsGeneric.cpp
In file included from /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/test/lib/IR/TestVisitorsGeneric.cpp:9:
/home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/mlir/test/lib/IR/../Dialect/Test/TestOps.h:148:10: fatal error: 'TestOps.h.inc' file not found
  148 | #include "TestOps.h.inc"
      |          ^~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 27, 2025

LLVM Buildbot has detected a new failure on builder clang-armv8-quick running on linaro-clang-armv8-quick while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/opt /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan 2>&1 | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/opt /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3861:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3290:3: note: scanning from here
4: ; preds = %0
  ^
<stdin>:3295:3: note: possible intended match here
 %_msld = load i64, ptr %7, align 4
  ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3896:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3320:3: note: scanning from here
6: ; preds = %0
  ^
<stdin>:3325:3: note: possible intended match here
 %_msld = load i64, ptr %9, align 4
  ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3938:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3357:3: note: scanning from here
5: ; preds = %0
  ^
<stdin>:3362:3: note: possible intended match here
 %_msld = load i64, ptr %8, align 4
  ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4144:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3536:3: note: scanning from here
4: ; preds = %0
  ^
<stdin>:3541:3: note: possible intended match here
 %_msld = load i64, ptr %7, align 4
  ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4179:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3566:3: note: scanning from here
6: ; preds = %0
  ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 27, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-aarch64-darwin running on doug-worker-4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3861:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
�[0;1;32m              ^
�[0m�[1m<stdin>:3290:3: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m4: ; preds = %0
�[0;1;32m  ^
�[0m�[1m<stdin>:3295:3: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %_msld = load i64, ptr %7, align 4
�[0;1;32m  ^
�[0m�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3896:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
�[0;1;32m              ^
�[0m�[1m<stdin>:3320:3: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m6: ; preds = %0
�[0;1;32m  ^
�[0m�[1m<stdin>:3325:3: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %_msld = load i64, ptr %9, align 4
�[0;1;32m  ^
�[0m�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3938:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
�[0;1;32m              ^
�[0m�[1m<stdin>:3357:3: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m5: ; preds = %0
�[0;1;32m  ^
�[0m�[1m<stdin>:3362:3: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %_msld = load i64, ptr %8, align 4
�[0;1;32m  ^
�[0m�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4144:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
�[0;1;32m              ^
�[0m�[1m<stdin>:3536:3: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m4: ; preds = %0
�[0;1;32m  ^
�[0m�[1m<stdin>:3541:3: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m %_msld = load i64, ptr %7, align 4
�[0;1;32m  ^
�[0m�[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4179:15: �[0m�[0;1;31merror: �[0m�[1mCHECK-NEXT: expected string not found in input
�[0m; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
�[0;1;32m              ^
�[0m�[1m<stdin>:3566:3: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m6: ; preds = %0
�[0;1;32m  ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 27, 2025

LLVM Buildbot has detected a new failure on builder clang-solaris11-sparcv9 running on solaris11-sparcv9 while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/opt /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan 2>&1 | /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/opt /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll -S -mtriple=x86_64-linux-gnu -mattr=+avx512f -passes=msan
+ /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3861:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3290:3: note: scanning from here
4: ; preds = %0
  ^
<stdin>:3295:3: note: possible intended match here
 %_msld = load i64, ptr %7, align 4
  ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3896:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3320:3: note: scanning from here
6: ; preds = %0
  ^
<stdin>:3325:3: note: possible intended match here
 %_msld = load i64, ptr %9, align 4
  ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:3938:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3357:3: note: scanning from here
5: ; preds = %0
  ^
<stdin>:3362:3: note: possible intended match here
 %_msld = load i64, ptr %8, align 4
  ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4144:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3536:3: note: scanning from here
4: ; preds = %0
  ^
<stdin>:3541:3: note: possible intended match here
 %_msld = load i64, ptr %7, align 4
  ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/test/Instrumentation/MemorySanitizer/X86/avx512-intrinsics-upgrade.ll:4179:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[Q:%.*]] = load i64, ptr [[PTR_B:%.*]], align 8
              ^
<stdin>:3566:3: note: scanning from here
6: ; preds = %0
  ^
...

thurstond added a commit to thurstond/llvm-project that referenced this pull request Jan 27, 2025
I had added the test in llvm#123980
and contemporaneously added AVX masked store/load intrinsics
(llvm#123857) and forgot to update
the test output for the intersection. This patch fixes the output.
thurstond added a commit that referenced this pull request Jan 27, 2025
I had added the test in #123980
and contemporaneously added AVX masked store/load intrinsics
(#123857) and forgot to update
the test output for the intersection. This patch fixes the output.
github-actions bot pushed a commit to arm/arm-toolchain that referenced this pull request Jan 27, 2025
I had added the test in llvm/llvm-project#123980
and contemporaneously added AVX masked store/load intrinsics
(llvm/llvm-project#123857) and forgot to update
the test output for the intersection. This patch fixes the output.
thurstond added a commit to thurstond/llvm-project that referenced this pull request Jan 27, 2025
…e.ll test case (llvm#123980)"

This reverts commit b2647ff i.e.,
relands
llvm@980e86f.

I had reverted it because of buildbot failures (e.g., https://lab.llvm.org/buildbot/#/builders/13/builds/4938/steps/5/logs/FAIL__LLVM__avx512-intrinsics-upgrade_ll), which I misdiagnosed. The likely root cause is that the target datalayout had not been specified; this reland adds that.
thurstond added a commit to thurstond/llvm-project that referenced this pull request Jan 27, 2025
…e.ll test case (llvm#123980)"

This reverts commit b2647ff i.e.,
relands
llvm@980e86f.

I had reverted it because of buildbot failures (e.g., https://lab.llvm.org/buildbot/#/builders/13/builds/4938/steps/5/logs/FAIL__LLVM__avx512-intrinsics-upgrade_ll), which I misdiagnosed. The likely root cause is that the target datalayout had not been specified; this reland adds that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants