[llvm] r264840 - [CodeGen] Mark EVT:getExtendedSizeInBits() as LLVM_READONLY.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 22:26:43 PDT 2016


Author: ctopper
Date: Wed Mar 30 00:26:43 2016
New Revision: 264840

URL: http://llvm.org/viewvc/llvm-project?rev=264840&view=rev
Log:
[CodeGen] Mark EVT:getExtendedSizeInBits() as LLVM_READONLY.

I think I had tried this a long time back and some bots failed. Hoping that was with an older gcc and maybe now it will work.

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

Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ValueTypes.h?rev=264840&r1=264839&r2=264840&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ValueTypes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ValueTypes.h Wed Mar 30 00:26:43 2016
@@ -384,7 +384,7 @@ namespace llvm {
     bool isExtended2048BitVector() const LLVM_READONLY;
     EVT getExtendedVectorElementType() const;
     unsigned getExtendedVectorNumElements() const LLVM_READONLY;
-    unsigned getExtendedSizeInBits() const;
+    unsigned getExtendedSizeInBits() const LLVM_READONLY;
   };
 
 } // End llvm namespace




More information about the llvm-commits mailing list