[llvm] r279517 - [lanai] Use const instead of constexpr

Jacques Pienaar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 07:36:54 PDT 2016


Author: jpienaar
Date: Tue Aug 23 09:36:53 2016
New Revision: 279517

URL: http://llvm.org/viewvc/llvm-project?rev=279517&view=rev
Log:
[lanai] Use const instead of constexpr

The windows build bot did not like constexpr.


Modified:
    llvm/trunk/lib/Target/Lanai/LanaiAluCode.h

Modified: llvm/trunk/lib/Target/Lanai/LanaiAluCode.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiAluCode.h?rev=279517&r1=279516&r2=279517&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/LanaiAluCode.h (original)
+++ llvm/trunk/lib/Target/Lanai/LanaiAluCode.h Tue Aug 23 09:36:53 2016
@@ -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;




More information about the llvm-commits mailing list