]> granicus.if.org Git - llvm/commitdiff
[CodeGen] s/constexpr/LLVM_CONSTEXPR/ in MachineMemOperand.h.
authorJustin Lebar <jlebar@google.com>
Thu, 14 Jul 2016 17:16:40 +0000 (17:16 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 14 Jul 2016 17:16:40 +0000 (17:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275441 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineMemOperand.h

index b2d76734fa4f41c379fb8ddb21dd27df3bf65aef..40b0ae55b5747867c38666ff729a1b35942c5f18 100644 (file)
@@ -90,11 +90,11 @@ struct MachinePointerInfo {
 class MachineMemOperand {
 public:
   // This is the number of bits we need to represent flags.
-  static constexpr unsigned MOMaxBits = 8;
+  static LLVM_CONSTEXPR unsigned MOMaxBits = 8;
 
   // Target hints allow target passes to annotate memory operations.
-  static constexpr unsigned MOTargetStartBit = 5;
-  static constexpr unsigned MOTargetNumBits = 3;
+  static LLVM_CONSTEXPR unsigned MOTargetStartBit = 5;
+  static LLVM_CONSTEXPR unsigned MOTargetNumBits = 3;
 
   /// Flags values. These may be or'd together.
   enum Flags : uint16_t {