[PATCH] D110776: A new hidden option test-changed=exe that calls exe after each time IR changes

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 13 09:28:03 PST 2021


jamieschmeiser added a comment.

Yes, bugpoint will find a misbehaving class but that is just one example usage for this.  test-changed is more general in that any script/exe can be called each time the IR changes.  Consider the situation where a performance degradation is noticed so the code still compiles but is not as well optimized.  bugpoint (as I understand from the documation) will not detect this because the IR still compiles and the exe still runs.  Using test-changed and a script that calls llc followed by a timed execution, one could determine how much impact the various passes have on the performance of the code as it gets changed in the pipeline.  This could point out the source(s) of speed-ups and slow-downs in the pipeline and could be used as an exploration tool.


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

https://reviews.llvm.org/D110776



More information about the llvm-commits mailing list