mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Remove stale pragma hack for an unsupported MSVC version
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b2d565708c
commit
cc3bcaea20
@ -292,10 +292,6 @@ static void EncodeFixedValueType(MVT::SimpleValueType VT,
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma optimize("",off) // MSVC 2010 optimizer can't deal with this function.
|
||||
#endif
|
||||
|
||||
static void EncodeFixedType(Record *R, std::vector<unsigned char> &ArgCodes,
|
||||
std::vector<unsigned char> &Sig) {
|
||||
|
||||
@ -381,10 +377,6 @@ static void EncodeFixedType(Record *R, std::vector<unsigned char> &ArgCodes,
|
||||
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.
|
||||
static void ComputeFixedEncoding(const CodeGenIntrinsic &Int,
|
||||
|
Loading…
x
Reference in New Issue
Block a user