diff options
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineMemOperand.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h index b2d76734fa4..40b0ae55b57 100644 --- a/llvm/include/llvm/CodeGen/MachineMemOperand.h +++ b/llvm/include/llvm/CodeGen/MachineMemOperand.h @@ -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 {  | 

