forked from OSchip/llvm-project
Fix build of Mips code with MSVC by using our macro instead of __attribute__((unused)) directly
llvm-svn: 221956
This commit is contained in:
parent
6403e937d6
commit
d378174d54
|
@ -180,7 +180,7 @@ public:
|
|||
|
||||
static bool CC_Mips(unsigned ValNo, MVT ValVT, MVT LocVT,
|
||||
CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
|
||||
CCState &State) __attribute__((unused));
|
||||
CCState &State) LLVM_ATTRIBUTE_UNUSED;
|
||||
|
||||
static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, MVT LocVT,
|
||||
CCValAssign::LocInfo LocInfo,
|
||||
|
|
|
@ -2356,10 +2356,9 @@ static bool CC_MipsO32_FP64(unsigned ValNo, MVT ValVT,
|
|||
return CC_MipsO32(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State, F64Regs);
|
||||
}
|
||||
|
||||
static bool CC_MipsO32(unsigned ValNo, MVT ValVT,
|
||||
MVT LocVT, CCValAssign::LocInfo LocInfo,
|
||||
ISD::ArgFlagsTy ArgFlags, CCState &State)
|
||||
__attribute__((unused));
|
||||
static bool CC_MipsO32(unsigned ValNo, MVT ValVT, MVT LocVT,
|
||||
CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
|
||||
CCState &State) LLVM_ATTRIBUTE_UNUSED;
|
||||
|
||||
#include "MipsGenCallingConv.inc"
|
||||
|
||||
|
|
Loading…
Reference in New Issue