http://llvm.org/bugs/show_bug.cgi?id=8369
Summary: Support mregparm flag
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 4068
-mregparm: Control the number registers used to pass integer arguments.
This flag is often used to override the ABI-specified regparm value throughout
a compilation unit. clang already supports target-specific values for this
provided by TargetInfo, and also by use of attributes, but the frontend doesn't
support this as a user-specified compiler flag yet.
Ignoring this is often harmless (used only for optimization) but certain code
such as that in the Linux kernel boot module using .code16gcc inline ASM relies
on mregparm working correctly.
This probably needs to be handled at a higher level than IRgen as Sema performs
checking and comparison of function regparm attributes.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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