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

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 1 13:01:07 PDT 2017


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

            Bug ID: 32869
           Summary: PowerPC accesses
                    MachineFrameInfo::getMaxCallFrameSize() before it is
                    computed
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
          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 whether
MachineFrameInfo::MaxCallFrameSize is queried before it is computed. This fails
the following PowerPC tests blocking the `assert` in the patch to be enabled:

    LLVM :: CodeGen/PowerPC/2005-11-30-vastart-crash.ll
    LLVM :: CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
    LLVM :: CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
    LLVM :: CodeGen/PowerPC/2007-09-08-unaligned.ll
    LLVM :: CodeGen/PowerPC/2007-11-16-landingpad-split.ll
    LLVM :: CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
    LLVM :: CodeGen/PowerPC/2008-07-15-Fabs.ll
    LLVM :: CodeGen/PowerPC/2008-09-12-CoalescerBug.ll
    LLVM :: CodeGen/PowerPC/2008-10-28-f128-i32.ll
    LLVM :: CodeGen/PowerPC/2008-10-31-PPCF128Libcalls.ll
    LLVM :: CodeGen/PowerPC/2010-10-11-Fast-Varargs.ll
    LLVM :: CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll
    LLVM :: CodeGen/PowerPC/2011-12-06-SpillAndRestoreCR.ll
    LLVM :: CodeGen/PowerPC/2016-01-07-BranchWeightCrash.ll
    LLVM :: CodeGen/PowerPC/BreakableToken-reduced.ll
    LLVM :: CodeGen/PowerPC/a2q-stackalign.ll
    LLVM :: CodeGen/PowerPC/aantidep-inline-asm-use.ll
    LLVM :: CodeGen/PowerPC/addi-licm.ll
    LLVM :: CodeGen/PowerPC/branch-hint.ll
    LLVM :: CodeGen/PowerPC/crsave.ll
    LLVM :: CodeGen/PowerPC/ctr-minmaxnum.ll
    LLVM :: CodeGen/PowerPC/ctrloop-cpsgn.ll
    LLVM :: CodeGen/PowerPC/ctrloop-i128.ll
    LLVM :: CodeGen/PowerPC/ctrloop-intrin.ll
    LLVM :: CodeGen/PowerPC/ctrloop-sums.ll
    LLVM :: CodeGen/PowerPC/ctrloop-udivti3.ll
    LLVM :: CodeGen/PowerPC/ec-input.ll
    LLVM :: CodeGen/PowerPC/f32-to-i64.ll
    LLVM :: CodeGen/PowerPC/fast-isel-fpconv.ll
    LLVM :: CodeGen/PowerPC/floatPSA.ll
    LLVM :: CodeGen/PowerPC/fmaxnum.ll
    LLVM :: CodeGen/PowerPC/fminnum.ll
    LLVM :: CodeGen/PowerPC/fp128-bitcast-after-operation.ll
    LLVM :: CodeGen/PowerPC/fp2int2fp-ppcfp128.ll
    LLVM :: CodeGen/PowerPC/glob-comp-aa-crash.ll
    LLVM :: CodeGen/PowerPC/ia-mem-r0.ll
    LLVM :: CodeGen/PowerPC/ifcvt-forked-bug-2016-08-08.ll
    LLVM :: CodeGen/PowerPC/inlineasm-i64-reg.ll
    LLVM :: CodeGen/PowerPC/int-fp-conv-1.ll
    LLVM :: CodeGen/PowerPC/loop-prep-all.ll
    LLVM :: CodeGen/PowerPC/lsa.ll
    LLVM :: CodeGen/PowerPC/mcm-5.ll
    LLVM :: CodeGen/PowerPC/mcm-obj.ll
    LLVM :: CodeGen/PowerPC/merge-st-chain-op.ll
    LLVM :: CodeGen/PowerPC/mult-alt-generic-powerpc.ll
    LLVM :: CodeGen/PowerPC/novrsave.ll
    LLVM :: CodeGen/PowerPC/ppc-prologue.ll
    LLVM :: CodeGen/PowerPC/ppc-shrink-wrapping.ll
    LLVM :: CodeGen/PowerPC/ppc32-vacopy.ll
    LLVM :: CodeGen/PowerPC/ppc64-byval-align.ll
    LLVM :: CodeGen/PowerPC/ppc64-patchpoint.ll
    LLVM :: CodeGen/PowerPC/ppc64-sibcall-shrinkwrap.ll
    LLVM :: CodeGen/PowerPC/ppc64-stackmap.ll
    LLVM :: CodeGen/PowerPC/ppc64le-aggregates.ll
    LLVM :: CodeGen/PowerPC/ppcf128-1-opt.ll
    LLVM :: CodeGen/PowerPC/ppcf128-1.ll
    LLVM :: CodeGen/PowerPC/ppcf128-3.ll
    LLVM :: CodeGen/PowerPC/ppcf128-4.ll
    LLVM :: CodeGen/PowerPC/ppcf128sf.ll
    LLVM :: CodeGen/PowerPC/ppcsoftops.ll
    LLVM :: CodeGen/PowerPC/pr16556-2.ll
    LLVM :: CodeGen/PowerPC/pr24546.ll
    LLVM :: CodeGen/PowerPC/pr26617.ll
    LLVM :: CodeGen/PowerPC/pr30715.ll
    LLVM :: CodeGen/PowerPC/resolvefi-basereg.ll
    LLVM :: CodeGen/PowerPC/resolvefi-disp.ll
    LLVM :: CodeGen/PowerPC/return-val-i128.ll
    LLVM :: CodeGen/PowerPC/rs-undef-use.ll
    LLVM :: CodeGen/PowerPC/s000-alias-misched.ll
    LLVM :: CodeGen/PowerPC/sjlj.ll
    LLVM :: CodeGen/PowerPC/stack-protector.ll
    LLVM :: CodeGen/PowerPC/stack-realign.ll
    LLVM :: CodeGen/PowerPC/stackmap-frame-setup.ll
    LLVM :: CodeGen/PowerPC/std-unal-fi.ll
    LLVM :: CodeGen/PowerPC/stfiwx-2.ll
    LLVM :: CodeGen/PowerPC/structsinmem.ll
    LLVM :: CodeGen/PowerPC/structsinregs.ll
    LLVM :: CodeGen/PowerPC/stubs.ll
    LLVM :: CodeGen/PowerPC/tls-pic.ll
    LLVM :: CodeGen/PowerPC/tls-store2.ll
    LLVM :: CodeGen/PowerPC/tls.ll
    LLVM :: CodeGen/PowerPC/toc-load-sched-bug.ll
    LLVM :: CodeGen/PowerPC/trampoline.ll
    LLVM :: CodeGen/PowerPC/varargs-struct-float.ll
    LLVM :: CodeGen/PowerPC/vector.ll
    LLVM :: CodeGen/PowerPC/vrspill.ll
    LLVM :: CodeGen/PowerPC/vsx-elementary-arith.ll

-- 
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/a23f87bc/attachment-0001.html>


More information about the llvm-bugs mailing list