[LLVMbugs] [Bug 17674] New: [AArch64] MachineInstr verifier fails due to nested ADJCALLSTACK

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 24 01:38:21 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17674

            Bug ID: 17674
           Summary: [AArch64] MachineInstr verifier fails due to nested
                    ADJCALLSTACK
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: amara.emerson at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11419
  --> http://llvm.org/bugs/attachment.cgi?id=11419&action=edit
Test case

When attempting to codegen the attached test case using llc -march=aarch64
-verify-machineinstrs we get a verifier fault ending with:

*** Bad machine code: FrameSetup is after another FrameSetup ***
- function:    ch63
- basic block: BB#0 entry (0x1c98900)
- instruction: ADJCALLSTACKDOWN 0, %XSP<imp-def,dead>, %XSP<imp-use>

*** Bad machine code: FrameDestroy is not after a FrameSetup ***
- function:    ch63
- basic block: BB#0 entry (0x1c98900)
- instruction: ADJCALLSTACKUP 0, 0, %XSP<imp-def,dead>, %XSP<imp-use>
LLVM ERROR: Found 2 machine code errors.

Filing as a bug since the AArch64 backend should emit verifier-friendly code.

-- 
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/20131024/fc6ec904/attachment.html>


More information about the llvm-bugs mailing list