projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fd75e
)
[lanai] Use const instead of constexpr
author
Jacques Pienaar
<jpienaar@google.com>
Tue, 23 Aug 2016 14:36:53 +0000
(14:36 +0000)
committer
Jacques 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Lanai/LanaiAluCode.h
b/llvm/lib/Target/Lanai/LanaiAluCode.h
index
b6ceede
..
d514569
100644
(file)
--- 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
-const
expr
int Lanai_PRE_OP = 0x40;
-const
expr
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;