Regression

LLVM.CodeGen/WebAssembly.indirectbr.ll (from LLVM)

Failing for the past 1 build (Since Failed#7154 )
Took 26 sec.

Stacktrace

Script:
--
: 'RUN: at line 1';   /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/WebAssembly/indirectbr.ll -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers | /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/WebAssembly/indirectbr.ll
--
Exit Code: 2

Command Output (stderr):
--
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 -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-disable-explicit-locals -wasm-keep-registers 
1.	Running pass 'Function Pass Manager' on module '<stdin>'.
2.	Running pass 'WebAssembly Fix br_table Defaults' on function '@test1'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==98010==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x00010f297d7f bp 0x7ffee274e630 sp 0x7ffee274e200 T0)
==98010==The signal is caused by a READ memory access.
==98010==Hint: this fault was caused by a dereference of a high value address (see register values below).  Dissassemble the provided pc to learn which register was used.
    #0 0x10f297d7f in (anonymous namespace)::WebAssemblyFixBrTableDefaults::runOnMachineFunction(llvm::MachineFunction&) MachineInstr.h:435
    #1 0x110aba46b in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) MachineFunctionPass.cpp:73
    #2 0x1114c91f5 in llvm::FPPassManager::runOnFunction(llvm::Function&) LegacyPassManager.cpp:1482
    #3 0x1114c9ce3 in llvm::FPPassManager::runOnModule(llvm::Module&) LegacyPassManager.cpp:1518
    #4 0x1114caa0c in llvm::legacy::PassManagerImpl::run(llvm::Module&) LegacyPassManager.cpp:1583
    #5 0x10d4b7b89 in compileModule(char**, llvm::LLVMContext&) llc.cpp:650
    #6 0x10d4b298c in main llc.cpp:360
    #7 0x7fff7b8e2084 in start+0x0 (libdyld.dylib:x86_64+0x17084)

==98010==Register values:
rax = 0x093ed1293c712908  rbx = 0x00007ffee274e4e0  rcx = 0xdc78e147541700e7  rdx = 0x0000100000000000  
rdi = 0x000062100003cc08  rsi = 0x49f68949e3894840  rbp = 0x00007ffee274e630  rsp = 0x00007ffee274e200  
 r8 = 0x0000621000036728   r9 = 0x0000100000000000  r10 = 0x00001fffdc4e9c00  r11 = 0x0000000000000320  
r12 = 0x00007ffee274e280  r13 = 0x000062100003ccd8  r14 = 0x00007ffee274e220  r15 = 0x000000010ece9fe0  
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV MachineInstr.h:435 in (anonymous namespace)::WebAssemblyFixBrTableDefaults::runOnMachineFunction(llvm::MachineFunction&)
==98010==ABORTING
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/WebAssembly/indirectbr.ll

--