diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-02-26 21:08:27 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-02-26 21:08:27 +0000 |
commit | 94ce865c81a5be8fc518dfdf135f280fbdf9313e (patch) | |
tree | 5e8cf954457382d215b3c8796fccdfd32e380882 | |
parent | 542a45435f43fd92091742d8089be7f9e070bcd8 (diff) | |
download | llvm-94ce865c81a5be8fc518dfdf135f280fbdf9313e.zip llvm-94ce865c81a5be8fc518dfdf135f280fbdf9313e.tar.gz llvm-94ce865c81a5be8fc518dfdf135f280fbdf9313e.tar.bz2 |
Remove stale pragma hack for an unsupported MSVC version
llvm-svn: 230686
-rw-r--r-- | llvm/utils/TableGen/IntrinsicEmitter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index e533d89..2fb78b0 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/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<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, |