diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-10-25 17:35:00 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-10-25 17:35:00 +0000 |
commit | 04fbf573cefb97d93b5312f777f30df49b66d417 (patch) | |
tree | 0036d9491db7c25c8ae602be12fdc9a6ac2d5a7b /llvm/utils/TableGen/IntrinsicEmitter.cpp | |
parent | 8329bfc63aae15d54b694c36b4f9a16e5485ed2d (diff) | |
download | bcm5719-llvm-04fbf573cefb97d93b5312f777f30df49b66d417.tar.gz bcm5719-llvm-04fbf573cefb97d93b5312f777f30df49b66d417.zip |
Try removing an MSVC2010 workaround.
Things seem to build fine locally without this, so let's
see what the bots think.
llvm-svn: 285087
Diffstat (limited to 'llvm/utils/TableGen/IntrinsicEmitter.cpp')
-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 709cd9f3fe9..9b8369622f0 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -250,10 +250,6 @@ static void EncodeFixedValueType(MVT::SimpleValueType VT, } } -#if defined(_MSC_VER) && !defined(__clang__) -#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) { @@ -341,10 +337,6 @@ static void EncodeFixedType(Record *R, std::vector<unsigned char> &ArgCodes, EncodeFixedValueType(VT, Sig); } -#if defined(_MSC_VER) && !defined(__clang__) -#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, |