[llvm] clang crash assigning to a global named register variable #109778 (PR #113105)
Akshay Kumar via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 9 09:20:56 PST 2024
akshaykumars614 wrote:
> If you want to continue to do something for this issue perhaps you could port the nicer error reporting from `llvm/lib/Target/RISCV/RISCVISelLowering.cpp` into the AArch64 function.
I did this.
> If you want something to build on from there, try moving the check for whether the register is reserved into the target lowering base class so that everyone will get the more precise error message. Be aware that some targets may care about other things as well as the register being reserved.
So you are saying instead of checking error for each individual targets, check in the Target Lowering base class itself?
https://github.com/llvm/llvm-project/pull/113105
More information about the llvm-commits
mailing list