[llvm] r275441 - [CodeGen] s/constexpr/LLVM_CONSTEXPR/ in MachineMemOperand.h.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 10:16:40 PDT 2016


Author: jlebar
Date: Thu Jul 14 12:16:40 2016
New Revision: 275441

URL: http://llvm.org/viewvc/llvm-project?rev=275441&view=rev
Log:
[CodeGen] s/constexpr/LLVM_CONSTEXPR/ in MachineMemOperand.h.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h?rev=275441&r1=275440&r2=275441&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineMemOperand.h Thu Jul 14 12:16:40 2016
@@ -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 {




More information about the llvm-commits mailing list