[llvm-commits] [llvm-gcc-4.2] r54746 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
Dale Johannesen
dalej at apple.com
Wed Aug 13 11:42:42 PDT 2008
Author: johannes
Date: Wed Aug 13 13:42:42 2008
New Revision: 54746
URL: http://llvm.org/viewvc/llvm-project?rev=54746&view=rev
Log:
Honor -msseregparam as well as the attribute.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h?rev=54746&r1=54745&r2=54746&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h Wed Aug 13 13:42:42 2008
@@ -29,7 +29,9 @@
} else if (lookup_attribute("fastcall", type_attributes)) { \
CC = CallingConv::X86_FastCall; \
} else if (!TARGET_64BIT && \
- lookup_attribute("sseregparm", type_attributes)){\
+ (TARGET_SSEREGPARM || \
+ lookup_attribute("sseregparm", \
+ type_attributes))){ \
CC = CallingConv::X86_SSECall; \
} \
}
More information about the llvm-commits
mailing list