From cc3bcaea202e05acc3831528dff7641f333ca325 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 26 Feb 2015 21:08:27 +0000 Subject: [PATCH] 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 --- utils/TableGen/IntrinsicEmitter.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp index e533d89326c..2fb78b0334c 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -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 &ArgCodes, std::vector &Sig) { @@ -381,10 +377,6 @@ static void EncodeFixedType(Record *R, std::vector &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, -- 2.34.1