Aliasee cannot be NULL!
ptr @__bad_alias
LLVM ERROR: Broken module found, compilation aborted!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0.	Program arguments: /build/bin/opt -passes=trigger-verifier-error -disable-output ../small.ll
1.	Running pass "verify" on module "../small.ll"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  opt                      0x000000010417ca18 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  opt                      0x0000000104179e18 llvm::sys::RunSignalHandlers() + 204
2  opt                      0x000000010417d348 SignalHandler(int, __siginfo*, void*) + 328
3  libsystem_platform.dylib 0x000000018a4f6144 _sigtramp + 56
4  libsystem_pthread.dylib  0x000000018552c960 pthread_kill + 296
5  libsystem_c.dylib        0x00000001855c0480 abort + 148
6  opt                      0x00000001040d1b24 llvm::report_fatal_error(llvm::Twine const&, bool) + 464
7  opt                      0x00000001040d1954 llvm::report_fatal_error(llvm::Twine const&, bool) + 0
8  opt                      0x0000000103866958 llvm::VerifierPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) + 0
9  opt                      0x00000001038350c8 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 564
10 opt                      0x000000010472aaf8 llvm::runPassPipeline(llvm::StringRef, llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::StringRef, llvm::ArrayRef<llvm::PassPluginLibraryInfo>, llvm::ArrayRef<std::__1::function<void (llvm::PassBuilder&)>>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool, bool) + 10424
11 opt                      0x00000001047344a8 optMain + 8860
12 opt                      0x00000001029d9dac main + 84
13 dyld                     0x0000000185458d7c start + 6652
