[NFC] factor update test function test builder as a class (details)
[IR, CodeGen] Use llvm::is_contained (NFC) (details)
[GCN] Remove unused function handleNewInstruction (NFC) (details)
Commit
ed1e565aaff6a2b6ad9064bcc58c50a46100a836
by mtrofin
[NFC] factor update test function test builder as a class
This allows us to have shared logic over multiple test runs, e.g. do we have unused prefixes, or which function bodies have conflicting outputs for a prefix appearing in different RUN lines.
This patch is just wrapping existing functionality, and replacing its uses. A subsequent patch would then fold the current functionality into the newly introduced class.