diff options
author | Francois Pichet <pichet2000@gmail.com> | 2012-05-17 04:00:03 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2012-05-17 04:00:03 +0000 |
commit | e4807c1ba1233c717efa63c7ed405aeec8e792ac (patch) | |
tree | dcd580952e056761d44f522096206a5620da51f7 /utils | |
parent | 3aca8799067c694cdd90b7fd2151ba4097886936 (diff) | |
download | external_llvm-e4807c1ba1233c717efa63c7ed405aeec8e792ac.zip external_llvm-e4807c1ba1233c717efa63c7ed405aeec8e792ac.tar.gz external_llvm-e4807c1ba1233c717efa63c7ed405aeec8e792ac.tar.bz2 |
I forgot the #ifdef _MSC_VER guard in my last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/IntrinsicEmitter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp index 0642f59..9630c92 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -466,7 +466,9 @@ static void EncodeFixedValueType(MVT::SimpleValueType VT, Sig.push_back(~0U); } +#ifdef _MSC_VER #pragma optimize("",off) // MSVC 2010 optimizer can't deal with this function. +#endif static void EncodeFixedType(Record *R, SmallVectorImpl<unsigned> &Sig) { @@ -532,7 +534,10 @@ static void EncodeFixedType(Record *R, SmallVectorImpl<unsigned> &Sig) { assert(VT != MVT::isVoid); 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. |