From e80b226a1261f98aa4f1f596e5e216ec24f91f8a Mon Sep 17 00:00:00 2001 From: Ahmed Bougacha Date: Sun, 19 Mar 2017 16:12:45 +0000 Subject: [PATCH] [CodeGen] Update hasSideEffects comment. NFC. 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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index 3d9ca95cf9f..b21689e0e13 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -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 -- 2.50.1