Regression

LLVM.Transforms/Attributor.memory_locations.ll (from LLVM)

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

Stacktrace

Script:
--
: 'RUN: at line 2';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -attributor --attributor-disable=false -attributor-max-iterations-verify -attributor-annotate-decl-cs -attributor-max-iterations=7 -S < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/memory_locations.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/memory_locations.ll --check-prefixes=CHECK,MODULE,OLD_MODULE
: 'RUN: at line 3';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -attributor-cgscc --attributor-disable=false -attributor-annotate-decl-cs -attributor-max-iterations=7 -S < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/memory_locations.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/memory_locations.ll --check-prefixes=CHECK,CGSCC,OLD_CGSCC
: 'RUN: at line 4';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -passes=attributor --attributor-disable=false -attributor-max-iterations-verify -attributor-annotate-decl-cs -attributor-max-iterations=7 -S < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/memory_locations.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/memory_locations.ll --check-prefixes=CHECK,MODULE,NEW_MODULE
: 'RUN: at line 5';   /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/clang-build/bin/opt -passes='attributor-cgscc' --attributor-disable=false -attributor-annotate-decl-cs -attributor-max-iterations=7 -S < /Users/buildslave/jenkins/workspace/clang-stage2-cmake-RgSan/llvm-project/llvm/test/Transforms/Attributor/memory_locations.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/memory_locations.ll --check-prefixes=CHECK,CGSCC,NEW_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 -attributor-cgscc --attributor-disable=false -attributor-annotate-decl-cs -attributor-max-iterations=7 -S 
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/memory_locations.ll --check-prefixes=CHECK,CGSCC,OLD_CGSCC

--