llvm.org GIT mirror llvm / 8647448
[opt-viewer] Teach optrecord.py about !Failure tags WarnMissedTransforms.cpp produces remarks that use !Failure tags. These weren't supported in optrecord.py, so if you encountered one in any of the tools, the tool would crash. Add them as a type of missed optimization. Differential Revision: https://reviews.llvm.org/D59895 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357110 91177308-0d34-0410-b5e6-96231b3b80d8 Jessica Paquette 4 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
263263 def color(self):
264264 return "red"
266 class Failure(Missed):
267 yaml_tag = '!Failure'
267269 def get_remarks(input_file, filter_=None):
268270 max_hotness = 0