Skip to content

Commit

Permalink
Try removing an MSVC2010 workaround.
Browse files Browse the repository at this point in the history
Things seem to build fine locally without this, so let's
see what the bots think.

llvm-svn: 285087
  • Loading branch information
nico committed Oct 25, 2016
1 parent 8329bfc commit 04fbf57
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions llvm/utils/TableGen/IntrinsicEmitter.cpp
Expand Up @@ -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) {

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 04fbf57

Please sign in to comment.