Remove stale pragma hack for an unsupported MSVC version
authorReid Kleckner <reid@kleckner.net>
Thu, 26 Feb 2015 21:08:27 +0000 (21:08 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 26 Feb 2015 21:08:27 +0000 (21:08 +0000)
llvm-svn: 230686

llvm/utils/TableGen/IntrinsicEmitter.cpp

index e533d89..2fb78b0 100644 (file)
@@ -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,