diff options
-rw-r--r-- | include/llvm/Target/TargetOptions.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index 31c4c75e60..fc68c9ef2c 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -204,7 +204,10 @@ namespace llvm { /// the value of this option. FPOpFusion::FPOpFusionMode AllowFPOpFusion; - bool operator==(const TargetOptions &); + bool operator==(const TargetOptions &TM); + bool operator!=(const TargetOptions &TM) { + return !(*this == TM); + } }; } // End llvm namespace |