[LLVMbugs] [Bug 8369] New: Support mregparm flag
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 12 21:20:44 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: alp at nuanti.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list