diff --git a/llvm/utils/opt-viewer/opt-viewer.py b/llvm/utils/opt-viewer/opt-viewer.py index da7158a3ca3d..7cacc24bc4a7 100755 --- a/llvm/utils/opt-viewer/opt-viewer.py +++ b/llvm/utils/opt-viewer/opt-viewer.py @@ -123,7 +123,7 @@ class Remark(yaml.YAMLObject): @property def key(self): - return (self.__class__, self.Pass, self.Name, self.File, self.Line, self.Column, self.Function, self.message) + return (self.__class__, self.Pass, self.Name, self.File, self.Line, self.Column, self.Function) class Analysis(Remark):