[lanai] Use const instead of constexpr
authorJacques Pienaar <jpienaar@google.com>
Tue, 23 Aug 2016 14:36:53 +0000 (14:36 +0000)
committerJacques Pienaar <jpienaar@google.com>
Tue, 23 Aug 2016 14:36:53 +0000 (14:36 +0000)
The windows build bot did not like constexpr.

llvm-svn: 279517

llvm/lib/Target/Lanai/LanaiAluCode.h

index b6ceede..d514569 100644 (file)
@@ -43,8 +43,8 @@ enum AluCode {
 
 // Bits indicating post- and pre-operators should be tested and set using Is*
 // and Make* utility functions
-constexpr int Lanai_PRE_OP = 0x40;
-constexpr int Lanai_POST_OP = 0x80;
+const int Lanai_PRE_OP = 0x40;
+const int Lanai_POST_OP = 0x80;
 
 inline static unsigned encodeLanaiAluCode(unsigned AluOp) {
   unsigned const OP_ENCODING_MASK = 0x07;