[LLVMbugs] [Bug 19387] New: [ARM64] Assertion `Subtarget->isTargetDarwin() && "automatic va_arg instruction only works on Darwin"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 9 11:45:29 PDT 2014


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

            Bug ID: 19387
           Summary: [ARM64] Assertion `Subtarget->isTargetDarwin() &&
                    "automatic va_arg instruction only works on Darwin"'
                    failed.
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: mcrosier at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Test case:
--------------------------------------------------------------------
target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
target triple = "arm64-none-linux-gnu"

%struct.__va_list.1 = type { i8*, i8*, i8*, i32, i32 }

define void @vaarg(%struct.__va_list.1* byval nocapture %ap) 
{
entry:
  %0 = va_arg %struct.__va_list.1* %ap, i32*
  ret void
}
---------------------------------------------------------------------

Reproduce with llc -O3 test.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/20140409/64fc1717/attachment.html>


More information about the llvm-bugs mailing list