Displaying 1 result from an estimated 1 matches for "tech12".
Did you mean:
tech19
2020 Jun 24
7
[RFC] Compiled regression tests.
...which on failure prints the instruction that does not return a vector.
Try that with FileCheck. PattenMatch.h from InstCombine can be used as
well. Structural comparison with a reference output could also be
possible (like clang-diff,
[llvm-canon](http://llvm.org/devmtg/2019-10/talk-abstracts.html#tech12),
https://reviews.llvm.org/D80916).
Some additional tooling could be helpful:
* A test file creator, taking some IR, wrapping it into the above
structure, and write it into the test directory.
* A tool for extracting and updating (running opt) the IR inside the
#ifdef, if not even add this func...