From 8ed1cd291d0d0ddf4100e1a90e6886845e75ab87 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Tue, 23 Aug 2016 14:36:53 +0000 Subject: [PATCH] [lanai] Use const instead of constexpr The windows build bot did not like constexpr. llvm-svn: 279517 --- llvm/lib/Target/Lanai/LanaiAluCode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/Lanai/LanaiAluCode.h b/llvm/lib/Target/Lanai/LanaiAluCode.h index b6ceede..d514569 100644 --- a/llvm/lib/Target/Lanai/LanaiAluCode.h +++ b/llvm/lib/Target/Lanai/LanaiAluCode.h @@ -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; -- 2.7.4