Regression

LLVM.CodeGen/X86.horizontal-reduce-smax.ll (from LLVM)

Failing for the past 1 build (Since Failed#7066 )
Took 0.71 sec.

Stacktrace

Script:
--
: 'RUN: at line 2';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=i686-apple-darwin -mattr=+sse2     | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X86 --check-prefix=X86-SSE --check-prefix=X86-SSE2
: 'RUN: at line 3';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=i686-apple-darwin -mattr=+sse4.2   | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X86 --check-prefix=X86-SSE --check-prefix=X86-SSE42
: 'RUN: at line 4';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=i686-apple-darwin -mattr=+avx      | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X86 --check-prefix=X86-AVX --check-prefix=X86-AVX1
: 'RUN: at line 5';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=i686-apple-darwin -mattr=+avx2     | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X86 --check-prefix=X86-AVX --check-prefix=X86-AVX2
: 'RUN: at line 6';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=x86_64-apple-darwin -mattr=+sse2   | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X64 --check-prefix=X64-SSE --check-prefix=X64-SSE2
: 'RUN: at line 7';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=x86_64-apple-darwin -mattr=+sse4.2 | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X64 --check-prefix=X64-SSE --check-prefix=X64-SSE42
: 'RUN: at line 8';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=x86_64-apple-darwin -mattr=+avx    | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X64 --check-prefix=X64-AVX --check-prefix=X64-AVX1
: 'RUN: at line 9';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=x86_64-apple-darwin -mattr=+avx2   | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X64 --check-prefix=X64-AVX --check-prefix=X64-AVX2
: 'RUN: at line 10';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll -mtriple=x86_64-apple-darwin -mattr=+avx512f,+avx512bw,+avx512dq,+avx512vl | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X64 --check-prefix=X64-AVX --check-prefix=X64-AVX512
--
Exit Code: 2

Command Output (stderr):
--
/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h:47:43: runtime error: left shift of negative value -1
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h:47:43 in 
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=i686-apple-darwin -mattr=+sse2 
1.	Running pass 'Function Pass Manager' on module '<stdin>'.
2.	Running pass 'ReachingDefAnalysis' on function '@test_reduce_v2i64'
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll --check-prefix=X86 --check-prefix=X86-SSE --check-prefix=X86-SSE2

--