Regression

LLVM.CodeGen/X86.base-pointer-and-cmpxchg.ll (from LLVM)

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

Stacktrace

Script:
--
: 'RUN: at line 1';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-apple-macosx -mattr=+cx16 -x86-use-base-pointer=true -stackrealign -stack-alignment=32  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll -o - | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck --check-prefix=CHECK --check-prefix=USE_BASE --check-prefix=USE_BASE_64 /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll
: 'RUN: at line 2';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-apple-macosx -mattr=+cx16 -x86-use-base-pointer=false -stackrealign -stack-alignment=32  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll -o - | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck --check-prefix=CHECK --check-prefix=DONT_USE_BASE /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll
: 'RUN: at line 3';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-linux-gnux32 -mattr=+cx16 -x86-use-base-pointer=true -stackrealign -stack-alignment=32  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll -o - | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck --check-prefix=CHECK --check-prefix=USE_BASE --check-prefix=USE_BASE_32 /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll
: 'RUN: at line 4';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-linux-gnux32 -mattr=+cx16 -x86-use-base-pointer=false -stackrealign -stack-alignment=32  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll -o - | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck --check-prefix=CHECK --check-prefix=DONT_USE_BASE /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll
--
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=x86_64-apple-macosx -mattr=+cx16 -x86-use-base-pointer=true -stackrealign -stack-alignment=32 /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll -o - 
1.	Running pass 'Function Pass Manager' on module '/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll'.
2.	Running pass 'ReachingDefAnalysis' on function '@cmp_and_swap16'
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck --check-prefix=CHECK --check-prefix=USE_BASE --check-prefix=USE_BASE_64 /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll

--