Regression

LLVM.CodeGen/X86.stack-protector-dbginfo.ll (from LLVM)

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

Stacktrace

Script:
--
: 'RUN: at line 1';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-apple-darwin < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/stack-protector-dbginfo.ll -o -
: 'RUN: at line 2';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-pc-linux-gnu < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/stack-protector-dbginfo.ll -o - | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck --check-prefix=IGNORE_INTRIN /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/stack-protector-dbginfo.ll
--
Exit Code: 134

Command Output (stderr):
--
invalid subroutine type
!62 = distinct !DISubprogram(name: "IgnoreIntrinsicTest", linkageName: "IgnoreIntrinsicTest", scope: !1, file: !1, line: 1, type: !13, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !5)
!13 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
invalid !dbg metadata attachment
  call void @llvm.dbg.declare(metadata i32* %1, metadata !61, metadata !DIExpression()), !dbg !62
!62 = distinct !DISubprogram(name: "IgnoreIntrinsicTest", linkageName: "IgnoreIntrinsicTest", scope: !1, file: !1, line: 1, type: !13, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !5)
warning: ignoring invalid debug info in <stdin>
/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 -5
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-darwin -o - 
1.	Running pass 'Function Pass Manager' on module '<stdin>'.
2.	Running pass 'ReachingDefAnalysis' on function '@_Z18read_response_sizev'
/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/test/CodeGen/X86/Output/stack-protector-dbginfo.ll.script: line 2: 63300 Abort trap: 6           /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/llc -mtriple=x86_64-apple-darwin -o - < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/CodeGen/X86/stack-protector-dbginfo.ll

--