Add deprecation of neverHasSideEffects to documentation comments.
authorTim Northover <Tim.Northover@arm.com>
Thu, 14 Feb 2013 16:31:06 +0000 (16:31 +0000)
committerTim Northover <Tim.Northover@arm.com>
Thu, 14 Feb 2013 16:31:06 +0000 (16:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175175 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/Target.td

index 1781e477f2c526198cb35a339443f7a9c012ef1b..876479bf8a22e118d9184657b8ce1c8bc16f0316 100644 (file)
@@ -367,8 +367,9 @@ class Instruction {
   //  hasSideEffects - The instruction has side effects that are not
   //    captured by any operands of the instruction or other flags.
   //
-  //  neverHasSideEffects - Set on an instruction with no pattern if it has no
-  //    side effects.
+  //  neverHasSideEffects (deprecated) - Set on an instruction with no pattern
+  //    if it has no side effects. This is now equivalent to setting
+  //    "hasSideEffects = 0".
   bit hasSideEffects = ?;
   bit neverHasSideEffects = 0;