[llvm-bugs] [Bug 32871] New: ARM accesses MachineFrameInfo::getMaxCallFrameSize() before it is computed

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 1 16:36:21 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32871

            Bug ID: 32871
           Summary: ARM accesses MachineFrameInfo::getMaxCallFrameSize()
                    before it is computed
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: matze at braunis.de
                CC: llvm-bugs at lists.llvm.org

https://reviews.llvm.org/D32570 is adding infrastructure to detect
whetherMachineFrameInfo::MaxCallFrameSize is queried before it is computed.
Most of the ARM related failures will be fixed with
https://reviews.llvm.org/D32622

There is one remaining test however:

    LLVM :: CodeGen/ARM/stack-protector-bmovpcb_call.ll

which goes:

  SelectionDAG::getMemcpy() -> getMemcpyLoadsAndStores() ->
TargetRegisterInfo::needsStackRealignment() ->
ARMBaseRegisterInfo::canRealignStack() ->
ARMFrameLowering::hasReservedCallFrame() ->
MachineFrameInfo::getMaxCallFrameSize()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170501/6e6c1bc6/attachment-0001.html>


More information about the llvm-bugs mailing list