Page MenuHomePhabricator

[AArch64][SVE] Zero other lanes when doing OR reduction on unpacked predicate using ptest.
ClosedPublic

Authored by sdesmalen on Jul 4 2022, 7:21 AM.

Details

Summary

When the predicate vector is unpacked, we cannot assume anything about the
values in the other lanes. We have to make sure we use the correct
predicate where we know that the other lanes have been zeroed.

Diff Detail

Unit TestsFailed

TimeTest
220 msx64 debian > BOLT.runtime/X86::user-func-reorder.c
Script: -- : 'RUN: at line 30'; /usr/bin/clang --target=x86_64-linux -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -no-pie /var/lib/buildkite-agent/builds/llvm-project/bolt/test/runtime/X86/user-func-reorder.c -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/bolt/test/runtime/X86/Output/user-func-reorder.c.tmp.exe -Wl,-q
500 msx64 debian > Clang.Frontend::optimization-remark-options.c
Script: -- : 'RUN: at line 2'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang -O1 -fvectorize -target x86_64-unknown-unknown -Rpass-analysis=loop-vectorize -emit-llvm -S /var/lib/buildkite-agent/builds/llvm-project/clang/test/Frontend/optimization-remark-options.c -o - 2>&1 | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/clang/test/Frontend/optimization-remark-options.c
3,340 msx64 debian > SanitizerCommon-asan-x86_64-Linux.Linux::decorate_proc_maps.cpp
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=address -m64 -funwind-tables -ldl -g /var/lib/buildkite-agent/builds/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/compiler-rt/test/sanitizer_common/asan-x86_64-Linux/Linux/Output/decorate_proc_maps.cpp.tmp
650 msx64 debian > SanitizerCommon-lsan-x86_64-Linux.Linux::decorate_proc_maps.cpp
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=leak -m64 -funwind-tables -ldl -g /var/lib/buildkite-agent/builds/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/decorate_proc_maps.cpp.tmp
1,020 msx64 debian > SanitizerCommon-msan-x86_64-Linux.Linux::decorate_proc_maps.cpp
Script: -- : 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=memory -m64 -funwind-tables -ldl -g /var/lib/buildkite-agent/builds/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/compiler-rt/test/sanitizer_common/msan-x86_64-Linux/Linux/Output/decorate_proc_maps.cpp.tmp
View Full Test Results (8 Failed)

Event Timeline

sdesmalen created this revision.Jul 4 2022, 7:21 AM
sdesmalen requested review of this revision.Jul 4 2022, 7:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2022, 7:21 AM
This revision is now accepted and ready to land.Jul 5 2022, 8:39 AM
Matt added a subscriber: Matt.Jul 5 2022, 10:59 AM
sdesmalen updated this revision to Diff 442458.Jul 6 2022, 1:13 AM

Regenerated tests after rebase onto D128835.

This revision was landed with ongoing or failed builds.Jul 6 2022, 9:14 AM
This revision was automatically updated to reflect the committed changes.