[PATCH] D59895: [opt-viewer] Teach optrecord.py about !Failure tags

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 11:33:49 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL357110: [opt-viewer] Teach optrecord.py about !Failure tags (authored by paquette, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D59895?vs=192487&id=192489#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59895/new/

https://reviews.llvm.org/D59895

Files:
  llvm/trunk/tools/opt-viewer/optrecord.py


Index: llvm/trunk/tools/opt-viewer/optrecord.py
===================================================================
--- llvm/trunk/tools/opt-viewer/optrecord.py
+++ llvm/trunk/tools/opt-viewer/optrecord.py
@@ -264,6 +264,8 @@
     def color(self):
         return "red"
 
+class Failure(Missed):
+    yaml_tag = '!Failure'
 
 def get_remarks(input_file, filter_=None):
     max_hotness = 0


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59895.192489.patch
Type: text/x-patch
Size: 390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190327/52d94475/attachment.bin>


More information about the llvm-commits mailing list