Closed
Description
This bug is spawned off of rust-lang/rust#91671 (comment)
The AArch64InstructionSelector.cpp code has this line:
The problem is that RBI.getRegBank can return null, and does so during rustc's use of LLVM.
You can see the problematic behavior atop this trace that I've uploaded to pernos.co, here. That trace is derived from code that I've put into a dedicated repository, here: https://github.com/pnkfelix/issue-91671-a64-doctestfail
I have not yet managed to narrow the test case down to something that I can replicate atop llc
or opt
alone, but I wanted to start tracking the issue here in the LLVM organization so that LLVM developers could help me narrow this down further.