[llvm] r175175 - Add deprecation of neverHasSideEffects to documentation comments.

Tim Northover Tim.Northover at arm.com
Thu Feb 14 08:31:06 PST 2013


Author: tnorthover
Date: Thu Feb 14 10:31:06 2013
New Revision: 175175

URL: http://llvm.org/viewvc/llvm-project?rev=175175&view=rev
Log:
Add deprecation of neverHasSideEffects to documentation comments.

Modified:
    llvm/trunk/include/llvm/Target/Target.td

Modified: llvm/trunk/include/llvm/Target/Target.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/Target.td?rev=175175&r1=175174&r2=175175&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/Target.td (original)
+++ llvm/trunk/include/llvm/Target/Target.td Thu Feb 14 10:31:06 2013
@@ -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;
 





More information about the llvm-commits mailing list