mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
I forgot the #ifdef _MSC_VER guard in my last commit.
llvm-svn: 156975
This commit is contained in:
parent
e46a849da6
commit
8d9b4be771
@ -466,7 +466,9 @@ static void EncodeFixedValueType(MVT::SimpleValueType VT,
|
||||
Sig.push_back(~0U);
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("",off) // MSVC 2010 optimizer can't deal with this function.
|
||||
#endif
|
||||
|
||||
static void EncodeFixedType(Record *R, SmallVectorImpl<unsigned> &Sig) {
|
||||
|
||||
@ -532,7 +534,10 @@ static void EncodeFixedType(Record *R, SmallVectorImpl<unsigned> &Sig) {
|
||||
assert(VT != MVT::isVoid);
|
||||
EncodeFixedValueType(VT, Sig);
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("",on)
|
||||
#endif
|
||||
|
||||
/// ComputeFixedEncoding - If we can encode the type signature for this
|
||||
/// intrinsic into 32 bits, return it. If not, return ~0U.
|
||||
|
Loading…
x
Reference in New Issue
Block a user