Regression

LLVM.Transforms/Attributor/ArgumentPromotion.live_called_from_dead_2.ll (from LLVM)

Failing for the past 1 build (Since Failed#6961 )
Took 1.3 sec.

Stacktrace

Script:
--
: 'RUN: at line 2';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -S -basicaa -attributor -attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=4 < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll --check-prefixes=CHECK,OLDPM,OLDPM_MODULE
: 'RUN: at line 3';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -S -basicaa -attributor-cgscc -attributor-disable=false < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll --check-prefixes=CHECK,OLDPM,OLDPM_CGSCC
: 'RUN: at line 4';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -S -passes='attributor' -aa-pipeline='basic-aa' -attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=4 < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll --check-prefixes=CHECK,NEWPM,NEWPM_MODULE
: 'RUN: at line 5';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -S -passes='attributor-cgscc' -aa-pipeline='basic-aa' -attributor-disable=false < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll | /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/FileCheck /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll --check-prefixes=CHECK,NEWPM,NEWPM_CGSCC
--
Exit Code: 2

Command Output (stderr):
--
/Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/lib/Transforms/IPO/Attributor.cpp:6222:19: runtime error: reference binding to null pointer of type 'const llvm::Instruction'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/lib/Transforms/IPO/Attributor.cpp:6222:19 in 
Stack dump:
0.	Program arguments: /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -S -basicaa -attributor-cgscc -attributor-disable=false 
1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
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/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll --check-prefixes=CHECK,OLDPM,OLDPM_CGSCC

--