[llvm-dev] MachineFrameInfo::print SP offset

Hendrik Greving via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 22 12:47:03 PDT 2018


Hello,

In MachineFrameInfo::print (llvm-6.0.0) line 235, when printing SP offsets,
shouldn't it be

// -> consider stack growth direction

int64_t Off = StackGrowsDown ? SO.SPOffset - ValOffset : SO.SPOffset +
ValOffset;


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180322/4e92d7d8/attachment.html>


More information about the llvm-dev mailing list