[llvm] r230686 - Remove stale pragma hack for an unsupported MSVC version
Reid Kleckner
reid at kleckner.net
Thu Feb 26 13:08:27 PST 2015
Author: rnk
Date: Thu Feb 26 15:08:27 2015
New Revision: 230686
URL: http://llvm.org/viewvc/llvm-project?rev=230686&view=rev
Log:
Remove stale pragma hack for an unsupported MSVC version
Modified:
llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
Modified: llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp?rev=230686&r1=230685&r2=230686&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/IntrinsicEmitter.cpp Thu Feb 26 15:08:27 2015
@@ -292,10 +292,6 @@ static void EncodeFixedValueType(MVT::Si
}
}
-#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, s
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,
More information about the llvm-commits
mailing list