http://llvm.org/bugs/show_bug.cgi?id=20018
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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs