[x86] Correct setting of WIntType for MCU target
Differential Revision: http://reviews.llvm.org/D16626 llvm-svn: 259780
This commit is contained in:
parent
4b03451cac
commit
6e34c1dcf7
|
@ -3908,6 +3908,7 @@ public:
|
|||
LongDoubleWidth = 64;
|
||||
LongDoubleFormat = &llvm::APFloat::IEEEdouble;
|
||||
UserLabelPrefix = "";
|
||||
WIntType = UnsignedInt;
|
||||
}
|
||||
|
||||
CallingConvCheckResult checkCallingConvention(CallingConv CC) const override {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// RUN: %clang_cc1 -E -dM -triple i586-intel-elfiamcu | FileCheck %s
|
||||
|
||||
// CHECK: #define __USER_LABEL_PREFIX__ {{$}}
|
||||
// CHECK: #define __WINT_TYPE__ unsigned int
|
||||
// CHECK: #define __iamcu
|
||||
// CHECK: #define __iamcu__
|
||||
|
||||
|
|
Loading…
Reference in New Issue