[llvm] CodeGen: Don't assert when printing null GlobalAddress operands (PR #115531)

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 16 01:16:46 PST 2024


qcolombet wrote:

> > So how do you run into this problem?
> 
> Bugs
> 
> > It sounds to me that we shouldn't produce nullptr for GlobalAddress in a normal compilation flow.
> 
> Yes, but this is in debug printing. -debug causing new crashes to appear is a bad property

Fair enough.
Could you add a comment that says that this is for debug printing?

https://github.com/llvm/llvm-project/pull/115531


More information about the llvm-commits mailing list