<div dir="ltr">Hi folks,<div><br></div><div>In include/llvm/CodeGen/MachineFrameInfo.h, there is a StackObject struct representing objects on an abstract stack frame (class MachineFrameInfo). </div><div><br></div><div>In the struct StackObject, there is the following field and comment:</div><div><div>    </div><div>    /// If this stack object is originated from an Alloca instruction</div><div>    /// this value saves the original IR allocation. Can be NULL.</div><div>    const AllocaInst *Alloca;</div></div><div><br></div><div>What does "Can be NULL" mean here? Does it mean that the Alloca field may be null even when the stack object is originated form an Alloca? In other words, is this a reliable way to determine if an stack object is originated from an alloca?</div><div><br></div><div>Thanks,</div><div>Zhaomo</div></div>