]> granicus.if.org Git - llvm/commitdiff
[CodeGen] Update hasSideEffects comment. NFC.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Sun, 19 Mar 2017 16:12:45 +0000 (16:12 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Sun, 19 Mar 2017 16:12:45 +0000 (16:12 +0000)
We used to have 3 side effect flags, but as of r222809, we only have
hasSideEffects.  Change the comment to reflect that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298220 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/Target.td

index 3d9ca95cf9f4c0151258b38694e90deb61573227..b21689e0e1346e9bcac5b02fc626f5b73bd02e1a 100644 (file)
@@ -402,11 +402,8 @@ class Instruction {
                             // If so, make sure to override
                             // TargetInstrInfo::getInsertSubregLikeInputs.
 
-  // Side effect flags - When set, the flags have these meanings:
-  //
-  //  hasSideEffects - The instruction has side effects that are not
-  //    captured by any operands of the instruction or other flags.
-  //
+  // Does the instruction have side effects that are not captured by any
+  // operands of the instruction or other flags?
   bit hasSideEffects = ?;
 
   // Is this instruction a "real" instruction (with a distinct machine