[LLVMbugs] [Bug 20018] New: x86-64 VAArg fails for Mixed GP-FP Structures

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 12 15:53:44 PDT 2014


            Bug ID: 20018
           Summary: x86-64 VAArg fails for Mixed GP-FP Structures
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tjablin at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

When reading a struct with mixed GP-FP type as a variadic argument, if the
struct starts with two floats, then LLVM will try to read the floats from
gp_offset rather than fp_offset. The underlying problem is that
CodeGen/TargetInfo.cpp on line 2593 is checking if the structures types are
floats when it should be checking if they are floats or float vectors. I have
attached a simple test case.

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/20140612/4504ce4c/attachment.html>

More information about the llvm-bugs mailing list